summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp/share_popup.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout-sw600dp/share_popup.xml')
-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"