diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-06-28 17:48:09 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-06-28 18:07:32 +0800 |
commit | 3f63a2d895c50ae1c3a7a47ee6ead070b5bbd7fc (patch) | |
tree | cd27397ce205d967bf07a1a0b61718331766d161 /res | |
parent | 4a045a8e858706f56a6ffb5187960768f861f007 (diff) | |
download | LegacyCamera-3f63a2d895c50ae1c3a7a47ee6ead070b5bbd7fc.zip LegacyCamera-3f63a2d895c50ae1c3a7a47ee6ead070b5bbd7fc.tar.gz LegacyCamera-3f63a2d895c50ae1c3a7a47ee6ead070b5bbd7fc.tar.bz2 |
Move share button beside thumbnail in phone UI.
bug:4725968
Change-Id: Iedd0b631b48bb30c27975ddc44923886e4b0d862
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/review_thumbnail.xml | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/res/layout/review_thumbnail.xml b/res/layout/review_thumbnail.xml index 880d57b..1f8b344 100644 --- a/res/layout/review_thumbnail.xml +++ b/res/layout/review_thumbnail.xml @@ -14,12 +14,29 @@ limitations under the License. --> -<com.android.camera.ui.RotateImageView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/review_thumbnail" - android:layout_width="52dp" - android:layout_height="52dp" +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" - android:clickable="true" - android:focusable="false" - android:background="@drawable/border_last_picture" /> + android:orientation="vertical"> + <com.android.camera.ui.RotateImageView + android:id="@+id/review_thumbnail" + android:layout_width="52dp" + android:layout_height="52dp" + android:clickable="true" + android:focusable="false" + android:background="@drawable/border_last_picture" /> + <com.android.camera.ui.RotateImageView + android:id="@+id/btn_share" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:paddingTop="2dp" + android:paddingBottom="2dp" + android:clickable="true" + android:focusable="false" + android:src="@drawable/ic_viewfinder_share" + android:background="@android:color/black" /> +</LinearLayout>
\ No newline at end of file |