TintableCompoundDrawablesView
public interface TintableCompoundDrawablesView
AppCompatAutoCompleteTextView |
A |
AppCompatButton |
A |
AppCompatCheckBox |
A |
AppCompatCheckedTextView |
A |
AppCompatEditText |
A |
AppCompatMultiAutoCompleteTextView |
A |
AppCompatRadioButton |
A |
AppCompatTextView |
A |
AppCompatToggleButton |
A |
EmojiAppCompatButton |
AppCompatButton widget enhanced with emoji capability by using |
EmojiAppCompatEditText |
AppCompatEditText widget enhanced with emoji capability by using |
EmojiAppCompatTextView |
AppCompatTextView widget enhanced with emoji capability by using |
GuidedActionAppCompatEditText |
A custom EditText that satisfies the IME key monitoring requirements of GuidedStepFragment. |
MotionButton |
A MotionButton is an AppCompatButton that can round its edges. |
Interface which allows android.widget.TextView and subclasses to tint compound drawables with TextViewCompat when running on API v22 devices or lower.
Summary
Public methods |
|
|---|---|
abstract @Nullable ColorStateList |
Return the tint applied to the compound drawables, if specified. |
abstract @Nullable PorterDuff.Mode |
Returns the blending mode used to apply the tint to the compound drawables, if specified. |
abstract void |
Applies a tint to the compound drawables. |
abstract void |
Specifies the blending mode used to apply the tint specified by |
Public methods
getSupportCompoundDrawablesTintList
abstract @Nullable ColorStateList getSupportCompoundDrawablesTintList()
Return the tint applied to the compound drawables, if specified.
| Returns | |
|---|---|
@Nullable ColorStateList |
the tint applied to the compound drawables |
getSupportCompoundDrawablesTintMode
abstract @Nullable PorterDuff.Mode getSupportCompoundDrawablesTintMode()
Returns the blending mode used to apply the tint to the compound drawables, if specified.
| Returns | |
|---|---|
@Nullable PorterDuff.Mode |
the blending mode used to apply the tint to the compound drawables |
| See also | |
|---|---|
setSupportCompoundDrawablesTintMode |
setSupportCompoundDrawablesTintList
abstract void setSupportCompoundDrawablesTintList(@Nullable ColorStateList tint)
Applies a tint to the compound drawables. Does not modify the current tint mode, which is SRC_IN by default.
Subsequent calls to setCompoundDrawables and related methods will automatically mutate the drawables and apply the specified tint and tint mode.
| Parameters | |
|---|---|
@Nullable ColorStateList tint |
the tint to apply, may be |
| See also | |
|---|---|
getSupportCompoundDrawablesTintList |
setSupportCompoundDrawablesTintMode
abstract void setSupportCompoundDrawablesTintMode(@Nullable PorterDuff.Mode tintMode)
Specifies the blending mode used to apply the tint specified by setSupportCompoundDrawablesTintList to the compound drawables. The default mode is SRC_IN.
| Parameters | |
|---|---|
@Nullable PorterDuff.Mode tintMode |
the blending mode used to apply the tint, may be |