summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorzdi <zdi@codeaurora.org>2016-02-26 13:55:04 +0800
committerzdi <zdi@codeaurora.org>2016-03-14 16:27:58 +0800
commitc30b1637dd9bcbb74aa697365e52156cd956135e (patch)
tree27f6d9e5b87934e0f0b13f4a28b32c3d8689e62b /res
parent97b5b5bdf26970e8873ada05de73555a9872c933 (diff)
downloadandroid_packages_apps_Gallery2-c30b1637dd9bcbb74aa697365e52156cd956135e.tar.gz
android_packages_apps_Gallery2-c30b1637dd9bcbb74aa697365e52156cd956135e.tar.bz2
android_packages_apps_Gallery2-c30b1637dd9bcbb74aa697365e52156cd956135e.zip
Gallery2: Adjust the UI in trim video.
Adjust the UI in trim video according to UX specification document. Change-Id: I46d06355f0f5c835acf123f4d44466306e831a9a CRs-Fixed: 986776
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/bg_vidcontrol.pngbin9346 -> 0 bytes
-rw-r--r--res/drawable-hdpi/text_select_handle_left.pngbin1667 -> 1148 bytes
-rw-r--r--res/drawable-hdpi/text_select_handle_right.pngbin1762 -> 1148 bytes
-rw-r--r--res/drawable-mdpi/bg_vidcontrol.pngbin5543 -> 0 bytes
-rw-r--r--res/drawable-mdpi/text_select_handle_left.pngbin1117 -> 1195 bytes
-rw-r--r--res/drawable-mdpi/text_select_handle_right.pngbin1201 -> 1178 bytes
-rw-r--r--res/drawable-sw600dp/bg_vidcontrol.pngbin9346 -> 0 bytes
-rw-r--r--res/drawable-xhdpi/bg_vidcontrol.pngbin14666 -> 0 bytes
-rw-r--r--res/drawable-xhdpi/text_select_handle_left.pngbin2239 -> 1234 bytes
-rw-r--r--res/drawable-xhdpi/text_select_handle_right.pngbin2373 -> 1234 bytes
-rw-r--r--res/drawable-xxhdpi/text_select_handle_left.pngbin0 -> 1389 bytes
-rw-r--r--res/drawable-xxhdpi/text_select_handle_right.pngbin0 -> 1401 bytes
-rw-r--r--res/drawable/bg_vidcontrol.xml40
-rw-r--r--res/layout/trim_menu.xml10
-rwxr-xr-xres/values/strings.xml2
15 files changed, 49 insertions, 3 deletions
diff --git a/res/drawable-hdpi/bg_vidcontrol.png b/res/drawable-hdpi/bg_vidcontrol.png
deleted file mode 100644
index dfe2da136..000000000
--- a/res/drawable-hdpi/bg_vidcontrol.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/text_select_handle_left.png b/res/drawable-hdpi/text_select_handle_left.png
index d2ed06dd5..abefa9ebd 100644
--- a/res/drawable-hdpi/text_select_handle_left.png
+++ b/res/drawable-hdpi/text_select_handle_left.png
Binary files differ
diff --git a/res/drawable-hdpi/text_select_handle_right.png b/res/drawable-hdpi/text_select_handle_right.png
index e4192499b..5679a1739 100644
--- a/res/drawable-hdpi/text_select_handle_right.png
+++ b/res/drawable-hdpi/text_select_handle_right.png
Binary files differ
diff --git a/res/drawable-mdpi/bg_vidcontrol.png b/res/drawable-mdpi/bg_vidcontrol.png
deleted file mode 100644
index 5a5ce5571..000000000
--- a/res/drawable-mdpi/bg_vidcontrol.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/text_select_handle_left.png b/res/drawable-mdpi/text_select_handle_left.png
index 750cdea50..2ef6f7cfa 100644
--- a/res/drawable-mdpi/text_select_handle_left.png
+++ b/res/drawable-mdpi/text_select_handle_left.png
Binary files differ
diff --git a/res/drawable-mdpi/text_select_handle_right.png b/res/drawable-mdpi/text_select_handle_right.png
index fc3d14497..9e426c764 100644
--- a/res/drawable-mdpi/text_select_handle_right.png
+++ b/res/drawable-mdpi/text_select_handle_right.png
Binary files differ
diff --git a/res/drawable-sw600dp/bg_vidcontrol.png b/res/drawable-sw600dp/bg_vidcontrol.png
deleted file mode 100644
index dfe2da136..000000000
--- a/res/drawable-sw600dp/bg_vidcontrol.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/bg_vidcontrol.png b/res/drawable-xhdpi/bg_vidcontrol.png
deleted file mode 100644
index 0eb814815..000000000
--- a/res/drawable-xhdpi/bg_vidcontrol.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/text_select_handle_left.png b/res/drawable-xhdpi/text_select_handle_left.png
index 98d10c929..cfa3bb0c8 100644
--- a/res/drawable-xhdpi/text_select_handle_left.png
+++ b/res/drawable-xhdpi/text_select_handle_left.png
Binary files differ
diff --git a/res/drawable-xhdpi/text_select_handle_right.png b/res/drawable-xhdpi/text_select_handle_right.png
index b3a0c9f47..90c8869bb 100644
--- a/res/drawable-xhdpi/text_select_handle_right.png
+++ b/res/drawable-xhdpi/text_select_handle_right.png
Binary files differ
diff --git a/res/drawable-xxhdpi/text_select_handle_left.png b/res/drawable-xxhdpi/text_select_handle_left.png
new file mode 100644
index 000000000..dbfa59c83
--- /dev/null
+++ b/res/drawable-xxhdpi/text_select_handle_left.png
Binary files differ
diff --git a/res/drawable-xxhdpi/text_select_handle_right.png b/res/drawable-xxhdpi/text_select_handle_right.png
new file mode 100644
index 000000000..f16101709
--- /dev/null
+++ b/res/drawable-xxhdpi/text_select_handle_right.png
Binary files differ
diff --git a/res/drawable/bg_vidcontrol.xml b/res/drawable/bg_vidcontrol.xml
new file mode 100644
index 000000000..fcfacf183
--- /dev/null
+++ b/res/drawable/bg_vidcontrol.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2016, 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
+ met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportHeight="48.0"
+ android:viewportWidth="48.0">
+ <path
+ android:fillColor="#FF000000"
+ android:fillAlpha="0.5"
+ android:pathData="M24,24m-24,0a24,24 0,1 1,48 0a24,24 0,1 1,-48 0" />
+</vector>
diff --git a/res/layout/trim_menu.xml b/res/layout/trim_menu.xml
index c46be4c4b..164264546 100644
--- a/res/layout/trim_menu.xml
+++ b/res/layout/trim_menu.xml
@@ -18,6 +18,11 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerVertical="true">
+ <ImageView
+ android:id="@+id/exit_trim"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:src="@drawable/cancel"/>
<TextView
android:id="@+id/start_trim"
android:layout_marginStart="8dp"
@@ -25,8 +30,9 @@
android:layout_height="match_parent"
android:text="@string/save"
android:textAllCaps="true"
- android:textSize="14sp"
+ android:layout_gravity="right"
+ android:textSize="16sp"
+ android:textColor="@color/primary_text"
android:gravity="left|center_vertical"
- android:drawableStart="@drawable/menu_save_photo"
android:drawablePadding="8dp" />
</FrameLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7bf28763a..516c5be99 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -543,7 +543,7 @@
<string name="pano_progress_text">Rendering panorama</string>
<!-- The label on the button that will save an edited image -->
- <string name="save" msgid="8140440041190264400">Done</string>
+ <string name="save" msgid="8140440041190264400">Save</string>
<!-- A label representing the action of importing media item(s) [CHAR LIMIT=20] -->
<string name="ingest_import">@string/Import</string>