Xml文件  |  49行  |  2.37 KB

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>
    <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" />
        <!-- This drawable is a static version of the above animation drawable.
             In order to speed up inflation, the static drawable is loaded first and
             the animation drawable will be loaded in a worker thread separately. -->
        <attr name="externalRouteEnabledDrawableStatic" format="reference" />
        <!-- Tint to apply to the media route button -->
        <attr name="mediaRouteButtonTint" format="color" />

        <attr name="android:minWidth" />
        <attr name="android:minHeight" />
    </declare-styleable>

    <attr name="mediaRouteButtonStyle" format="reference" />
    <attr name="mediaRouteCloseDrawable" format="reference" />
    <attr name="mediaRoutePlayDrawable" format="reference" />
    <attr name="mediaRoutePauseDrawable" format="reference" />
    <attr name="mediaRouteStopDrawable" format="reference" />
    <attr name="mediaRouteAudioTrackDrawable" format="reference" />
    <attr name="mediaRouteDefaultIconDrawable" format="reference" />
    <attr name="mediaRouteTvIconDrawable" format="reference" />
    <attr name="mediaRouteSpeakerIconDrawable" format="reference" />
    <attr name="mediaRouteSpeakerGroupIconDrawable" format="reference" />
    <attr name="mediaRouteControlPanelThemeOverlay" format="reference" />

    <attr name="mediaRouteTheme" format="reference" />
</resources>