From 6c5a2dd884a861e8d279fb7cd50c11b4c7d68004 Mon Sep 17 00:00:00 2001 From: wqi Date: Thu, 14 Apr 2016 11:25:23 +0800 Subject: Gallery2: Modified layout of crop and exposure model in photo editor. 1. Modified layout in crop model. 2. Remove mirror and draw only keep crop, straighten, rotate in crop model. 3. Adjust style of seekbar in exposure model. 4. Modified layout in exposure model. 5. Remove '4:3', '3:4', '5:7' and '7:5' functions from crop. According to UX specification document. Change-Id: Ib536b3f57a83053bac8fc6ec778675a82b6327e6 CRs-Fixed: 988082 988090 --- res/layout/filtershow_actionbar.xml | 3 +- res/layout/filtershow_category_geometry_panel.xml | 163 ++++++++++++++++++++++ res/layout/filtershow_editor_panel.xml | 9 ++ res/layout/filtershow_seekbar.xml | 56 +++----- 4 files changed, 193 insertions(+), 38 deletions(-) create mode 100644 res/layout/filtershow_category_geometry_panel.xml (limited to 'res/layout') diff --git a/res/layout/filtershow_actionbar.xml b/res/layout/filtershow_actionbar.xml index 7e6d62504..a23ca80b7 100644 --- a/res/layout/filtershow_actionbar.xml +++ b/res/layout/filtershow_actionbar.xml @@ -27,7 +27,7 @@ android:scaleType="fitCenter" android:src="@drawable/cancel" android:layout_gravity="left|center_vertical" - android:paddingStart="16dp" /> + android:paddingStart="6dp" /> diff --git a/res/layout/filtershow_category_geometry_panel.xml b/res/layout/filtershow_category_geometry_panel.xml new file mode 100644 index 000000000..92dc359d6 --- /dev/null +++ b/res/layout/filtershow_category_geometry_panel.xml @@ -0,0 +1,163 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/filtershow_editor_panel.xml b/res/layout/filtershow_editor_panel.xml index 8fc01ecae..b7ec266f2 100644 --- a/res/layout/filtershow_editor_panel.xml +++ b/res/layout/filtershow_editor_panel.xml @@ -22,6 +22,15 @@ android:orientation="vertical" android:visibility="visible" > +