summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-11-07 18:07:49 +0800
committerAngus Kong <shkong@google.com>2011-11-11 16:10:14 +0800
commitabd82edfae4ab1a39fe7000dd22b7cab26e9fdaf (patch)
tree74ad2cf4d5ebcf45f8c1e0389ed9945d5d441985 /res/layout-sw600dp
parent98e6bf1e8609b29dcded1cd54b49d08583836555 (diff)
downloadLegacyCamera-abd82edfae4ab1a39fe7000dd22b7cab26e9fdaf.zip
LegacyCamera-abd82edfae4ab1a39fe7000dd22b7cab26e9fdaf.tar.gz
LegacyCamera-abd82edfae4ab1a39fe7000dd22b7cab26e9fdaf.tar.bz2
Adjust share UI to full-width.
bug:5521011 Change-Id: I66aab65763224cbb66aa721d49d3e4ea916d8a58
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/share_popup.xml47
1 files changed, 26 insertions, 21 deletions
diff --git a/res/layout-sw600dp/share_popup.xml b/res/layout-sw600dp/share_popup.xml
index 900d646..96b39e1 100644
--- a/res/layout-sw600dp/share_popup.xml
+++ b/res/layout-sw600dp/share_popup.xml
@@ -26,34 +26,39 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left|center">
- <RelativeLayout android:id="@+id/share_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/border_last_picture">
- <com.android.camera.ui.RotateLayout
- android:id="@+id/thumbnail_rotate_layout"
+ <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">
+ <!-- The size of the thumbnail is calculated in SharePopup.java -->
+ <FrameLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true">
- <!-- The size of the thumbnail is calculated in SharePopup.java -->
- <FrameLayout
+ android:layout_height="wrap_content" >
+ <com.android.camera.ui.StackLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content" >
+ android:layout_height="wrap_content">
<ImageView android:id="@+id/thumbnail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitCenter"/>
- <ImageView android:id="@+id/play"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:scaleType="center"
- style="@style/ReviewPlayIcon"/>
- </FrameLayout>
- </com.android.camera.ui.RotateLayout>
- </RelativeLayout>
+ <View
+ android:id="@+id/thumbnail_image_frame"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="0dp"
+ android:background="@drawable/border_last_picture"
+ android:clickable="true"/>
+ </com.android.camera.ui.StackLayout>
+ <ImageView android:id="@+id/play"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:scaleType="center"
+ style="@style/ReviewPlayIcon"/>
+ </FrameLayout>
+ </com.android.camera.ui.RotateLayout>
<LinearLayout
android:layout_width="@dimen/share_item_width"
android:layout_height="match_parent"