diff options
author | Ray Chen <raychen@google.com> | 2011-08-19 11:00:00 +0800 |
---|---|---|
committer | Ray Chen <raychen@google.com> | 2011-08-19 11:00:00 +0800 |
commit | bc4be6e707ee101dfbdc0c11f20baedc896f2905 (patch) | |
tree | 821c8c5fe62fab99384d1e32c70a2003c31c252f /res/menu | |
parent | a85c80227a56f3b7f917464096cd33877093616f (diff) | |
download | android_packages_apps_Snap-bc4be6e707ee101dfbdc0c11f20baedc896f2905.tar.gz android_packages_apps_Snap-bc4be6e707ee101dfbdc0c11f20baedc896f2905.tar.bz2 android_packages_apps_Snap-bc4be6e707ee101dfbdc0c11f20baedc896f2905.zip |
Fix 5158515 [UI] Slideshow action in portrait Photo/Video and Video playback views should be in the overflow/menu
Change-Id: If3171b9db1ad2f9f238f1fd5625ac9a1ed7d5ef0
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/photo.xml | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/res/menu/photo.xml b/res/menu/photo.xml index d01ba2859..b5103579e 100644 --- a/res/menu/photo.xml +++ b/res/menu/photo.xml @@ -14,19 +14,21 @@ limitations under the License. --> <menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@+id/action_import" + android:title="@string/Import" + android:icon="@drawable/ic_menu_ptp_holo_light" + android:showAsAction="always|withText" + android:visible="false" /> <item android:id="@+id/action_share" android:icon="@drawable/ic_menu_share_holo_light" android:title="@string/share" android:enabled="true" android:actionProviderClass="android.widget.ShareActionProvider" - android:showAsAction="always"> - <!-- We need this to create a dynamic list of submenu --> - <menu /> - </item> + android:showAsAction="ifRoom" /> <item android:id="@+id/action_delete" android:icon="@drawable/ic_menu_trash_holo_light" android:title="@string/delete" - android:showAsAction="always"> + android:showAsAction="ifRoom"> <menu> <item android:id="@+id/action_confirm_delete" android:icon="@drawable/ic_menu_trash_holo_light" @@ -39,12 +41,7 @@ <item android:id="@+id/action_slideshow" android:icon="@drawable/ic_menu_slideshow_holo_light" android:title="@string/slideshow" - android:showAsAction="always" /> - <item android:id="@+id/action_import" - android:title="@string/Import" - android:icon="@drawable/ic_menu_ptp_holo_light" - android:showAsAction="always|withText" - android:visible="false" /> + android:showAsAction="never" /> <item android:id="@+id/action_details" android:title="@string/details" android:showAsAction="never" /> |