summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/capture_module.xml4
-rw-r--r--res/layout/video_module.xml3
2 files changed, 3 insertions, 4 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml
index 02c32acab..a68af5e08 100644
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -33,12 +33,12 @@
android:layout_height="match_parent"
android:layout_gravity="center_vertical|center_horizontal">
- <SurfaceView
+ <com.android.camera.ui.AutoFitSurfaceView
android:id="@+id/mdp_preview_content"
android:layout_width="match_parent"
android:layout_height="match_parent" />
- <SurfaceView
+ <com.android.camera.ui.AutoFitSurfaceView
android:id="@+id/mdp_preview_content2"
android:layout_width="300dp"
android:layout_height="300dp" />
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml
index c1063510b..20d7be1d2 100644
--- a/res/layout/video_module.xml
+++ b/res/layout/video_module.xml
@@ -42,8 +42,7 @@
android:id="@+id/preview_cover"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@android:color/black"
- android:visibility="gone" />
+ android:background="@android:color/black" />
<View
android:id="@+id/flash_overlay"
android:layout_width="match_parent"