summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2016-09-07 14:12:49 +0800
committerjunjiez <junjiez@codeaurora.org>2016-09-07 14:36:55 +0800
commitce1df21a6c2c77f05870ffeafb65152fe8ef529a (patch)
tree529bea673c15c522c2bb1ff959c0bc81697cdfa8 /res/layout-land
parent9159ebde9c1bc74e531bd0cc5e7e9379d1d235e6 (diff)
downloadandroid_packages_apps_Snap-ce1df21a6c2c77f05870ffeafb65152fe8ef529a.tar.gz
android_packages_apps_Snap-ce1df21a6c2c77f05870ffeafb65152fe8ef529a.tar.bz2
android_packages_apps_Snap-ce1df21a6c2c77f05870ffeafb65152fe8ef529a.zip
SnapdragonCamera:Fix Camera FC in split screen
When camera launched in in split screen, it shows in landscape, but ImageViews in the land layout of CameraControls are not RotateImageViews, exception occurred when CameraControls.setOrientation is invoked. Change them to RotateImageViews to avoid exceptions. Change-Id: I6fe0c04e2a6f1c4726a35adba697fbffbac5c0bd CRs-Fixed: 1063479
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/review_module_control.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/layout-land/review_module_control.xml b/res/layout-land/review_module_control.xml
index 9f8b0cd46..d740eec7d 100644
--- a/res/layout-land/review_module_control.xml
+++ b/res/layout-land/review_module_control.xml
@@ -18,7 +18,7 @@
style="@style/CameraControls"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="2dip">
- <ImageView android:id="@+id/btn_done"
+ <com.android.camera.ui.RotateImageView android:id="@+id/btn_done"
style="@style/ReviewControlIcon"
android:contentDescription="@string/accessibility_review_ok"
android:visibility="gone"
@@ -27,7 +27,7 @@
android:background="@drawable/bg_pressed"
android:src="@drawable/ic_menu_done_holo_light" />
- <ImageView android:id="@+id/btn_retake"
+ <com.android.camera.ui.RotateImageView android:id="@+id/btn_retake"
style="@style/ReviewControlIcon"
android:contentDescription="@string/accessibility_review_retake"
android:layout_gravity="right|center_vertical"
@@ -37,7 +37,7 @@
android:background="@drawable/bg_pressed"
android:src="@drawable/ic_btn_shutter_retake" />
- <ImageView android:id="@+id/btn_cancel"
+ <com.android.camera.ui.RotateImageView android:id="@+id/btn_cancel"
style="@style/ReviewControlIcon"
android:contentDescription="@string/accessibility_review_cancel"
android:visibility="gone"