summaryrefslogtreecommitdiffstats
path: root/res/layout/capture_module.xml
diff options
context:
space:
mode:
authorPaul Rohde <codelogic@google.com>2014-12-05 12:17:15 -0800
committerEthan Chen <intervigil@gmail.com>2018-03-17 04:54:02 +0000
commit4bdfff2c9d2fefedcab17ad4e8b787b44ba2d114 (patch)
treef0a22ff5b5a2116bc6365e875a196184f17b463c /res/layout/capture_module.xml
parente4a946e204cd8f6a1bcdb5fb067918e8677e97f0 (diff)
downloadandroid_packages_apps_Snap-4bdfff2c9d2fefedcab17ad4e8b787b44ba2d114.tar.gz
android_packages_apps_Snap-4bdfff2c9d2fefedcab17ad4e8b787b44ba2d114.tar.bz2
android_packages_apps_Snap-4bdfff2c9d2fefedcab17ad4e8b787b44ba2d114.zip
Drop new focus indicator into Camera2.
* Create a new custom focus view that interacts with physical lens diopter changes. * Replace all occurances of the old focus indicator with the new one. Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
Diffstat (limited to 'res/layout/capture_module.xml')
-rwxr-xr-xres/layout/capture_module.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml
index 7a04a188d..5b0b998f4 100755
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -87,6 +87,11 @@
android:layout_height="100dip"
android:layout_marginTop="180dip"
android:layout_marginLeft="10dip" />
+
+ <com.android.camera.ui.focus.FocusRingView
+ android:id="@+id/focus_ring"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
</FrameLayout>
<com.android.camera.ui.RenderOverlay