TintableCompoundButton

Interface which allows a android.widget.CompoundButton to receive tinting calls from CompoundButtonCompat when running on API v20 devices or lower.

Functions

Link copied to clipboard
@Nullable
abstract fun getSupportButtonTintList(): @Nullable ColorStateList
Returns the tint applied to the button drawable
Link copied to clipboard
abstract fun getSupportButtonTintMode(): @Nullable PorterDuff.Mode
Returns the blending mode used to apply the tint to the button drawable
Link copied to clipboard
abstract fun setSupportButtonTintList(@Nullable tint: @Nullable ColorStateList)
Applies a tint to the button drawable.
Link copied to clipboard
abstract fun setSupportButtonTintMode(tintMode: @Nullable PorterDuff.Mode)
Specifies the blending mode which should be used to apply the tint specified by setSupportButtonTintList to the button drawable.