RadioBox

open class RadioBox @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = android.R.attr.radioButtonStyle) : AppCompatRadioButton

Компонент RadioBox

Author

Малышев Александр on 03.06.2024

Parameters

context

контекст

attrs

аттрибуты view

defStyleAttr

аттрибут стиля по умолчанию

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = android.R.attr.radioButtonStyle)

Properties

Link copied to clipboard

Текст-описание

Functions

Link copied to clipboard
open override fun getButtonDrawable(): Drawable?
Link copied to clipboard
override fun setButtonDrawable(buttonDrawable: Drawable?)
Link copied to clipboard
override fun setButtonIcon(icon: Icon?)
Link copied to clipboard
open fun setDescriptionTextAppearance(@StyleRes textAppearanceId: Int)

Устанавливает стиль дополнительного текста по идентификатору стиля в ресурсах

Link copied to clipboard

Устанавливает цвет дополнительного текста

Link copied to clipboard

Устанавливает цвет дополнительного текста по идентификатору

Link copied to clipboard

Устанавливает цвета дополнительного текста

Link copied to clipboard
open override fun setEnabled(enabled: Boolean)
Link copied to clipboard
open fun setRadioBoxColors(borderColors: ColorStateList?, boxColors: ColorStateList?, checkMarkColors: ColorStateList?)

Устанавливает цвета для getButtonDrawable.