Skip to content

Most visited

Recently visited

navigation

R.styleable

public static final class R.styleable
extends Object

java.lang.Object
   ↳ android.support.v7.mediarouter.R.styleable


Summary

Fields

public static final int[] MediaRouteButton

Attributes that can be used with a MediaRouteButton.

public static int MediaRouteButton_android_minHeight

This symbol is the offset where the minHeight attribute's value can be found in the MediaRouteButton array.

public static int MediaRouteButton_android_minWidth

This symbol is the offset where the minWidth attribute's value can be found in the MediaRouteButton array.

public static int MediaRouteButton_externalRouteEnabledDrawable

This drawable is a state list where the "checked" state indicates active media routing.

public static int MediaRouteButton_externalRouteEnabledDrawableStatic

This drawable is a static version of the above animation drawable.

public static int MediaRouteButton_mediaRouteButtonTint

Tint to apply to the media route button

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Public constructors

R.styleable()

Inherited methods

From class java.lang.Object

Fields

MediaRouteButton

int[] MediaRouteButton

Attributes that can be used with a MediaRouteButton.

Includes the following attributes:

AttributeDescription
android.support.v7.mediarouter:externalRouteEnabledDrawableThis drawable is a state list where the "checked" state indicates active media routing.
android.support.v7.mediarouter:externalRouteEnabledDrawableStaticThis drawable is a static version of the above animation drawable.
android.support.v7.mediarouter:mediaRouteButtonTintTint to apply to the media route button
android:minWidth
android:minHeight

See also:

MediaRouteButton_android_minHeight

int MediaRouteButton_android_minHeight

This symbol is the offset where the minHeight attribute's value can be found in the MediaRouteButton array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

MediaRouteButton_android_minWidth

int MediaRouteButton_android_minWidth

This symbol is the offset where the minWidth attribute's value can be found in the MediaRouteButton array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

MediaRouteButton_externalRouteEnabledDrawable

int MediaRouteButton_externalRouteEnabledDrawable

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MediaRouteButton_externalRouteEnabledDrawableStatic

int MediaRouteButton_externalRouteEnabledDrawableStatic

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MediaRouteButton_mediaRouteButtonTint

int MediaRouteButton_mediaRouteButtonTint

Tint to apply to the media route button

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Public constructors

R.styleable

R.styleable ()

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.