summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/ZoomView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ui/ZoomView.java')
-rw-r--r--src/com/android/camera/ui/ZoomView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/ZoomView.java b/src/com/android/camera/ui/ZoomView.java
index f7b645341..e8154dec4 100644
--- a/src/com/android/camera/ui/ZoomView.java
+++ b/src/com/android/camera/ui/ZoomView.java
@@ -148,7 +148,7 @@ public class ZoomView extends ImageView {
public ZoomView(Context context) {
super(context);
- setScaleType(ScaleType.CENTER_INSIDE);
+ setScaleType(ScaleType.FIT_CENTER);
addOnLayoutChangeListener(new OnLayoutChangeListener() {
@Override
public void onLayoutChange(View v, int left, int top, int right, int bottom,