diff options
author | Manikanta Kanamarlapudi <kmanikan@codeaurora.org> | 2014-01-06 14:31:43 +0530 |
---|---|---|
committer | Manikanta Kanamarlapudi <kmanikan@codeaurora.org> | 2014-01-21 14:17:54 +0530 |
commit | ae019674d5331e750230fd92d8138d02b751f0f1 (patch) | |
tree | 7a5e517b991471b10b0f5d1090dbf2088250e7d8 /res/layout | |
parent | 4fa5b46ba5ba7872a6815d869ab1d4c72a588dc9 (diff) | |
download | android_packages_apps_Snap-ae019674d5331e750230fd92d8138d02b751f0f1.tar.gz android_packages_apps_Snap-ae019674d5331e750230fd92d8138d02b751f0f1.tar.bz2 android_packages_apps_Snap-ae019674d5331e750230fd92d8138d02b751f0f1.zip |
Camera2: Added pause button in Camcorder
- Added pause button in camcorder app.so that user pause
recording and resume later which results in a single
recorded clip.
CRs-Fixed: 587051
Change-Id: I2a7d8af7fcea74fe8af62c44119c3c1fa0c13e85
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/video_module.xml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml index 198be8913..af839e774 100644 --- a/res/layout/video_module.xml +++ b/res/layout/video_module.xml @@ -49,9 +49,24 @@ android:id="@+id/render_overlay" android:layout_width="match_parent" android:layout_height="match_parent" /> - <com.android.camera.ui.RotateLayout android:id="@+id/recording_time_rect" - style="@style/ViewfinderLabelLayout"> - <include layout="@layout/viewfinder_labels_video" android:id="@+id/labels" /> + <com.android.camera.ui.RotateLayout + android:id="@+id/recording_time_rect" + android:layout_height="match_parent" + android:layout_width="match_parent"> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_height="match_parent" + android:layout_width="match_parent"> + <com.android.camera.PauseButton android:id="@+id/video_pause" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_marginLeft="50dp" + android:padding="23dp" + android:visibility="gone" + android:src="@drawable/btn_pause_recording"/> + <include layout="@layout/viewfinder_labels_video" + android:id="@+id/labels" /> + </LinearLayout> </com.android.camera.ui.RotateLayout> <ImageView android:id="@+id/review_image" android:layout_height="match_parent" |