diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-10-01 17:49:30 -0700 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2012-10-01 18:15:52 -0700 |
commit | ee899c09c88e5b054397ac44ad20e5055cd24f39 (patch) | |
tree | 0ac846de9ca43a3b61416a7231028dbf416800fc /res/layout/action_bar_text.xml | |
parent | 3cf502a91b36bf6ce633f897505b0a2c3fc53ad5 (diff) | |
download | android_packages_apps_Gallery2-ee899c09c88e5b054397ac44ad20e5055cd24f39.tar.gz android_packages_apps_Gallery2-ee899c09c88e5b054397ac44ad20e5055cd24f39.tar.bz2 android_packages_apps_Gallery2-ee899c09c88e5b054397ac44ad20e5055cd24f39.zip |
Improve display of ActionBar album mode switcher
Bug: 7265942
Bug: 7266862
- Ellipsize the title of the album when appropriate
- Show correctly title when swiping from camera to gallery
- Hide the delete icon in the overflow menu to match the
latest UX mocks, making more room for title
Change-Id: Ief77f65c972e75086c5dbf4229c9462cbcc17940
Diffstat (limited to 'res/layout/action_bar_text.xml')
-rw-r--r-- | res/layout/action_bar_text.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/action_bar_text.xml b/res/layout/action_bar_text.xml index bded20102..bff5f1f96 100644 --- a/res/layout/action_bar_text.xml +++ b/res/layout/action_bar_text.xml @@ -23,5 +23,6 @@ android:gravity="center_vertical" android:paddingLeft="18dp" android:paddingRight="18dp" + android:singleLine="true" android:minHeight="?attr/listPreferredItemHeightSmall" /> |