From 923c23592bab6e42e9e75be75bfdab29af70b91b Mon Sep 17 00:00:00 2001 From: junjiez Date: Thu, 9 Mar 2017 17:25:05 +0800 Subject: SnapdragonCamera: Fix wrong size in review When 3rd-party app calls camera to capture in landscape, the image of preview needs to be rotated to fit the preview. Change-Id: I597160229fa41a977e872cb65264f8c7ea4f7a00 CRs-Fixed: 2016449 --- res/layout/capture_module.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 res/layout/capture_module.xml (limited to 'res/layout') diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml old mode 100644 new mode 100755 index 49dcbf66e..2c381bfdf --- a/res/layout/capture_module.xml +++ b/res/layout/capture_module.xml @@ -133,12 +133,12 @@ android:layout_width="match_parent" android:background="@android:color/black" android:visibility="gone"> - + android:background="@android:color/black" + android:scaleType="fitCenter"/>