belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
TintableCompoundButton
  public
  
  
  
  interface
  TintableCompoundButton
  
  
  
| android.support.v4.widget.TintableCompoundButton | 
|  Known Indirect Subclasses | 
Interface which allows a CompoundButton to receive tinting
 calls from CompoundButtonCompat when running on API v20 devices or lower.
Summary
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        ColorStateList | 
      getSupportButtonTintList()
      Returns the tint applied to the button drawable | 
| 
        abstract
        
        
        
        
        PorterDuff.Mode | 
      getSupportButtonTintMode()
      Returns the blending mode used to apply the tint to the button drawable | 
| 
        abstract
        
        
        
        
        void | 
      setSupportButtonTintList(ColorStateList tint)
      Applies a tint to the button drawable. | 
| 
        abstract
        
        
        
        
        void | 
      setSupportButtonTintMode(PorterDuff.Mode tintMode)
      Specifies the blending mode which should be used to apply the tint specified by
  | 
Public methods
getSupportButtonTintList
ColorStateList getSupportButtonTintList ()
Returns the tint applied to the button drawable
| Returns | |
|---|---|
| ColorStateList | |
See also:
getSupportButtonTintMode
PorterDuff.Mode getSupportButtonTintMode ()
Returns the blending mode used to apply the tint to the button drawable
| Returns | |
|---|---|
| PorterDuff.Mode | |
setSupportButtonTintList
void setSupportButtonTintList (ColorStateList tint)
Applies a tint to the button drawable. Does not modify the current tint
 mode, which is SRC_IN by default.
 
 Subsequent calls to
 setButtonDrawable(Drawable)
 should automatically mutate the drawable and apply the specified tint and tint mode.
| Parameters | |
|---|---|
| tint | ColorStateList: the tint to apply, may benullto clear tint | 
setSupportButtonTintMode
void setSupportButtonTintMode (PorterDuff.Mode tintMode)
Specifies the blending mode which should be used to apply the tint specified by
 setSupportButtonTintList(ColorStateList) to the button drawable. The
 default mode is SRC_IN.
| Parameters | |
|---|---|
| tintMode | PorterDuff.Mode: the blending mode used to apply the tint, may benullto clear tint | 
- Interfaces
- Classes- AutoScrollHelper
- CircularProgressDrawable
- CompoundButtonCompat
- ContentLoadingProgressBar
- CursorAdapter
- DrawerLayout
- DrawerLayout.LayoutParams
- DrawerLayout.SavedState
- DrawerLayout.SimpleDrawerListener
- EdgeEffectCompat
- ExploreByTouchHelper
- ImageViewCompat
- ListPopupWindowCompat
- ListViewAutoScrollHelper
- ListViewCompat
- NestedScrollView
- PopupMenuCompat
- PopupWindowCompat
- ResourceCursorAdapter
- ScrollerCompat
- SimpleCursorAdapter
- SlidingPaneLayout
- SlidingPaneLayout.LayoutParams
- SlidingPaneLayout.SimplePanelSlideListener
- Space
- SwipeRefreshLayout
- TextViewCompat
- ViewDragHelper
- ViewDragHelper.Callback
 
