summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-10-15 19:10:28 -0700
committerDoris Liu <tianliu@google.com>2013-10-15 19:24:40 -0700
commit3a45c33d74fe0ad0ade9be3d037560a53891c627 (patch)
tree472570a2434bb07b1622afec9ce4e96397cab132 /res/layout
parentd3e75bd748ce2be8fdcb30575bbde9bd07536bd3 (diff)
downloadandroid_packages_apps_Snap-3a45c33d74fe0ad0ade9be3d037560a53891c627.tar.gz
android_packages_apps_Snap-3a45c33d74fe0ad0ade9be3d037560a53891c627.tar.bz2
android_packages_apps_Snap-3a45c33d74fe0ad0ade9be3d037560a53891c627.zip
Show a preview cover until real preview is ready
Bug: 11211650 Change-Id: Ic4b26ef0f03eac0682e7be0d4bcb1c4632d85f39
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/panorama_module.xml6
-rw-r--r--res/layout/photo_module.xml6
-rw-r--r--res/layout/video_module.xml6
3 files changed, 18 insertions, 0 deletions
diff --git a/res/layout/panorama_module.xml b/res/layout/panorama_module.xml
index 0b2785a3e..581170f07 100644
--- a/res/layout/panorama_module.xml
+++ b/res/layout/panorama_module.xml
@@ -19,6 +19,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/pano_module_capture" />
+ <View
+ android:id="@+id/preview_cover"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/black"
+ android:visibility="gone" />
<include layout="@layout/pano_module_review" />
<include layout="@layout/camera_controls"
android:layout_gravity="center"
diff --git a/res/layout/photo_module.xml b/res/layout/photo_module.xml
index b63d53662..0410f16fc 100644
--- a/res/layout/photo_module.xml
+++ b/res/layout/photo_module.xml
@@ -33,6 +33,12 @@
android:id="@+id/preview_content"
android:layout_width="match_parent"
android:layout_height="match_parent" />
+ <View
+ android:id="@+id/preview_cover"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/black"
+ android:visibility="gone" />
</FrameLayout>
<ImageView
android:id="@+id/review_image"
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml
index b4444e7f0..198be8913 100644
--- a/res/layout/video_module.xml
+++ b/res/layout/video_module.xml
@@ -26,6 +26,12 @@
android:id="@+id/preview_content"
android:layout_width="match_parent"
android:layout_height="match_parent" />
+ <View
+ android:id="@+id/preview_cover"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/black"
+ android:visibility="gone" />
</FrameLayout>
<View
android:id="@+id/flash_overlay"