From d548f9af4524773a3dc7903f33eb05fcf9a1bfb8 Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Tue, 30 Apr 2013 13:46:17 -0700 Subject: Align review controls Bug: 8753607 Change-Id: Iea2cef5bf56c82c2ddbd7191be6345a58fa126c9 --- src/com/android/camera/ui/CameraControls.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/com/android/camera/ui') 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) { -- cgit v1.2.3