summaryrefslogtreecommitdiffstats
path: root/res/layout/camera_controls.xml
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-05-10 16:59:33 -0700
committerByunghun Jeon <bjeon@codeaurora.org>2016-06-29 10:31:13 -0700
commiteccb780d076a72a5d3fcafcfd9540b044458f4a2 (patch)
treeb64dc33e010a68436c341fc80ee713f8a512480d /res/layout/camera_controls.xml
parent79a0a46a89e0c1497693fd67e6745d00274dd809 (diff)
downloadandroid_packages_apps_Snap-eccb780d076a72a5d3fcafcfd9540b044458f4a2.zip
android_packages_apps_Snap-eccb780d076a72a5d3fcafcfd9540b044458f4a2.tar.gz
android_packages_apps_Snap-eccb780d076a72a5d3fcafcfd9540b044458f4a2.tar.bz2
SnapdragonCamera: Add video to Camera2 module
Add video to Camera2 module and combine the UI Change-Id: I0bcd86eb6b95fe2180856780ddd794682259e799
Diffstat (limited to 'res/layout/camera_controls.xml')
-rw-r--r--res/layout/camera_controls.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml
index c1def50..9d6ebf0 100644
--- a/res/layout/camera_controls.xml
+++ b/res/layout/camera_controls.xml
@@ -65,6 +65,19 @@
android:scaleType="fitCenter"
android:src="@drawable/btn_new_shutter" />
+ <ImageView
+ android:id="@+id/video_button"
+ android:visibility="invisible"
+ android:layout_width="@dimen/shutter_size"
+ android:layout_height="@dimen/shutter_size"
+ android:layout_gravity="bottom|center_horizontal"
+ android:layout_marginBottom="@dimen/shutter_offset"
+ android:clickable="true"
+ android:contentDescription="@string/accessibility_shutter_button"
+ android:focusable="true"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_new_shutter_video" />
+
<com.android.camera.ui.RotateImageView
android:id="@+id/preview_thumb"
android:layout_width="@dimen/capture_size"