summaryrefslogtreecommitdiffstats
path: root/res/layout/one_ui_layout.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/one_ui_layout.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/one_ui_layout.xml')
-rwxr-xr-xres/layout/one_ui_layout.xml18
1 files changed, 14 insertions, 4 deletions
diff --git a/res/layout/one_ui_layout.xml b/res/layout/one_ui_layout.xml
index d87040cde..53174698c 100755
--- a/res/layout/one_ui_layout.xml
+++ b/res/layout/one_ui_layout.xml
@@ -40,8 +40,8 @@
<com.android.camera.ShutterButton
android:id="@+id/shutter_button"
- android:layout_width="70dp"
- android:layout_height="70dp"
+ android:layout_width="@dimen/one_ui_bottom_large"
+ android:layout_height="@dimen/one_ui_bottom_large"
android:clickable="true"
android:contentDescription="@string/accessibility_shutter_button"
android:focusable="true"
@@ -50,14 +50,24 @@
<com.android.camera.ui.RotateImageView
android:id="@+id/video_button"
- android:layout_width="55dp"
- android:layout_height="55dp"
+ android:layout_width="@dimen/one_ui_bottom_small"
+ android:layout_height="@dimen/one_ui_bottom_small"
android:clickable="true"
android:contentDescription="@string/accessibility_shutter_button"
android:focusable="true"
android:scaleType="fitCenter"
android:src="@drawable/video_capture" />
+ <com.android.camera.PauseButton
+ android:id="@+id/video_pause"
+ android:layout_width="@dimen/one_ui_bottom_small"
+ android:layout_height="@dimen/one_ui_bottom_small"
+ android:focusable="true"
+ android:clickable="true"
+ android:scaleType="fitCenter"
+ android:visibility="gone"
+ android:src="@drawable/btn_pause_recording"/>
+
<com.android.camera.ui.RotateImageView
android:id="@+id/preview_thumb"
android:layout_width="@dimen/capture_size"