diff options
author | Ray Chen <raychen@google.com> | 2012-04-19 17:14:40 +0800 |
---|---|---|
committer | Ray Chen <raychen@google.com> | 2012-04-19 17:20:56 +0800 |
commit | add4514f5d39bc6c2156ebbf96e693669a9141a7 (patch) | |
tree | b12c53ad46ff6c546f79ddffaecba613dfbc453f /res/layout | |
parent | e7d1767e30d01270bf67714b1902a316960952c0 (diff) | |
download | android_packages_apps_Gallery2-add4514f5d39bc6c2156ebbf96e693669a9141a7.tar.gz android_packages_apps_Gallery2-add4514f5d39bc6c2156ebbf96e693669a9141a7.tar.bz2 android_packages_apps_Gallery2-add4514f5d39bc6c2156ebbf96e693669a9141a7.zip |
Fix 6046987 The header on the contextual action bar when multiple photos are selected is very janky
b:6046987
Change-Id: I86c79cf4d8995bfa0faab95ecd61e89879847630
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/action_mode.xml | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/res/layout/action_mode.xml b/res/layout/action_mode.xml index d012b7248..d4b3c23d3 100644 --- a/res/layout/action_mode.xml +++ b/res/layout/action_mode.xml @@ -20,14 +20,24 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> - <Button android:id="@+id/selection_menu" - android:divider="?android:attr/listDividerAlertDialog" - style="?android:attr/borderlessButtonStyle" - android:singleLine="true" - android:gravity="left|center_vertical" + + <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" - android:layout_height="match_parent" /> - <ImageView android:layout_marginLeft="8dip" + android:layout_height="match_parent"> + <ImageView android:layout_gravity="right" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:src="@drawable/dropdown_ic_arrow_normal_holo_dark" /> + <Button android:id="@+id/selection_menu" + android:divider="?android:attr/listDividerAlertDialog" + style="?android:attr/borderlessButtonStyle" + android:singleLine="true" + android:gravity="left|center_vertical" + android:paddingRight="25dip" + android:layout_width="wrap_content" + android:layout_height="match_parent" /> + </FrameLayout> + <ImageView android:layout_marginLeft="16dip" android:layout_marginRight="8dip" android:layout_width="wrap_content" android:layout_height="match_parent" |