OSDN Git Service

Fix 6046987 The header on the contextual action bar when multiple photos are selected...
authorRay Chen <raychen@google.com>
Thu, 19 Apr 2012 09:14:40 +0000 (17:14 +0800)
committerRay Chen <raychen@google.com>
Thu, 19 Apr 2012 09:20:56 +0000 (17:20 +0800)
b:6046987

Change-Id: I86c79cf4d8995bfa0faab95ecd61e89879847630

res/drawable-hdpi/dropdown_ic_arrow_normal_holo_dark.png [new file with mode: 0644]
res/drawable-hdpi/dropdown_normal_holo_dark.9.png [deleted file]
res/drawable-mdpi/dropdown_ic_arrow_normal_holo_dark.png [new file with mode: 0644]
res/drawable-mdpi/dropdown_normal_holo_dark.9.png [deleted file]
res/drawable-xhdpi/dropdown_ic_arrow_normal_holo_dark.png [new file with mode: 0644]
res/layout/action_mode.xml

diff --git a/res/drawable-hdpi/dropdown_ic_arrow_normal_holo_dark.png b/res/drawable-hdpi/dropdown_ic_arrow_normal_holo_dark.png
new file mode 100644 (file)
index 0000000..06e5b47
Binary files /dev/null and b/res/drawable-hdpi/dropdown_ic_arrow_normal_holo_dark.png differ
diff --git a/res/drawable-hdpi/dropdown_normal_holo_dark.9.png b/res/drawable-hdpi/dropdown_normal_holo_dark.9.png
deleted file mode 100644 (file)
index 5525025..0000000
Binary files a/res/drawable-hdpi/dropdown_normal_holo_dark.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/dropdown_ic_arrow_normal_holo_dark.png b/res/drawable-mdpi/dropdown_ic_arrow_normal_holo_dark.png
new file mode 100644 (file)
index 0000000..81de1bb
Binary files /dev/null and b/res/drawable-mdpi/dropdown_ic_arrow_normal_holo_dark.png differ
diff --git a/res/drawable-mdpi/dropdown_normal_holo_dark.9.png b/res/drawable-mdpi/dropdown_normal_holo_dark.9.png
deleted file mode 100644 (file)
index 5525025..0000000
Binary files a/res/drawable-mdpi/dropdown_normal_holo_dark.9.png and /dev/null differ
diff --git a/res/drawable-xhdpi/dropdown_ic_arrow_normal_holo_dark.png b/res/drawable-xhdpi/dropdown_ic_arrow_normal_holo_dark.png
new file mode 100644 (file)
index 0000000..36d8cf4
Binary files /dev/null and b/res/drawable-xhdpi/dropdown_ic_arrow_normal_holo_dark.png differ
index d012b72..d4b3c23 100644 (file)
         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"