From 8f93c89aaa7e99a9e924e054650ca2c3570bf490 Mon Sep 17 00:00:00 2001 From: Bobby Georgescu Date: Fri, 1 Feb 2013 12:57:14 -0800 Subject: 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 --- res/layout/ingest_activity_item_list.xml | 19 ++++++++++----- res/layout/ingest_fullsize.xml | 36 ++++++++++++++++++++++++++++ res/menu/ingest_menu_item_list_selection.xml | 2 ++ res/values/strings.xml | 3 +++ 4 files changed, 54 insertions(+), 6 deletions(-) create mode 100644 res/layout/ingest_fullsize.xml diff --git a/res/layout/ingest_activity_item_list.xml b/res/layout/ingest_activity_item_list.xml index 23a95f658..f0e91e8e2 100644 --- a/res/layout/ingest_activity_item_list.xml +++ b/res/layout/ingest_activity_item_list.xml @@ -14,35 +14,42 @@ limitations under the License. --> - + + + android:visibility="invisible" > + + + + + + + + \ No newline at end of file diff --git a/res/menu/ingest_menu_item_list_selection.xml b/res/menu/ingest_menu_item_list_selection.xml index aaf3262ed..2f020b671 100644 --- a/res/menu/ingest_menu_item_list_selection.xml +++ b/res/menu/ingest_menu_item_list_selection.xml @@ -14,6 +14,8 @@ limitations under the License. --> + diff --git a/res/values/strings.xml b/res/values/strings.xml index d6b981528..fae3466cc 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -503,6 +503,9 @@ Grid view + + Fullscreen view + Trimming -- cgit v1.2.3