diff options
| author | Michael Kolb <kolby@google.com> | 2013-04-30 13:46:17 -0700 |
|---|---|---|
| committer | Michael Kolb <kolby@google.com> | 2013-04-30 13:46:17 -0700 |
| commit | 574e68d662cd9aade7502301ea3957ffaf06f1c4 (patch) | |
| tree | 8cc978bfa93bc2c4830a6343cb084c04ce977ad7 /src | |
| parent | ce8f6d1bb9dc52da7d168a94cb4c6f24d631d304 (diff) | |
| download | android_packages_apps_Gallery2-574e68d662cd9aade7502301ea3957ffaf06f1c4.tar.gz android_packages_apps_Gallery2-574e68d662cd9aade7502301ea3957ffaf06f1c4.tar.bz2 android_packages_apps_Gallery2-574e68d662cd9aade7502301ea3957ffaf06f1c4.zip | |
Align review controls
Bug: 8753607
Change-Id: Iea2cef5bf56c82c2ddbd7191be6345a58fa126c9
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/android/camera/ui/CameraControls.java | 9 |
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) { |
