mirror of
https://github.com/Michatec/Radio.git
synced 2026-05-31 06:52:40 +02:00
feat(cast): implement Google Cast support and expanded controller activity
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?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">
|
||||
|
||||
<item
|
||||
android:id="@+id/media_route_menu_item"
|
||||
android:title="@string/media_route_menu_title"
|
||||
app:actionProviderClass="androidx.mediarouter.app.MediaRouteActionProvider"
|
||||
app:showAsAction="always" />
|
||||
|
||||
</menu>
|
||||
@@ -27,4 +27,10 @@
|
||||
<!-- Don't show light status bar -->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="CustomCastExpandedControllerStyle" parent="CastExpandedController">
|
||||
<item name="android:windowBackground">#FFFFFF</item>
|
||||
<item name="castBackground">#FFFFFF</item>
|
||||
<item name="castButtonColor">#FF495D92</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
@@ -157,4 +157,5 @@
|
||||
|
||||
<!-- Extras -->
|
||||
<string name="loading">Loading...</string>
|
||||
<string name="media_route_menu_title">Cast</string>
|
||||
</resources>
|
||||
|
||||
@@ -74,4 +74,10 @@
|
||||
<item name="cornerSizeBottomRight">16dp</item>
|
||||
<item name="cornerFamilyBottomRight">rounded</item>
|
||||
</style>
|
||||
|
||||
<style name="CustomCastExpandedControllerStyle" parent="CastExpandedController">
|
||||
<item name="android:windowBackground">#FFFFFF</item>
|
||||
<item name="castBackground">#FFFFFF</item>
|
||||
<item name="castButtonColor">#FF495D92</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user