diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-06-29 19:04:41 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-06-29 20:04:52 +0800 |
commit | 95fd7f77171155a087b685ca405ac3891332f638 (patch) | |
tree | 63fef7780d36cc386142c430cf1bcd327b7acec9 /res/layout/attach_camera_control.xml | |
parent | 25c0a6c44f32788cb4e14095c48f1452b14530a6 (diff) | |
download | LegacyCamera-95fd7f77171155a087b685ca405ac3891332f638.zip LegacyCamera-95fd7f77171155a087b685ca405ac3891332f638.tar.gz LegacyCamera-95fd7f77171155a087b685ca405ac3891332f638.tar.bz2 |
Move the shutter button to the center in phone UI.
bug:4973470
Change-Id: I18bae830c433726e36ef655032be8330932826fd
Diffstat (limited to 'res/layout/attach_camera_control.xml')
-rw-r--r-- | res/layout/attach_camera_control.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/attach_camera_control.xml b/res/layout/attach_camera_control.xml index 7c0e6dd..7e8806a 100644 --- a/res/layout/attach_camera_control.xml +++ b/res/layout/attach_camera_control.xml @@ -18,8 +18,8 @@ xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" android:layout_height="match_parent" android:layout_width="76dp" - android:layout_marginTop="13dp" - android:layout_marginBottom="10dp" + android:paddingTop="13dp" + android:paddingBottom="3dp" android:layout_alignParentRight="true"> <LinearLayout android:orientation="vertical" android:id="@+id/review_control" @@ -55,11 +55,11 @@ android:text="@string/review_play" /> </LinearLayout> </LinearLayout> + <com.android.camera.ShutterButton android:id="@+id/shutter_button" - android:layout_alignParentBottom="true" - android:layout_centerHorizontal="true" - android:layout_height="wrap_content" android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerInParent="true" android:scaleType="center" android:clickable="true" android:focusable="true" |