summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-06-07 20:09:13 +0800
committerChih-Chung Chang <chihchung@google.com>2012-06-18 17:59:58 +0800
commit27b88dc6c971e9ef6253652a18f1baaa99ed6e6f (patch)
treedc11209de1ddf0c0ca96d70be37532b1a7892f61
parent2ac10525348c9eef016265d025e6cdd8ded5fd6f (diff)
downloadandroid_packages_apps_Snap-27b88dc6c971e9ef6253652a18f1baaa99ed6e6f.tar.gz
android_packages_apps_Snap-27b88dc6c971e9ef6253652a18f1baaa99ed6e6f.tar.bz2
android_packages_apps_Snap-27b88dc6c971e9ef6253652a18f1baaa99ed6e6f.zip
Add swipe-to-delete gesture.
Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
-rw-r--r--res/drawable-hdpi/ic_menu_revert_holo_dark.pngbin0 -> 436 bytes
-rw-r--r--res/drawable-hdpi/panel_undo_holo.9.pngbin0 -> 599 bytes
-rw-r--r--res/drawable-mdpi/ic_menu_revert_holo_dark.pngbin0 -> 308 bytes
-rw-r--r--res/drawable-mdpi/panel_undo_holo.9.pngbin0 -> 374 bytes
-rw-r--r--res/drawable-xhdpi/ic_menu_revert_holo_dark.pngbin0 -> 575 bytes
-rw-r--r--res/drawable-xhdpi/panel_undo_holo.9.pngbin0 -> 814 bytes
-rw-r--r--res/values/strings.xml6
7 files changed, 6 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_menu_revert_holo_dark.png b/res/drawable-hdpi/ic_menu_revert_holo_dark.png
new file mode 100644
index 000000000..6165a98a7
--- /dev/null
+++ b/res/drawable-hdpi/ic_menu_revert_holo_dark.png
Binary files differ
diff --git a/res/drawable-hdpi/panel_undo_holo.9.png b/res/drawable-hdpi/panel_undo_holo.9.png
new file mode 100644
index 000000000..2396b2631
--- /dev/null
+++ b/res/drawable-hdpi/panel_undo_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_revert_holo_dark.png b/res/drawable-mdpi/ic_menu_revert_holo_dark.png
new file mode 100644
index 000000000..97ee13da3
--- /dev/null
+++ b/res/drawable-mdpi/ic_menu_revert_holo_dark.png
Binary files differ
diff --git a/res/drawable-mdpi/panel_undo_holo.9.png b/res/drawable-mdpi/panel_undo_holo.9.png
new file mode 100644
index 000000000..291a9368d
--- /dev/null
+++ b/res/drawable-mdpi/panel_undo_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_menu_revert_holo_dark.png b/res/drawable-xhdpi/ic_menu_revert_holo_dark.png
new file mode 100644
index 000000000..48ff5bcda
--- /dev/null
+++ b/res/drawable-xhdpi/ic_menu_revert_holo_dark.png
Binary files differ
diff --git a/res/drawable-xhdpi/panel_undo_holo.9.png b/res/drawable-xhdpi/panel_undo_holo.9.png
new file mode 100644
index 000000000..1dc492792
--- /dev/null
+++ b/res/drawable-xhdpi/panel_undo_holo.9.png
Binary files differ
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 529480c48..899c1e697 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -108,6 +108,12 @@
<string name="cancel">Cancel</string>
<string name="share">Share</string>
+ <!-- The label shown after an image is deleted [CHAR LIMIT=16] -->
+ <string name="deleted">Deleted</string>
+
+ <!-- The label on the button which when clicked will undo a deletion of image [CHAR LIMIT=16]-->
+ <string name="undo">UNDO</string>
+
<!-- String indicating more actions are available -->
<string name="select_all">Select all</string>
<string name="deselect_all">Deselect all</string>