diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-03-04 10:21:26 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-04-19 21:59:26 +0800 |
commit | 22e1d11ab2e59b672885fa5f7e5f08b1a2455225 (patch) | |
tree | cce86ece9915602f9d519eb88c9f847bff92a7b7 /res/layout | |
parent | 1dce4a7b0f81acea2b3b2bd88343848d1b501c35 (diff) | |
download | LegacyCamera-22e1d11ab2e59b672885fa5f7e5f08b1a2455225.zip LegacyCamera-22e1d11ab2e59b672885fa5f7e5f08b1a2455225.tar.gz LegacyCamera-22e1d11ab2e59b672885fa5f7e5f08b1a2455225.tar.bz2 |
Add touch to focus.
bug:3475893
Change-Id: I4b23052a6e548adf5b209d46661590b79b8cb557
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/preview_frame.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/layout/preview_frame.xml b/res/layout/preview_frame.xml index 5a4a700..6f5f428 100644 --- a/res/layout/preview_frame.xml +++ b/res/layout/preview_frame.xml @@ -30,9 +30,9 @@ <SurfaceView android:id="@+id/camera_preview" android:layout_width="match_parent" android:layout_height="match_parent"/> - <com.android.camera.ui.FocusRectangle - android:id="@+id/focus_rectangle" - android:layout_width="match_parent" - android:layout_height="match_parent"/> + <com.android.camera.ui.FocusRectangle android:id="@+id/focus_rectangle" + android:layout_width="100dp" + android:layout_height="100dp" + android:layout_centerInParent="true"/> </RelativeLayout> </com.android.camera.PreviewFrameLayout> |