summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-09-14 14:31:20 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-14 14:31:20 -0700
commitc24192e3b9a3d4f6e5e77e408fd4d91333b1275e (patch)
tree5c9acc99f3d95997ba04439b3616e15f322fed43 /res
parentc718193efe9b13f1e00f6bd8e3c145e9c28d9309 (diff)
parentd62087915cf9e4a686db03291b7ef9d99758ebba (diff)
downloadpackages_apps_LegacyCamera-c24192e3b9a3d4f6e5e77e408fd4d91333b1275e.zip
packages_apps_LegacyCamera-c24192e3b9a3d4f6e5e77e408fd4d91333b1275e.tar.gz
packages_apps_LegacyCamera-c24192e3b9a3d4f6e5e77e408fd4d91333b1275e.tar.bz2
Merge "Add back arrow icon in the share popup."
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_switch_arrow.pngbin0 -> 1031 bytes
-rw-r--r--res/drawable-mdpi/ic_switch_arrow.pngbin0 -> 802 bytes
-rw-r--r--res/drawable-xhdpi/ic_switch_arrow.pngbin0 -> 1176 bytes
-rw-r--r--res/layout/share_popup.xml13
-rw-r--r--res/values/colors.xml2
5 files changed, 11 insertions, 4 deletions
diff --git a/res/drawable-hdpi/ic_switch_arrow.png b/res/drawable-hdpi/ic_switch_arrow.png
new file mode 100644
index 0000000..3461523
--- /dev/null
+++ b/res/drawable-hdpi/ic_switch_arrow.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_switch_arrow.png b/res/drawable-mdpi/ic_switch_arrow.png
new file mode 100644
index 0000000..b00bbc2
--- /dev/null
+++ b/res/drawable-mdpi/ic_switch_arrow.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_switch_arrow.png b/res/drawable-xhdpi/ic_switch_arrow.png
new file mode 100644
index 0000000..e9b46c4
--- /dev/null
+++ b/res/drawable-xhdpi/ic_switch_arrow.png
Binary files differ
diff --git a/res/layout/share_popup.xml b/res/layout/share_popup.xml
index 5bcce78..b4890da 100644
--- a/res/layout/share_popup.xml
+++ b/res/layout/share_popup.xml
@@ -27,7 +27,7 @@
android:layout_height="wrap_content"
android:padding="8dp"
android:layout_gravity="left|center">
- <FrameLayout android:id="@+id/share_view"
+ <RelativeLayout android:id="@+id/share_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -36,7 +36,8 @@
android:id="@+id/thumbnail_rotate_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="center">
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true">
<!-- The size of the thumbnail is calculated in SharePopup.java -->
<ImageView android:id="@+id/thumbnail"
android:layout_width="wrap_content"
@@ -44,7 +45,13 @@
android:adjustViewBounds="true"
android:scaleType="fitCenter"/>
</com.android.camera.ui.RotateLayout>
- </FrameLayout>
+ <ImageView android:id="@+id/arrow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:src="@drawable/ic_switch_arrow"/>
+ </RelativeLayout>
<FrameLayout
android:layout_width="@dimen/share_item_width"
android:layout_height="match_parent"
diff --git a/res/values/colors.xml b/res/values/colors.xml
index bccc96b..fb18610 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -25,7 +25,7 @@
<color name="icon_disabled_color">#DD777777</color>
<color name="time_lapse_arc">#FFC5C5C5</color>
<color name="dark_gray">#151515</color>
- <color name="share_popup_background">#B0000000</color>
+ <color name="share_popup_background">#C0000000</color>
<color name="share_icon_background">#40000000</color>
<color name="indicator_background">#40000000</color>
<color name="pano_custom_dialog_background">#FF666666</color>