summaryrefslogtreecommitdiffstats
path: root/res/layout
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
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')
-rw-r--r--res/layout/share_popup.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/share_popup.xml b/res/layout/share_popup.xml
index 087d8c7..f8cb5e5 100644
--- a/res/layout/share_popup.xml
+++ b/res/layout/share_popup.xml
@@ -25,12 +25,13 @@
<FrameLayout android:id="@+id/root"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="top|center">
+ android:layout_gravity="top|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_gravity="bottom">
+ android:layout_gravity="center">
<!-- The size of the thumbnail is calculated in SharePopup.java -->
<FrameLayout
android:layout_width="wrap_content"