diff options
author | Steve Kondik <steve@cyngn.com> | 2016-11-18 17:59:15 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-11-18 18:00:38 -0800 |
commit | 00e8c21eda3c2d84f040e513675a1400094536e9 (patch) | |
tree | ba4a37d00787bc740141ea1bc3c5da5e41a3f5bb /res/layout/capture_module.xml | |
parent | aac246e39ffa5cc70fe9f2669ea55692ef9c41cd (diff) | |
download | android_packages_apps_Snap-00e8c21eda3c2d84f040e513675a1400094536e9.tar.gz android_packages_apps_Snap-00e8c21eda3c2d84f040e513675a1400094536e9.tar.bz2 android_packages_apps_Snap-00e8c21eda3c2d84f040e513675a1400094536e9.zip |
snap: Fix preview overlays
* Fix Z-order and touch focus
Change-Id: I05891f6b6c1c5e9a0a9b1142c0613c08fb451bd1
Diffstat (limited to 'res/layout/capture_module.xml')
-rw-r--r-- | res/layout/capture_module.xml | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml index d52a8fa5b..4ba1818fc 100644 --- a/res/layout/capture_module.xml +++ b/res/layout/capture_module.xml @@ -50,28 +50,22 @@ android:layout_height="match_parent" android:background="@android:color/black" /> - <FrameLayout + <com.android.camera.ui.focus.FocusRingView + android:id="@+id/focus_ring" android:layout_width="match_parent" - android:layout_height="match_parent"> - - <com.android.camera.ui.Camera2FaceView - android:id="@+id/face_view" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="gone"/> - - <com.android.camera.ui.focus.FocusRingView - android:id="@+id/focus_ring" - android:layout_width="match_parent" - android:layout_height="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" /> + <com.android.camera.ui.CaptureAnimationOverlay + android:id="@+id/capture_overlay" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> - </FrameLayout> + <com.android.camera.ui.Camera2FaceView + android:id="@+id/face_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone"/> <com.android.camera.ui.RenderOverlay android:id="@+id/render_overlay" |