diff options
author | Angus Kong <shkong@google.com> | 2011-08-11 17:18:17 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2011-08-15 15:51:01 +0800 |
commit | 739f9e1541c30735e45d5cb90255dd36a32d3604 (patch) | |
tree | e32279091fc2aebb06907111f6246cfc7ab91079 /res/layout | |
parent | ef91f8514bf3c21091dde6b292f9616464dc32e8 (diff) | |
download | LegacyCamera-739f9e1541c30735e45d5cb90255dd36a32d3604.zip LegacyCamera-739f9e1541c30735e45d5cb90255dd36a32d3604.tar.gz LegacyCamera-739f9e1541c30735e45d5cb90255dd36a32d3604.tar.bz2 |
Use "Start" button instead for Panorama.
The shutter button in panorama is replaced by a start button.
bug:5141569
Change-Id: Idb3f6cc621be5b83fae70bce7ef35636079e31f3
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/pano_control.xml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/res/layout/pano_control.xml b/res/layout/pano_control.xml index 4a1175a..3e2d4e8 100644 --- a/res/layout/pano_control.xml +++ b/res/layout/pano_control.xml @@ -17,20 +17,18 @@ <com.android.camera.ui.ControlPanelLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="match_parent" - android:minWidth="76dp" - android:paddingTop="13dp" + android:minWidth="@dimen/pano_control_layout_min_width" android:background="@drawable/bg_camera_pattern"> <include layout="@layout/review_thumbnail"/> - <com.android.camera.ShutterButton android:id="@+id/pano_shutter_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + <Button android:id="@+id/pano_start_button" + android:text="@string/pano_capture_start" + android:onClick="onStartButtonClicked" + android:textSize="24dp" android:layout_centerInParent="true" - android:clickable="true" - android:focusable="true" - android:onClick="onShutterButtonClicked" - android:background="@drawable/btn_shutter"/> + android:layout_width="@dimen/pano_control_start_button_size" + android:layout_height="@dimen/pano_control_start_button_size" /> <include layout="@layout/mode_picker"/> </com.android.camera.ui.ControlPanelLayout> |