From 9594c8d3e0dd0d6157710ceae1d1deea8e566db4 Mon Sep 17 00:00:00 2001 From: nicolasroard Date: Thu, 27 Sep 2012 20:54:48 -0700 Subject: Use an actionbar - move the "show original" button to the bottom left - move the history button to the overflow menu for now - add a reset item in the overflow menu. bug:7234317 bug:7233975 bug:7233986 Change-Id: Icc1d03d1e1ce18f38b1169b466be62645424bc7e --- AndroidManifest.xml | 2 +- res/layout/filtershow_activity.xml | 86 ++++----- res/menu/filtershow_activity_menu.xml | 34 +++- res/values/filtershow_strings.xml | 6 +- .../gallery3d/filtershow/FilterShowActivity.java | 194 +++++++++++---------- .../gallery3d/filtershow/imageshow/ImageShow.java | 2 +- .../filtershow/imageshow/ImageSmallFilter.java | 4 + .../filtershow/imageshow/ImageVignette.java | 5 - 8 files changed, 169 insertions(+), 164 deletions(-) delete mode 100644 src/com/android/gallery3d/filtershow/imageshow/ImageVignette.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9c857b6a3..3a3ac92de 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -228,7 +228,7 @@ + android:theme="@android:style/Theme.Holo" > diff --git a/res/layout/filtershow_activity.xml b/res/layout/filtershow_activity.xml index 1521585ad..42aba0cb9 100644 --- a/res/layout/filtershow_activity.xml +++ b/res/layout/filtershow_activity.xml @@ -67,65 +67,43 @@ android:layerType="hardware" android:orientation="vertical" > - + -