CompoundButtonCompat
Helper for accessing CompoundButton.
Functions
Link copied to clipboard
Returns the drawable used as the compound button image
Link copied to clipboard
@Nullable
Returns the tint applied to the button drawable
Link copied to clipboard
Link copied to clipboard
open fun setButtonTintList(@NonNull button: @NonNull CompoundButton, @Nullable tint: @Nullable ColorStateList)
Applies a tint to the button drawable.
Link copied to clipboard
open fun setButtonTintMode(@NonNull button: @NonNull CompoundButton, tintMode: @Nullable PorterDuff.Mode)
Specifies the blending mode used to apply the tint specified by setButtonTintList} to the button drawable.