Package io.scanbot.sdk.ui.utils
Class TintableImageButton
-
- All Implemented Interfaces:
public class TintableImageButton
Allows to set color filter for image source drawable
-
-
Constructor Summary
Constructors Constructor Description TintableImageButton(Context context, AttributeSet attrs)
TintableImageButton(Context context, AttributeSet attrs, Integer defStyleAttr)
-
Method Summary
Modifier and Type Method Description Unit
drawableStateChanged()
final Unit
setColorFilter(ColorStateList tint)
Sets color filter using ColorStateList rather than just color -
-
Constructor Detail
-
TintableImageButton
TintableImageButton(Context context, AttributeSet attrs)
-
TintableImageButton
TintableImageButton(Context context, AttributeSet attrs, Integer defStyleAttr)
-
-
Method Detail
-
drawableStateChanged
Unit drawableStateChanged()
-
setColorFilter
final Unit setColorFilter(ColorStateList tint)
Sets color filter using ColorStateList rather than just color
-
-
-
-