Android APIs
public class

TintRadioButton

extends RadioButton
java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.widget.Button
         ↳ android.widget.CompoundButton
           ↳ android.widget.RadioButton
             ↳ android.support.v7.internal.widget.TintRadioButton

Class Overview

An tint aware RadioButton.

This will automatically be used when you use RadioButton in your layouts. You should only need to manually use this class when writing custom views.

Summary

[Expand]
Inherited XML Attributes
From class android.widget.CompoundButton
From class android.widget.TextView
From class android.view.View
[Expand]
Inherited Constants
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
TintRadioButton(Context context)
TintRadioButton(Context context, AttributeSet attrs)
TintRadioButton(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
void setButtonDrawable(int resid)
Set the button graphic to a given Drawable, identified by its resource id.
[Expand]
Inherited Methods
From class android.widget.RadioButton
From class android.widget.CompoundButton
From class android.widget.Button
From class android.widget.TextView
From class android.view.View
From class java.lang.Object
From interface android.widget.Checkable
From interface android.view.ViewTreeObserver.OnPreDrawListener
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public TintRadioButton (Context context)

public TintRadioButton (Context context, AttributeSet attrs)

public TintRadioButton (Context context, AttributeSet attrs, int defStyleAttr)

Public Methods

public void setButtonDrawable (int resid)

Set the button graphic to a given Drawable, identified by its resource id.

Parameters
resid the resource id of the drawable to use as the button graphic