summaryrefslogtreecommitdiffstats
path: root/res/layout/camera_controls.xml
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2016-05-03 11:59:46 -0700
committerJay Wang <jaywang@codeaurora.org>2016-05-04 14:41:00 -0700
commit377456cde5b0c385ea6635a989df68b6f84cc6cb (patch)
treec6395c115435e026c758a73b88f7407d585644f1 /res/layout/camera_controls.xml
parent6b741069fbe98a3b75ae8744f4a7790525199deb (diff)
downloadandroid_packages_apps_Snap-377456cde5b0c385ea6635a989df68b6f84cc6cb.zip
android_packages_apps_Snap-377456cde5b0c385ea6635a989df68b6f84cc6cb.tar.gz
android_packages_apps_Snap-377456cde5b0c385ea6635a989df68b6f84cc6cb.tar.bz2
SnapdragonCamera: Support rotation for image review layout
Currently, image review layout is fixed to portrait mode. Changing the resources to use RotateImageView and update the scaling function in RotateImageView to support both up and down scaling of the image CRs-Fixed: 1004669 Change-Id: I6940227c634b7654bce5de5efe032aaa8da80e72
Diffstat (limited to 'res/layout/camera_controls.xml')
-rw-r--r--res/layout/camera_controls.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml
index 66519d4..c1def50 100644
--- a/res/layout/camera_controls.xml
+++ b/res/layout/camera_controls.xml
@@ -50,6 +50,7 @@
style="@style/SwitcherButton"
android:layout_gravity="bottom|left"
android:layout_marginBottom="2dip"
+ android:scaleType="center"
android:contentDescription="@string/accessibility_mode_picker" />
<com.android.camera.ShutterButton