belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
TintableBackgroundView
  public
  
  
  
  interface
  TintableBackgroundView
  
  
  
| android.support.v4.view.TintableBackgroundView | 
|  Known Indirect Subclasses | 
Interface which allows a View to receive background tinting calls from
 ViewCompat when running on API v20 devices or lower.
Summary
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        ColorStateList | 
      getSupportBackgroundTintList()
      Return the tint applied to the background drawable, if specified. | 
| 
        abstract
        
        
        
        
        PorterDuff.Mode | 
      getSupportBackgroundTintMode()
      Return the blending mode used to apply the tint to the background drawable, if specified. | 
| 
        abstract
        
        
        
        
        void | 
      setSupportBackgroundTintList(ColorStateList tint)
      Applies a tint to the background drawable. | 
| 
        abstract
        
        
        
        
        void | 
      setSupportBackgroundTintMode(PorterDuff.Mode tintMode)
      Specifies the blending mode used to apply the tint specified by
  | 
Public methods
getSupportBackgroundTintList
ColorStateList getSupportBackgroundTintList ()
Return the tint applied to the background drawable, if specified.
| Returns | |
|---|---|
| ColorStateList | the tint applied to the background drawable | 
getSupportBackgroundTintMode
PorterDuff.Mode getSupportBackgroundTintMode ()
Return the blending mode used to apply the tint to the background drawable, if specified.
| Returns | |
|---|---|
| PorterDuff.Mode | the blending mode used to apply the tint to the background drawable | 
setSupportBackgroundTintList
void setSupportBackgroundTintList (ColorStateList tint)
Applies a tint to the background drawable. Does not modify the current tint
 mode, which is SRC_IN by default.
 
 Subsequent calls to View.setBackground(Drawable) will automatically
 mutate the drawable and apply the specified tint and tint mode.
| Parameters | |
|---|---|
| tint | ColorStateList: the tint to apply, may benullto clear tint | 
See also:
setSupportBackgroundTintMode
void setSupportBackgroundTintMode (PorterDuff.Mode tintMode)
Specifies the blending mode used to apply the tint specified by
 setSupportBackgroundTintList(ColorStateList)} to the background
 drawable. The default mode is SRC_IN.
| Parameters | |
|---|---|
| tintMode | PorterDuff.Mode: the blending mode used to apply the tint, may benullto clear tint | 
See also:
- Annotations
- Interfaces- ActionProvider.VisibilityListener
- AsyncLayoutInflater.OnInflateFinishedListener
- LayoutInflaterFactory
- MenuItemCompat.OnActionExpandListener
- NestedScrollingChild
- NestedScrollingChild2
- NestedScrollingParent
- NestedScrollingParent2
- OnApplyWindowInsetsListener
- ScrollingView
- TintableBackgroundView
- ViewPager.OnAdapterChangeListener
- ViewPager.OnPageChangeListener
- ViewPager.PageTransformer
- ViewPropertyAnimatorListener
- ViewPropertyAnimatorUpdateListener
 
- Classes- AbsSavedState
- AccessibilityDelegateCompat
- ActionProvider
- AsyncLayoutInflater
- GestureDetectorCompat
- GravityCompat
- InputDeviceCompat
- LayoutInflaterCompat
- MarginLayoutParamsCompat
- MenuCompat
- MenuItemCompat
- MotionEventCompat
- NestedScrollingChildHelper
- NestedScrollingParentHelper
- PagerAdapter
- PagerTabStrip
- PagerTitleStrip
- PointerIconCompat
- ScaleGestureDetectorCompat
- VelocityTrackerCompat
- ViewCompat
- ViewConfigurationCompat
- ViewGroupCompat
- ViewPager
- ViewPager.LayoutParams
- ViewPager.SavedState
- ViewPager.SimpleOnPageChangeListener
- ViewParentCompat
- ViewPropertyAnimatorCompat
- ViewPropertyAnimatorListenerAdapter
- WindowCompat
- WindowInsetsCompat
 
