summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJack Yoo <jyoo@codeaurora.org>2016-02-22 17:40:11 -0800
committerJack Yoo <jyoo@codeaurora.org>2016-04-06 09:50:12 -0700
commitcef16d76d423dbdb426046ad5a339c32b9ac6f75 (patch)
tree6bf09e496b9a59a5d83127b32ef1b7fe7938e17d /res/layout
parent3618eb79912c36216b197580e54e366ab19d2a61 (diff)
downloadandroid_packages_apps_Snap-cef16d76d423dbdb426046ad5a339c32b9ac6f75.tar.gz
android_packages_apps_Snap-cef16d76d423dbdb426046ad5a339c32b9ac6f75.tar.bz2
android_packages_apps_Snap-cef16d76d423dbdb426046ad5a339c32b9ac6f75.zip
SnapdragonCamera: Adjusting view initialization
Instead of removing and adding the entire root view, changing only core surface view on module change. Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf CRs-Fixed: 979254
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/video_module.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml
index 1c1db4444..c1063510b 100644
--- a/res/layout/video_module.xml
+++ b/res/layout/video_module.xml
@@ -26,8 +26,7 @@
<SurfaceView
android:id="@+id/mdp_preview_content"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone" />
+ android:layout_height="match_parent" />
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"