summaryrefslogtreecommitdiffstats
path: root/res/layout/video_module.xml
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-11-09 01:17:49 -0800
committerMichael Bestas <mikeioannina@gmail.com>2017-01-04 22:00:40 +0200
commit70c38b4bf5d5b16a6a8eee07b975ac321bd4f5a0 (patch)
tree8d0f47b3f48e10b5f7c59b5d4497dd046117eb70 /res/layout/video_module.xml
parentaa0ed8c3c2985f1f2efcc1d40717c18f509cfb5c (diff)
downloadandroid_packages_apps_Snap-70c38b4bf5d5b16a6a8eee07b975ac321bd4f5a0.tar.gz
android_packages_apps_Snap-70c38b4bf5d5b16a6a8eee07b975ac321bd4f5a0.tar.bz2
android_packages_apps_Snap-70c38b4bf5d5b16a6a8eee07b975ac321bd4f5a0.zip
snap: Better capture animation
* Modified version from Camera2 * Also adjust the callbacks for better response Change-Id: I85ac23cdf35d9e2625799dd64b9f86aef103be7b
Diffstat (limited to 'res/layout/video_module.xml')
-rw-r--r--res/layout/video_module.xml12
1 files changed, 5 insertions, 7 deletions
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml
index c6a9d7e80..f12f06ce7 100644
--- a/res/layout/video_module.xml
+++ b/res/layout/video_module.xml
@@ -43,13 +43,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black" />
- <View
- android:id="@+id/flash_overlay"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@android:color/white"
- android:visibility="gone"
- android:alpha="0" />
<FrameLayout android:id="@+id/preview_border"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -81,6 +74,11 @@
android:id="@+id/focus_ring"
android:layout_width="match_parent"
android:layout_height="match_parent" />
+ <com.android.camera.ui.CaptureAnimationOverlay
+ android:id="@+id/capture_overlay"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone" />
<ImageView android:id="@+id/review_image"
android:layout_height="match_parent"
android:layout_width="match_parent"