summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJack Yoo <jyoo@codeaurora.org>2016-02-22 17:40:11 -0800
committerSteve Kondik <steve@cyngn.com>2016-08-14 00:05:32 -0700
commit1a18632c11d3f4593547e9afe309cad1f4ea7204 (patch)
treef9404217b3618c2ee987ea678e1819d6f35cfff7 /res
parent2e94604fc2fd300ce6fc14d027e6d87eca83d708 (diff)
downloadandroid_packages_apps_Snap-1a18632c11d3f4593547e9afe309cad1f4ea7204.tar.gz
android_packages_apps_Snap-1a18632c11d3f4593547e9afe309cad1f4ea7204.tar.bz2
android_packages_apps_Snap-1a18632c11d3f4593547e9afe309cad1f4ea7204.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')
-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 75487d49e..561539e08 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>
<View
android:id="@+id/preview_cover"