diff options
| author | nicolasroard <nicolasroard@google.com> | 2012-09-27 20:54:48 -0700 |
|---|---|---|
| committer | nicolasroard <nicolasroard@google.com> | 2012-09-27 21:41:36 -0700 |
| commit | 9594c8d3e0dd0d6157710ceae1d1deea8e566db4 (patch) | |
| tree | 32a18b0237f91fc3024d1d375d6824db9323df3c /res/menu | |
| parent | 863b4e65d172a19111f46e43f97e7e41927a3bc7 (diff) | |
| download | android_packages_apps_Gallery2-9594c8d3e0dd0d6157710ceae1d1deea8e566db4.tar.gz android_packages_apps_Gallery2-9594c8d3e0dd0d6157710ceae1d1deea8e566db4.tar.bz2 android_packages_apps_Gallery2-9594c8d3e0dd0d6157710ceae1d1deea8e566db4.zip | |
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
Diffstat (limited to 'res/menu')
| -rw-r--r-- | res/menu/filtershow_activity_menu.xml | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/res/menu/filtershow_activity_menu.xml b/res/menu/filtershow_activity_menu.xml index 44a11e7db..ba0a8bcf4 100644 --- a/res/menu/filtershow_activity_menu.xml +++ b/res/menu/filtershow_activity_menu.xml @@ -1,5 +1,29 @@ -<menu xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:id="@+id/menu_settings" - android:title="@string/menu_settings" - android:orderInCategory="100" /> -</menu> +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + <item + android:id="@+id/menu_share" + android:actionProviderClass="android.widget.ShareActionProvider" + android:showAsAction="ifRoom" + android:enabled="false" + android:title="@string/share"/> + <item + android:id="@+id/undoButton" + android:icon="@drawable/filtershow_button_undo" + android:showAsAction="ifRoom" + android:title="@string/filtershow_undo"/> + <item + android:id="@+id/redoButton" + android:icon="@drawable/filtershow_button_redo" + android:showAsAction="ifRoom" + android:title="@string/filtershow_redo"/> + <item + android:id="@+id/operationsButton" + android:icon="@drawable/filtershow_button_operations" + android:showAsAction="ifRoom" + android:title="@string/show_history_panel"/> + <item + android:id="@+id/menu_settings" + android:enabled="false" + android:orderInCategory="100" + android:title="@string/menu_settings"/> + +</menu>
\ No newline at end of file |
