CheckableImageButton

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet)
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Functions

Link copied to clipboard
open fun isCheckable(): Boolean
Returns whether the image button is checkable.
Link copied to clipboard
open fun isChecked(): Boolean
Link copied to clipboard
open fun isPressable(): Boolean
Returns whether the image button is pressable.
Link copied to clipboard
open fun onCreateDrawableState(extraSpace: Int): Array<Int>
Link copied to clipboard
open fun setCheckable(checkable: Boolean)
Sets image button to be checkable or not.
Link copied to clipboard
open fun setChecked(checked: Boolean)
Link copied to clipboard
open fun setPressable(pressable: Boolean)
Sets image button to be pressable or not.
Link copied to clipboard
open fun setPressed(pressed: Boolean)
Link copied to clipboard
open fun toggle()