aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorjruesga <jorge@ruesga.com>2013-07-02 23:43:25 +0200
committerjruesga <jorge@ruesga.com>2013-07-02 23:43:25 +0200
commitcd2132689e0da3f1d71e49edc0e3040aa58faa26 (patch)
tree283dc99fa4e068881f29adbc574af265f2b8c44e /res
parent3dd2a72ffbc6a589ffef60ee326f83adbee20b99 (diff)
downloadandroid_packages_wallpapers_PhotoPhase-cd2132689e0da3f1d71e49edc0e3040aa58faa26.tar.gz
android_packages_wallpapers_PhotoPhase-cd2132689e0da3f1d71e49edc0e3040aa58faa26.tar.bz2
android_packages_wallpapers_PhotoPhase-cd2132689e0da3f1d71e49edc0e3040aa58faa26.zip
Add restore option in album preference
Signed-off-by: jruesga <jorge@ruesga.com>
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_restore.pngbin0 -> 1201 bytes
-rw-r--r--res/drawable-mdpi/ic_restore.pngbin0 -> 756 bytes
-rw-r--r--res/drawable-xhdpi/ic_restore.pngbin0 -> 1595 bytes
-rw-r--r--res/menu/choose_preference.xml (renamed from res/menu/albums.xml)4
-rw-r--r--res/values/strings.xml1
5 files changed, 5 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_restore.png b/res/drawable-hdpi/ic_restore.png
new file mode 100644
index 0000000..69dd3d4
--- /dev/null
+++ b/res/drawable-hdpi/ic_restore.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_restore.png b/res/drawable-mdpi/ic_restore.png
new file mode 100644
index 0000000..89d6b7b
--- /dev/null
+++ b/res/drawable-mdpi/ic_restore.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_restore.png b/res/drawable-xhdpi/ic_restore.png
new file mode 100644
index 0000000..89a450d
--- /dev/null
+++ b/res/drawable-xhdpi/ic_restore.png
Binary files differ
diff --git a/res/menu/albums.xml b/res/menu/choose_preference.xml
index 4a64b62..435e4da 100644
--- a/res/menu/albums.xml
+++ b/res/menu/choose_preference.xml
@@ -15,6 +15,10 @@
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/mnu_restore"
+ android:title="@string/mnu_restore"
+ android:icon="@drawable/ic_restore"
+ android:showAsAction="always|withText" />
<item android:id="@+id/mnu_ok"
android:title="@string/mnu_ok"
android:icon="@drawable/ic_accept"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d900967..9ece6be 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -25,6 +25,7 @@
<!-- Menus -->
<string name="mnu_ok" translatable="false">@android:string/ok</string>
+ <string name="mnu_restore">Restore</string>
<string name="mnu_settings">Settings</string>
<string name="mnu_select_all">Select all</string>
<string name="mnu_deselect_all">Deselect all</string>