aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-22 11:06:44 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-22 11:06:44 -0800
commitbe9219c4610a31f7a74ba9889a21cc1e0daff2a7 (patch)
tree97233c5969eda3e73d1a82ba0a5917e4c50bb253 /res
parenta8d3785fc7685b097f305caedfc2f66aaaba6aee (diff)
downloaddsub-be9219c4610a31f7a74ba9889a21cc1e0daff2a7.tar.gz
dsub-be9219c4610a31f7a74ba9889a21cc1e0daff2a7.tar.bz2
dsub-be9219c4610a31f7a74ba9889a21cc1e0daff2a7.zip
#285 Add support for offline ChromeCast
Diffstat (limited to 'res')
-rw-r--r--res/menu/nowplaying_offline.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/res/menu/nowplaying_offline.xml b/res/menu/nowplaying_offline.xml
index 41d1d5d1..7656bf34 100644
--- a/res/menu/nowplaying_offline.xml
+++ b/res/menu/nowplaying_offline.xml
@@ -7,12 +7,19 @@
android:icon="?attr/shuffle"
android:title="@string/download.menu_shuffle"
compat:showAsAction="always|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"
android:icon="?attr/remove"
android:title="@string/download.menu_remove_all"
- compat:showAsAction="always|withText"/>
+ compat:showAsAction="ifRoom|withText"/>
<item
android:id="@+id/menu_screen_on_off"