diff options
author | Byunghun Jeon <bjeon@codeaurora.org> | 2016-05-10 16:59:33 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-25 21:55:20 -0700 |
commit | 9cd5721ea88d24549a2946e1aaaef04993bc94d6 (patch) | |
tree | 5cace1ebb46725b06e76340b2e902ffc682d8903 /res/layout/camera_controls.xml | |
parent | 56881f01e46cd33506b7d8a9ee1a7e66165c4519 (diff) | |
download | android_packages_apps_Snap-9cd5721ea88d24549a2946e1aaaef04993bc94d6.tar.gz android_packages_apps_Snap-9cd5721ea88d24549a2946e1aaaef04993bc94d6.tar.bz2 android_packages_apps_Snap-9cd5721ea88d24549a2946e1aaaef04993bc94d6.zip |
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.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml index 77ff076b9..6c40f1b91 100644 --- a/res/layout/camera_controls.xml +++ b/res/layout/camera_controls.xml @@ -45,6 +45,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" |