diff options
author | junjiez <junjiez@codeaurora.org> | 2016-12-12 17:30:39 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-12 19:12:03 -0800 |
commit | 01847b7c4bac4432df92c24e173bada7193bfe1a (patch) | |
tree | 19b3fdd0c870cc234b69effe806e8395f28e3768 /res/layout | |
parent | 1e8e52e5de1725d47101157b2328cbd76e9d9a83 (diff) | |
download | android_packages_apps_Snap-01847b7c4bac4432df92c24e173bada7193bfe1a.tar.gz android_packages_apps_Snap-01847b7c4bac4432df92c24e173bada7193bfe1a.tar.bz2 android_packages_apps_Snap-01847b7c4bac4432df92c24e173bada7193bfe1a.zip |
SnapdragonCamera: Modify video preview UI
Ensure all the unuseful icons are hide when
Show the video preivew UI.
Change-Id: Ia59bb9d50a0d4e2cd8892faa74e6074725c4776e
CRs-Fixed: 1099277
Diffstat (limited to 'res/layout')
-rwxr-xr-x[-rw-r--r--] | res/layout/video_module.xml | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml index 2456caf82..56f585787 100644..100755 --- a/res/layout/video_module.xml +++ b/res/layout/video_module.xml @@ -77,19 +77,26 @@ android:id="@+id/labels" /> </LinearLayout> </com.android.camera.ui.RotateLayout> - <ImageView android:id="@+id/review_image" - android:layout_height="match_parent" + <FrameLayout android:layout_width="match_parent" - android:visibility="gone" - android:background="@android:color/black"/> - <ImageView - android:id="@+id/btn_play" - style="@style/ReviewControlIcon" - android:layout_centerInParent="true" - android:src="@drawable/ic_gallery_play_big" - android:scaleType="center" - android:visibility="gone" - android:onClick="onReviewPlayClicked"/> + android:layout_height="match_parent"> + <ImageView android:id="@+id/review_image" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:visibility="gone" + android:background="@android:color/black"/> + + <ImageView + android:id="@+id/btn_play" + style="@style/ReviewControlIcon" + android:layout_centerInParent="true" + android:src="@drawable/ic_gallery_play_big" + android:scaleType="center" + android:visibility="gone" + android:layout_gravity="center" + android:onClick="onReviewPlayClicked"/> + </FrameLayout> + <include layout="@layout/camera_controls" android:layout_gravity="center" style="@style/CameraControls"/> |