diff options
author | Bobby Georgescu <georgescu@google.com> | 2013-02-01 12:57:14 -0800 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2013-02-12 17:35:44 -0800 |
commit | c8a9e86919dca8938948f97efc3dcbe143e806bf (patch) | |
tree | 22948e0880946d97a79d2df2c5a9341913a4f2fc /res/layout/ingest_fullsize.xml | |
parent | 856acb652fad51d650723a890cac08c536363fcd (diff) | |
download | android_packages_apps_Gallery2-c8a9e86919dca8938948f97efc3dcbe143e806bf.tar.gz android_packages_apps_Gallery2-c8a9e86919dca8938948f97efc3dcbe143e806bf.tar.bz2 android_packages_apps_Gallery2-c8a9e86919dca8938948f97efc3dcbe143e806bf.zip |
Importer: Full-screen viewing, UI refinement, refactoring
Bug: 7990333
Bug: 8151814
Bug: 8037411
This CL adds or changes the following things:
- Full-screen image viewing and UI for switching modes
- Moved general functionality from MtpThumbnailTileView
to MtpImageView to allow for reuse in full-screen image
use-case
- MtpBitmapCache moved from ui to data package
- Orientation now respected when set in image metadata
- Miscellaneous UI consistency issues fixed
- Miscellaneous instability issues fixed
Change-Id: I5f188b763617b693e32fedc03273d711d604922a
Diffstat (limited to 'res/layout/ingest_fullsize.xml')
-rw-r--r-- | res/layout/ingest_fullsize.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/res/layout/ingest_fullsize.xml b/res/layout/ingest_fullsize.xml new file mode 100644 index 000000000..4100ca13d --- /dev/null +++ b/res/layout/ingest_fullsize.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<com.android.gallery3d.ingest.ui.MtpFullscreenView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <com.android.gallery3d.ingest.ui.MtpImageView + android:id="@+id/ingest_fullsize_image" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_centerHorizontal="true" + android:layout_centerVertical="true" + android:scaleType="centerInside" /> + + <CheckBox + android:id="@+id/ingest_fullsize_image_checkbox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" + android:text="@string/Import" /> + +</com.android.gallery3d.ingest.ui.MtpFullscreenView>
\ No newline at end of file |