aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-08 21:42:25 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-08 21:42:25 -0800
commitfb69cf8533c74483e873804d9f980e242d737c62 (patch)
treedf3e4890c5a291fcff2d77c69e9458b761048f4a /res
parent4b10c991618aabb2343f49b3f52cb2c697f426cf (diff)
downloaddsub-fb69cf8533c74483e873804d9f980e242d737c62.tar.gz
dsub-fb69cf8533c74483e873804d9f980e242d737c62.tar.bz2
dsub-fb69cf8533c74483e873804d9f980e242d737c62.zip
Converted RC from button to MediaRoute + added Chromecast requires
Diffstat (limited to 'res')
-rw-r--r--res/layout-land/download.xml5
-rw-r--r--res/layout-port/download.xml5
-rw-r--r--res/menu/nowplaying.xml7
-rw-r--r--res/values/strings.xml1
4 files changed, 8 insertions, 10 deletions
diff --git a/res/layout-land/download.xml b/res/layout-land/download.xml
index c71ff4b7..dfdb126a 100644
--- a/res/layout-land/download.xml
+++ b/res/layout-land/download.xml
@@ -48,11 +48,6 @@
android:layout_gravity="center_horizontal">
<Button
- android:id="@+id/download_jukebox"
- android:text="RC"
- style="@style/DownloadActionButton"/>
-
- <Button
android:id="@+id/download_equalizer"
android:text="EQ"
style="@style/DownloadActionButton"/>
diff --git a/res/layout-port/download.xml b/res/layout-port/download.xml
index 7d89baf3..7aa83fb5 100644
--- a/res/layout-port/download.xml
+++ b/res/layout-port/download.xml
@@ -57,11 +57,6 @@
android:layout_gravity="center_horizontal">
<Button
- android:id="@+id/download_jukebox"
- android:text="RC"
- style="@style/DownloadActionButton"/>
-
- <Button
android:id="@+id/download_equalizer"
android:text="EQ"
style="@style/DownloadActionButton"/>
diff --git a/res/menu/nowplaying.xml b/res/menu/nowplaying.xml
index 3c9c5ba6..b67ecf64 100644
--- a/res/menu/nowplaying.xml
+++ b/res/menu/nowplaying.xml
@@ -6,6 +6,13 @@
android:icon="?attr/shuffle"
android:title="@string/download.menu_shuffle"
compat:showAsAction="ifRoom|withText"/>
+
+ <item
+ android:id="@+id/menu_mediaroute"
+ compat:actionProviderClass="android.support.v7.app.MediaRouteActionProvider"
+ compat:actionViewClass="android.support.v7.app.MediaRouteButton"
+ compat:showAsAction="always"
+ android:title="@string/menu.cast"/>
<item
android:id="@+id/menu_remove_all"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1d4398f5..de4070bb 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -84,6 +84,7 @@
<string name="menu.show_artist">Show Artist</string>
<string name="menu.share">Share</string>
<string name="menu.delete_cache">Delete Cache</string>
+ <string name="menu.cast">Cast To Device</string>
<string name="playlist.label">Playlists</string>
<string name="playlist.update_info">Update Information</string>