Skip to content

Instantly share code, notes, and snippets.

@luizguilhermefr
Last active January 31, 2019 13:37
Show Gist options
  • Save luizguilhermefr/9373e6a2927b1376e8392223c7606c14 to your computer and use it in GitHub Desktop.
Save luizguilhermefr/9373e6a2927b1376e8392223c7606c14 to your computer and use it in GitHub Desktop.
Chromecast Sender Application
<!-- Place this file on res/menu (create the menu dir if not there) -->
<!-- You may also create the exit and cast strings on your res/values/string.xml -->
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".MainActivity">
<item
android:id="@+id/media_route_menu_item"
android:title="@string/cast"
app:actionProviderClass="android.support.v7.app.MediaRouteActionProvider"
app:showAsAction="ifRoom" />
<item
android:id="@+id/menu_action_exit"
android:title="@string/exit"
app:showAsAction="never" />
</menu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment