diff options
author | Steve Kondik <steve@cyngn.com> | 2016-11-09 01:17:49 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-11-13 23:33:36 -0800 |
commit | f886863e6d8024ef6d2c2712aa518a761fff6b9d (patch) | |
tree | 48e17f4ab5372589629da48779caa04cb66fca8a /res/layout/video_module.xml | |
parent | 4538ee80f8a9eb338281db00fb349e111eeb5aaf (diff) | |
download | android_packages_apps_Snap-f886863e6d8024ef6d2c2712aa518a761fff6b9d.tar.gz android_packages_apps_Snap-f886863e6d8024ef6d2c2712aa518a761fff6b9d.tar.bz2 android_packages_apps_Snap-f886863e6d8024ef6d2c2712aa518a761fff6b9d.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.xml | 12 |
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" |