Set MediaRouter button tint.

This commit is contained in:
Antoine POPINEAU 2020-06-21 16:30:57 +02:00
parent f2d6281d7f
commit 3654e28c0c
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
1 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,8 @@
<item name="buttonBarNegativeButtonStyle">@style/AppTheme.DialogButtonStyle</item>
<item name="buttonBarPositiveButtonStyle">@style/AppTheme.DialogButtonStyle</item>
<item name="mediaRouteTheme">@style/AppTheme.MediaRouteTheme</item>
</style>
<style name="AppTheme.Fragment"></style>
@ -99,4 +101,12 @@
<item name="android:textColor">@android:color/white</item>
</style>
<style name="AppTheme.MediaRouteTheme" parent="Theme.MediaRouter">
<item name="mediaRouteButtonStyle">@style/AppTheme.MediaRouteTheme.ButtonStyle</item>
</style>
<style name="AppTheme.MediaRouteTheme.ButtonStyle" parent="Widget.MediaRouter.Light.MediaRouteButton">
<item name="mediaRouteButtonTint">@android:color/white</item>
</style>
</resources>