diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-04-27 17:56:09 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-04-28 12:37:04 +0800 |
commit | feaf2ccff42c44b74be814b66296f9ddedcc9aa9 (patch) | |
tree | 0a077d6d11481c12beb0665fb5ff7a3e9ad140c5 /res/layout | |
parent | 18c1ad898f3fddcd321af7ffbb32416a1b32f323 (diff) | |
download | LegacyCamera-feaf2ccff42c44b74be814b66296f9ddedcc9aa9.zip LegacyCamera-feaf2ccff42c44b74be814b66296f9ddedcc9aa9.tar.gz LegacyCamera-feaf2ccff42c44b74be814b66296f9ddedcc9aa9.tar.bz2 |
Reduce the size of focus rectangle.
Now the length of focus rectangle is 1/4 of the height of
preview frame.
bug:3475893
Change-Id: Ib1f09d5dbb25bb20343b39116c12febe08d83051
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/preview_frame.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/preview_frame.xml b/res/layout/preview_frame.xml index 6f5f428..693ae65 100644 --- a/res/layout/preview_frame.xml +++ b/res/layout/preview_frame.xml @@ -31,8 +31,8 @@ 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_width="120dp" + android:layout_height="120dp" android:layout_centerInParent="true"/> </RelativeLayout> </com.android.camera.PreviewFrameLayout> |