summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMark Wagner <mxw@google.com>2011-10-07 15:21:00 -0700
committerMark Wagner <mxw@google.com>2011-10-10 10:16:58 -0700
commita44cfbaf741b5410465cbfe6a4907eb38e0db001 (patch)
tree7b32ec1c134a12765cc6b10f0a78901b0324d6e5 /res/layout
parentc9b561c39318deb9c80f15f6f1169e7d92bdeb19 (diff)
downloadLegacyCamera-a44cfbaf741b5410465cbfe6a4907eb38e0db001.zip
LegacyCamera-a44cfbaf741b5410465cbfe6a4907eb38e0db001.tar.gz
LegacyCamera-a44cfbaf741b5410465cbfe6a4907eb38e0db001.tar.bz2
bugfix 5290450 Share UI should match redlines
Add the "go to gallery" button at the top of the list of share choices. Made it a separate button rather than part of the list since it gets it's own separator. Change-Id: I62f866f7aedd3e84916eccf037f3fa37a8528196
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/share_popup.xml25
1 files changed, 23 insertions, 2 deletions
diff --git a/res/layout/share_popup.xml b/res/layout/share_popup.xml
index 416f46e..c9beb3a 100644
--- a/res/layout/share_popup.xml
+++ b/res/layout/share_popup.xml
@@ -46,17 +46,38 @@
<ImageView android:id="@+id/play"
style="@style/ReviewPlayIcon"/>
</RelativeLayout>
- <FrameLayout
+ <LinearLayout
android:layout_width="@dimen/share_item_width"
android:layout_height="match_parent"
+ android:orientation="vertical"
android:layout_gravity="right"
android:background="@color/share_icon_background">
+ <com.android.camera.ui.RotateLayout
+ android:layout_marginTop="8dip"
+ android:id="@+id/goto_gallery_button_rotate"
+ android:layout_gravity="center"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+ <ImageButton
+ android:id="@+id/goto_gallery_button"
+ android:background="?android:attr/selectableItemBackground"
+ android:layout_gravity="center"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_gallery" />
+ </com.android.camera.ui.RotateLayout>
+ <View
+ android:layout_width="match_parent"
+ android:layout_margin="8dip"
+ android:layout_height="1dp"
+ android:background="#5affffff" />
+
<ListView android:id="@+id/share_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:choiceMode="singleChoice"
style="@android:style/Widget.Holo.ListView" />
- </FrameLayout>
+ </LinearLayout>
</FrameLayout>
</FrameLayout>