summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2013-04-30 13:46:17 -0700
committerMichael Kolb <kolby@google.com>2013-04-30 13:46:17 -0700
commitd548f9af4524773a3dc7903f33eb05fcf9a1bfb8 (patch)
tree7eb9ed5b76e4960757f18b401b7a96f111183ab6
parentb7c49994231f31f5cf4de4a66eec7a85a3bd9551 (diff)
downloadandroid_packages_apps_Snap-d548f9af4524773a3dc7903f33eb05fcf9a1bfb8.tar.gz
android_packages_apps_Snap-d548f9af4524773a3dc7903f33eb05fcf9a1bfb8.tar.bz2
android_packages_apps_Snap-d548f9af4524773a3dc7903f33eb05fcf9a1bfb8.zip
Align review controls
Bug: 8753607 Change-Id: Iea2cef5bf56c82c2ddbd7191be6345a58fa126c9
-rw-r--r--src/com/android/camera/ui/CameraControls.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/CameraControls.java b/src/com/android/camera/ui/CameraControls.java
index 668b49467..3a5fbde57 100644
--- a/src/com/android/camera/ui/CameraControls.java
+++ b/src/com/android/camera/ui/CameraControls.java
@@ -75,6 +75,15 @@ public class CameraControls extends RotatableLayout {
toLeft(mSwitcher, l, t, r, b, orientation, rotation, shutter);
toRight(mMenu, l, t, r, b, orientation, rotation, shutter);
toRight(mIndicators, l, t, r, b, orientation, rotation, shutter);
+ View retake = findViewById(R.id.btn_retake);
+ if (retake != null) {
+ Rect retakeRect = new Rect();
+ center(retake, l, t, r, b, orientation, rotation, retakeRect);
+ View cancel = findViewById(R.id.btn_cancel);
+ toLeft(cancel, l, t, r, b, orientation, rotation, shutter);
+ View done = findViewById(R.id.btn_done);
+ toRight(done, l, t, r, b, orientation, rotation, shutter);
+ }
}
private int correctRotation(int rotation, int orientation) {