summaryrefslogtreecommitdiffstats
path: root/res/layout/capture_module.xml
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2016-11-24 16:31:52 +0800
committerjunjiez <junjiez@codeaurora.org>2016-12-05 14:10:26 +0800
commit10f9ed035975937f670679a9d238d9db9e9952f1 (patch)
treee7480ce7d66776e85c03e6c78d212b51329ac1ac /res/layout/capture_module.xml
parent7a280652591b1285af961111f16c6c35ff585401 (diff)
downloadandroid_packages_apps_Snap-10f9ed035975937f670679a9d238d9db9e9952f1.tar.gz
android_packages_apps_Snap-10f9ed035975937f670679a9d238d9db9e9952f1.tar.bz2
android_packages_apps_Snap-10f9ed035975937f670679a9d238d9db9e9952f1.zip
SnapdragonCamera:Modify Camera2 VideoRecording UI
Modify Camera2 VideoRecording UI and make it look like the same as the design document shows. Change-Id: I41ea3db7312847fe56ad9d8e73dfa92b030e79e2 CRs-Fixed: 1093507
Diffstat (limited to 'res/layout/capture_module.xml')
-rwxr-xr-x[-rw-r--r--]res/layout/capture_module.xml28
1 files changed, 11 insertions, 17 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml
index fc05fd0ca..0063a2e6a 100644..100755
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -67,30 +67,24 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />
- <com.android.camera.ui.RotateLayout
- android:id="@+id/recording_time_rect"
+
+ <FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
-
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+ <com.android.camera.ui.RotateLayout
+ android:id="@+id/recording_time_rect"
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"/>
-
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:visibility="gone"
+ android:layout_marginLeft="24dp"
+ android:layout_marginTop="80dp">
<include
android:id="@+id/labels"
layout="@layout/viewfinder_labels_video"/>
- </LinearLayout>
- </com.android.camera.ui.RotateLayout>
+ </com.android.camera.ui.RotateLayout>
+ </FrameLayout>
<include
style="@style/CameraControls"