summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2013-04-29 14:50:41 -0700
committerMichael Kolb <kolby@google.com>2013-04-29 14:50:41 -0700
commitb644e34fa8e6a94eec12e12046a4098b8734c70d (patch)
tree7fd229a9faa890e7abc73817e7c5961980729c11 /src/com
parent31eef2d6d3e4c72bf168b931c5123ed739401b99 (diff)
downloadandroid_packages_apps_Snap-b644e34fa8e6a94eec12e12046a4098b8734c70d.tar.gz
android_packages_apps_Snap-b644e34fa8e6a94eec12e12046a4098b8734c70d.tar.bz2
android_packages_apps_Snap-b644e34fa8e6a94eec12e12046a4098b8734c70d.zip
Fix indicator layout
Bug: 8754592 Use the correct anchor for layout Change-Id: Idc408da48dd3066a8dabdd8f4f2c553b54d0dffd
Diffstat (limited to 'src/com')
-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 b5de4ea9a..668b49467 100644
--- a/src/com/android/camera/ui/CameraControls.java
+++ b/src/com/android/camera/ui/CameraControls.java
@@ -178,7 +178,7 @@ public class CameraControls extends RotatableLayout {
case 90:
// phone landscape: above anchor on right
result.right = r - lp.rightMargin;
- result.left = result.right - tw + lp.leftMargin;
+ result.left = r - tw + lp.leftMargin;
result.bottom = anchor.top - lp.bottomMargin;
result.top = anchor.top - th + lp.topMargin;
break;