Android APIs
public class

TintCheckBox

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

Class Overview

An tint aware CheckBox.

This will automatically be used when you use CheckBox 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
TintCheckBox(Context context)
TintCheckBox(Context context, AttributeSet attrs)
TintCheckBox(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.CheckBox
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 TintCheckBox (Context context)

public TintCheckBox (Context context, AttributeSet attrs)

public TintCheckBox (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