63 lines
3.6 KiB
XML
63 lines
3.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<resources>
|
||
|
|
||
|
<!-- From: file:/Volumes/Android/int/jb-mr2-ub-dev/frameworks/support/v7/mediarouter/res/values/attrs.xml -->
|
||
|
<attr name="mediaRouteButtonStyle" format="reference" />
|
||
|
<attr name="mediaRouteConnectingDrawable" format="reference" />
|
||
|
<attr name="mediaRouteOffDrawable" format="reference" />
|
||
|
<attr name="mediaRouteOnDrawable" format="reference" />
|
||
|
|
||
|
<declare-styleable name="MediaRouteButton">
|
||
|
|
||
|
<!--
|
||
|
This drawable is a state list where the "checked" state
|
||
|
indicates active media routing. Checkable indicates connecting
|
||
|
and non-checked / non-checkable indicates
|
||
|
that media is playing to the local device only.
|
||
|
-->
|
||
|
<attr name="externalRouteEnabledDrawable" format="reference" />
|
||
|
<attr name="android:minWidth" />
|
||
|
<attr name="android:minHeight" />
|
||
|
</declare-styleable>
|
||
|
<!-- From: file:/Volumes/Android/int/jb-mr2-ub-dev/frameworks/support/v7/mediarouter/res/values/strings.xml -->
|
||
|
<string name="mr_media_route_button_content_description">Media output</string>
|
||
|
<string name="mr_media_route_chooser_searching">Searching for devices\u2026</string>
|
||
|
<string name="mr_media_route_chooser_title">Connect to device</string>
|
||
|
<string name="mr_media_route_controller_disconnect">Disconnect</string>
|
||
|
<string name="mr_system_route_name">System</string>
|
||
|
<string name="mr_user_route_category_name">Devices</string>
|
||
|
<!-- From: file:/Volumes/Android/int/jb-mr2-ub-dev/frameworks/support/v7/mediarouter/res/values/themes.xml -->
|
||
|
<style name="Theme.MediaRouter" parent="">
|
||
|
<item name="mediaRouteButtonStyle">@style/Widget.MediaRouter.MediaRouteButton</item>
|
||
|
<item name="mediaRouteOffDrawable">@drawable/mr_ic_media_route_off_holo_dark</item>
|
||
|
<item name="mediaRouteConnectingDrawable">@drawable/mr_ic_media_route_connecting_holo_dark</item>
|
||
|
<item name="mediaRouteOnDrawable">@drawable/mr_ic_media_route_on_holo_dark</item>
|
||
|
</style>
|
||
|
|
||
|
<style name="Theme.MediaRouter.Light" parent="">
|
||
|
<item name="mediaRouteButtonStyle">@style/Widget.MediaRouter.Light.MediaRouteButton</item>
|
||
|
<item name="mediaRouteOffDrawable">@drawable/mr_ic_media_route_off_holo_light</item>
|
||
|
<item name="mediaRouteConnectingDrawable">@drawable/mr_ic_media_route_connecting_holo_light</item>
|
||
|
<item name="mediaRouteOnDrawable">@drawable/mr_ic_media_route_on_holo_light</item>
|
||
|
</style>
|
||
|
<!-- From: file:/Volumes/Android/int/jb-mr2-ub-dev/frameworks/support/v7/mediarouter/res/values/styles.xml -->
|
||
|
<style name="Widget.MediaRouter.Light.MediaRouteButton" parent="Widget.AppCompat.Light.ActionButton">
|
||
|
<item name="android:minWidth">56dp</item>
|
||
|
<item name="android:minHeight">48dp</item>
|
||
|
<item name="android:padding">0dp</item>
|
||
|
<item name="android:focusable">true</item>
|
||
|
<item name="android:contentDescription">@string/mr_media_route_button_content_description</item>
|
||
|
<item name="externalRouteEnabledDrawable">@drawable/mr_ic_media_route_holo_light</item>
|
||
|
</style>
|
||
|
|
||
|
<style name="Widget.MediaRouter.MediaRouteButton" parent="Widget.AppCompat.ActionButton">
|
||
|
<item name="android:minWidth">56dp</item>
|
||
|
<item name="android:minHeight">48dp</item>
|
||
|
<item name="android:padding">0dp</item>
|
||
|
<item name="android:focusable">true</item>
|
||
|
<item name="android:contentDescription">@string/mr_media_route_button_content_description</item>
|
||
|
<item name="externalRouteEnabledDrawable">@drawable/mr_ic_media_route_holo_dark</item>
|
||
|
</style>
|
||
|
|
||
|
</resources>
|