summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2012-04-19 17:14:40 +0800
committerRay Chen <raychen@google.com>2012-04-19 17:20:56 +0800
commitc40e77630144b4deed13fe4996c8f3987baf7c8a (patch)
tree779adab0c28eda01d2f152144698912ad2392ef4 /res/layout
parentf2c18aada3ca6a588694f4882ecf5479eed70930 (diff)
downloadandroid_packages_apps_Snap-c40e77630144b4deed13fe4996c8f3987baf7c8a.tar.gz
android_packages_apps_Snap-c40e77630144b4deed13fe4996c8f3987baf7c8a.tar.bz2
android_packages_apps_Snap-c40e77630144b4deed13fe4996c8f3987baf7c8a.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.xml24
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"