From ad5509e1fcd462a95d6ded18cd2260bb2ea7f370 Mon Sep 17 00:00:00 2001 From: Chao Zhang Date: Mon, 6 Jun 2016 10:39:35 +0800 Subject: Gallery: Modify some layout according to UX. 1. change MovieActivity Theme. 2. change toolbar's theme. 3. modify Straighten editor layout. 4. modify click effect of "Video Snapshot" and "Editor Comparison". 5. modify layout of trim video's timebar. 6. change video gesture's max to 1min. 7. fix the selected picture is not selected after onPause() in AlbumPage. Change-Id: Ief77f0efa3c9c1134eb3032992c797218a46db46 CRs-Fixed: 1032085 --- res/drawable/comparison.xml | 35 ++++++++++++++++++ res/drawable/ic_video_snapshot.xml | 2 +- res/drawable/ic_video_snapshot_padding_pressed.xml | 38 +++++++++++++++++++ res/drawable/ic_video_snapshot_pressed.xml | 43 ++++++++++++++++++++++ res/drawable/ic_video_snapshot_selector.xml | 36 ++++++++++++++++++ res/layout/filtershow_activity.xml | 2 +- res/values/styles.xml | 9 +++-- 7 files changed, 160 insertions(+), 5 deletions(-) create mode 100644 res/drawable/comparison.xml create mode 100644 res/drawable/ic_video_snapshot_padding_pressed.xml create mode 100644 res/drawable/ic_video_snapshot_pressed.xml create mode 100644 res/drawable/ic_video_snapshot_selector.xml (limited to 'res') diff --git a/res/drawable/comparison.xml b/res/drawable/comparison.xml new file mode 100644 index 000000000..36c5331ea --- /dev/null +++ b/res/drawable/comparison.xml @@ -0,0 +1,35 @@ + + + + + + + + diff --git a/res/drawable/ic_video_snapshot.xml b/res/drawable/ic_video_snapshot.xml index df5b00f5e..a0d7f45e6 100644 --- a/res/drawable/ic_video_snapshot.xml +++ b/res/drawable/ic_video_snapshot.xml @@ -35,7 +35,7 @@ android:viewportWidth="108.0"> + + + + diff --git a/res/drawable/ic_video_snapshot_pressed.xml b/res/drawable/ic_video_snapshot_pressed.xml new file mode 100644 index 000000000..da65406cf --- /dev/null +++ b/res/drawable/ic_video_snapshot_pressed.xml @@ -0,0 +1,43 @@ + + + + + + + diff --git a/res/drawable/ic_video_snapshot_selector.xml b/res/drawable/ic_video_snapshot_selector.xml new file mode 100644 index 000000000..22846e05b --- /dev/null +++ b/res/drawable/ic_video_snapshot_selector.xml @@ -0,0 +1,36 @@ + + + + + + + + diff --git a/res/layout/filtershow_activity.xml b/res/layout/filtershow_activity.xml index 2a7ea6d33..1c58e1209 100644 --- a/res/layout/filtershow_activity.xml +++ b/res/layout/filtershow_activity.xml @@ -54,7 +54,7 @@ android:layout_marginRight="@dimen/compare_margin_right" android:layout_marginTop="@dimen/compare_margin_top" android:background="@android:color/transparent" - android:src="@drawable/comparison_before" + android:src="@drawable/comparison" android:visibility="visible" /> diff --git a/res/values/styles.xml b/res/values/styles.xml index 02a79df5f..dc4b9ae7d 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -41,6 +41,8 @@ + - - -- cgit v1.2.3