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
committerMichael Bestas <mikeioannina@gmail.com>2017-01-04 21:57:44 +0200
commita83d9afd1b0eab6f5ad5aaf300ae7e5e6eb2c092 (patch)
treed807835b35152ff8116abf6bfbb0e1c34ad3074e /res/layout/capture_module.xml
parente29d34af65c92b85f43ec114fa8d13391bffabab (diff)
downloadandroid_packages_apps_Snap-a83d9afd1b0eab6f5ad5aaf300ae7e5e6eb2c092.tar.gz
android_packages_apps_Snap-a83d9afd1b0eab6f5ad5aaf300ae7e5e6eb2c092.tar.bz2
android_packages_apps_Snap-a83d9afd1b0eab6f5ad5aaf300ae7e5e6eb2c092.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')
-rw-r--r--res/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 41757c535..b03c43317 100644
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -59,6 +59,11 @@
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" />
</FrameLayout>
<com.android.camera.ui.RenderOverlay