summaryrefslogtreecommitdiffstats
path: root/res/layout/capture_module.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/capture_module.xml
parent79a0a46a89e0c1497693fd67e6745d00274dd809 (diff)
downloadandroid_packages_apps_Snap-eccb780d076a72a5d3fcafcfd9540b044458f4a2.tar.gz
android_packages_apps_Snap-eccb780d076a72a5d3fcafcfd9540b044458f4a2.tar.bz2
android_packages_apps_Snap-eccb780d076a72a5d3fcafcfd9540b044458f4a2.zip
SnapdragonCamera: Add video to Camera2 module
Add video to Camera2 module and combine the UI Change-Id: I0bcd86eb6b95fe2180856780ddd794682259e799
Diffstat (limited to 'res/layout/capture_module.xml')
-rw-r--r--res/layout/capture_module.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml
index d91b49a97..3b4f025bf 100644
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -56,6 +56,31 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />
+ <com.android.camera.ui.RotateLayout
+ android:id="@+id/recording_time_rect"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <com.android.camera.PauseButton
+ android:id="@+id/video_pause"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="70dp"
+ android:padding="23dp"
+ android:src="@drawable/btn_pause_recording"/>
+
+ <include
+ android:id="@+id/labels"
+ layout="@layout/viewfinder_labels_video"/>
+ </LinearLayout>
+ </com.android.camera.ui.RotateLayout>
+
<include
style="@style/CameraControls"
layout="@layout/camera_controls"