summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/CameraControls.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ui/CameraControls.java')
-rw-r--r--src/com/android/camera/ui/CameraControls.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/CameraControls.java b/src/com/android/camera/ui/CameraControls.java
index 5c305acd8..aeaa0d4e7 100644
--- a/src/com/android/camera/ui/CameraControls.java
+++ b/src/com/android/camera/ui/CameraControls.java
@@ -234,7 +234,7 @@ public class CameraControls extends RotatableLayout {
Rect shutter = new Rect();
topRight(mPreview, l, t, r, b);
center(mShutter, l, t, r, b, orientation, rotation, shutter, SHUTTER_INDEX);
- mSize = Math.max(shutter.right - shutter.left, shutter.bottom - shutter.top);
+ mSize = (int) (Math.max(shutter.right - shutter.left, shutter.bottom - shutter.top) * 1.2f);
center(mBackgroundView, l, t, r, b, orientation, rotation, new Rect(), -1);
mBackgroundView.setVisibility(View.GONE);
setLocation(r - l, b - t);