diff options
author | pezhan <pezhan@codeaurora.org> | 2017-01-09 11:19:54 +0800 |
---|---|---|
committer | pezhan <pezhan@codeaurora.org> | 2017-01-11 15:20:31 +0800 |
commit | 326822d1e444da7b227be3c86815e3ee6eb6453d (patch) | |
tree | 09fa64a75d294bbd63faf5298d861197d5e30478 /res/layout/bestpicture_editor.xml | |
parent | 15f6d966c807c371a12f68bf9f5f4e7447a9ba8e (diff) | |
download | android_packages_apps_Snap-326822d1e444da7b227be3c86815e3ee6eb6453d.tar.gz android_packages_apps_Snap-326822d1e444da7b227be3c86815e3ee6eb6453d.tar.bz2 android_packages_apps_Snap-326822d1e444da7b227be3c86815e3ee6eb6453d.zip |
SnapdragonCamera:Fix [FR35432] BestPicture function lost.
Add dialog when saving selected BestPicture.
Add "X" icon display beside camcorder icon to exit BestPicture mode.
Add multiple selections(Three dots beside SAVE)and "X" icon.
Add dialog when select "X" icon.
Add overflow menu with multiple selections to chose "Save All" or
"Delete All" when click overflow menu.
Add click for "Save All" to save all 1o pictures.
Add click for "Delete All" to pop delete all dialog.
Change-Id: I59cdad0f77fde616ea34db4d9d186d322285e394
CRs-Fixed: 1102814, 1102807, 1099428
Diffstat (limited to 'res/layout/bestpicture_editor.xml')
-rw-r--r-- | res/layout/bestpicture_editor.xml | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/res/layout/bestpicture_editor.xml b/res/layout/bestpicture_editor.xml index 6c35c27a1..b90ead01f 100644 --- a/res/layout/bestpicture_editor.xml +++ b/res/layout/bestpicture_editor.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- -Copyright (c) 2016, The Linux Foundation. All rights reserved. +Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -42,17 +42,38 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android:layout_width="match_parent" android:layout_height="50dp" android:background="#b2191919"> + + <ImageView android:layout_width="20dp" + android:layout_height="20dp" + android:id="@+id/delete_best" + android:src="@drawable/x" + android:layout_alignParentLeft="true" + android:layout_marginLeft="25dp" + android:layout_centerVertical="true"/> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_alignParentRight="true"> + android:layout_alignParentRight="true" + android:orientation="horizontal"> + <TextView android:id="@+id/bestpicture_done" android:text="@string/bestpicture_done" android:textColor="#ffffff" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center"/> + android:layout_gravity="center_vertical" + android:layout_marginRight="5dp"/> + + <com.android.camera.ui.RotateImageView + android:id="@+id/best_more" + android:layout_width="25dp" + android:layout_height="25dp" + android:layout_marginRight="10dp" + android:layout_gravity="center_vertical"/> + </LinearLayout> </RelativeLayout> <RelativeLayout |