summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJack Yoo <jyoo@codeaurora.org>2016-06-21 16:30:11 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-07 09:41:04 -0700
commit0cb58a0566b3168a397782432e595ea0580b0391 (patch)
treeefda08a71e327d8080d7bdf9812cba74f96d020e /res/layout
parentc8513bf1f30d0cf0257feaf4956e5179cfefe52b (diff)
downloadandroid_packages_apps_Snap-0cb58a0566b3168a397782432e595ea0580b0391.tar.gz
android_packages_apps_Snap-0cb58a0566b3168a397782432e595ea0580b0391.tar.bz2
android_packages_apps_Snap-0cb58a0566b3168a397782432e595ea0580b0391.zip
SnapdragonCamera: Replacing mono surface
Replacing mono surface to allocation dummy surface Change-Id: I8ed7396e6bee7fd34e223f285c0d9693ff04527a CRs-Fixed: 1035245
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/capture_module.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml
index 07594cef3..dd7d3cb1b 100644
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -32,17 +32,16 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical|center_horizontal">
-
<com.android.camera.ui.AutoFitSurfaceView
android:id="@+id/mdp_preview_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center" />
-
<com.android.camera.ui.AutoFitSurfaceView
- android:id="@+id/mdp_preview_content2"
android:layout_width="300dp"
- android:layout_height="300dp" />
+ android:layout_height="300dp"
+ android:id="@+id/mdp_preview_content_mono"
+ android:visibility="gone"/>
</FrameLayout>
<View