summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp/share_popup.xml
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2012-02-18 06:04:50 +0800
committerAngus Kong <shkong@google.com>2012-02-18 07:48:05 +0800
commitefa3f22e42b31bfcf916610e01efe0bdc4940080 (patch)
tree88ba8aba26c6bdfc02ce7945f5cb8aba97e32d28 /res/layout-sw600dp/share_popup.xml
parentcb9bcc4c6444cb32509caa3c80461d247e7060ae (diff)
downloadLegacyCamera-efa3f22e42b31bfcf916610e01efe0bdc4940080.zip
LegacyCamera-efa3f22e42b31bfcf916610e01efe0bdc4940080.tar.gz
LegacyCamera-efa3f22e42b31bfcf916610e01efe0bdc4940080.tar.bz2
Fix the share popup. DO NOT MERGE
Fix the share popup to comply with the new design: 1. Black background. 2. Image is centered. 3. Share popup won't rotate automatically. bug:6031042 Change-Id: I86b15a19bc8f7598d444cd9032960ea02e251668
Diffstat (limited to 'res/layout-sw600dp/share_popup.xml')
-rw-r--r--res/layout-sw600dp/share_popup.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/res/layout-sw600dp/share_popup.xml b/res/layout-sw600dp/share_popup.xml
index 96b39e1..e12f521 100644
--- a/res/layout-sw600dp/share_popup.xml
+++ b/res/layout-sw600dp/share_popup.xml
@@ -25,12 +25,14 @@
<FrameLayout android:id="@+id/root"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="left|center">
+ android:layout_gravity="left|center"
+ android:background="@color/share_popup_blackout">
<com.android.camera.ui.RotateLayout
android:id="@+id/thumbnail_rotate_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentRight="true">
+ android:layout_alignParentRight="true"
+ android:layout_gravity="center">
<!-- The size of the thumbnail is calculated in SharePopup.java -->
<FrameLayout
android:layout_width="wrap_content"