aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-10-25 19:12:32 -0700
committerScott Jackson <daneren2005@gmail.com>2012-10-25 19:12:32 -0700
commit25dd0ebe6389f36a91aeb00a277712f4c5544aa8 (patch)
treeb45f9940565d189c3fdc35fcc071f23501844917 /subsonic-android/res
parent38ca40ecfbbf08486d98560663327ef528c0befb (diff)
downloaddsub-25dd0ebe6389f36a91aeb00a277712f4c5544aa8.tar.gz
dsub-25dd0ebe6389f36a91aeb00a277712f4c5544aa8.tar.bz2
dsub-25dd0ebe6389f36a91aeb00a277712f4c5544aa8.zip
Always have actionbar showing + add toggle button to menu
Diffstat (limited to 'subsonic-android/res')
-rw-r--r--subsonic-android/res/drawable-hdpi-v4/action_toggle_list.pngbin0 -> 552 bytes
-rw-r--r--subsonic-android/res/menu/nowplaying.xml11
-rw-r--r--subsonic-android/res/values/strings.xml1
3 files changed, 9 insertions, 3 deletions
diff --git a/subsonic-android/res/drawable-hdpi-v4/action_toggle_list.png b/subsonic-android/res/drawable-hdpi-v4/action_toggle_list.png
new file mode 100644
index 00000000..87f9280f
--- /dev/null
+++ b/subsonic-android/res/drawable-hdpi-v4/action_toggle_list.png
Binary files differ
diff --git a/subsonic-android/res/menu/nowplaying.xml b/subsonic-android/res/menu/nowplaying.xml
index 62097751..e752eff1 100644
--- a/subsonic-android/res/menu/nowplaying.xml
+++ b/subsonic-android/res/menu/nowplaying.xml
@@ -1,17 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
-
<item
android:id="@+id/menu_shuffle"
android:icon="@drawable/action_shuffle"
android:title="@string/download.menu_shuffle"
- android:showAsAction="always|withText"/>
+ android:showAsAction="ifRoom|withText"/>
<item
android:id="@+id/menu_remove_all"
android:icon="@drawable/action_remove_all"
android:title="@string/download.menu_remove_all"
- android:showAsAction="always|withText"/>
+ android:showAsAction="ifRoom|withText"/>
<item
android:id="@+id/menu_save_playlist"
@@ -26,6 +25,12 @@
android:showAsAction="ifRoom|withText"/>
<item
+ android:id="@+id/menu_toggle"
+ android:icon="@drawable/action_toggle_list"
+ android:title="@string/download.menu_toggle"
+ android:showAsAction="always|withText"/>
+
+ <item
android:id="@+id/menu_toggle_timer"
android:title="@string/download.start_timer"/>
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index ddaf4a9d..57a91515 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -110,6 +110,7 @@
<string name="download.menu_screen_on">Screen on</string>
<string name="download.menu_screen_off">Screen off</string>
<string name="download.menu_shuffle">Shuffle</string>
+ <string name="download.menu_toggle">Toggle</string>
<string name="download.menu_save">Save playlist</string>
<string name="download.menu_shuffle_notification">Playlist was shuffled</string>
<string name="download.playlist_title">Save playlist</string>