From 377456cde5b0c385ea6635a989df68b6f84cc6cb Mon Sep 17 00:00:00 2001 From: Jay Wang Date: Tue, 3 May 2016 11:59:46 -0700 Subject: 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 --- res/layout/camera_controls.xml | 1 + res/layout/photo_module.xml | 2 +- res/layout/review_module_control.xml | 48 ++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 res/layout/review_module_control.xml (limited to 'res/layout') diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml index 66519d41c..c1def502f 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" /> - + + + + + + + + -- cgit v1.2.3