Android 12 Developer Preview is here! Try it out, and give us your feedback!

TintableBackgroundView

interface TintableBackgroundView
androidx.core.view.TintableBackgroundView

Interface which allows a android.view.View to receive background tinting calls from ViewCompat when running on API v20 devices or lower.

Summary

Public methods
abstract ColorStateList?

Return the tint applied to the background drawable, if specified.

abstract Mode?

Return the blending mode used to apply the tint to the background drawable, if specified.

abstract Unit

Applies a tint to the background drawable.

abstract