Divider

open class Divider @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_dividerStyle, defStyleRes: Int = R.style.Sdds_Components_Indicator) : View, ColorStateHolder, Shapeable

Компонент Divider.

Parameters

context

контекст

attrs

аттрибуты view

defStyleAttr

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

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_dividerStyle, defStyleRes: Int = R.style.Sdds_Components_Indicator)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var colorState: ColorState?

Состояние внешнего вида Divider

Link copied to clipboard

Ориентация Divider - горизонтальная или вертика

Link copied to clipboard
open override val shape: ShapeModel?
Link copied to clipboard

Толщина разделителя

Functions

Link copied to clipboard
fun setColor(colorStateList: ColorStateList?)

Устанавливает цвет ColorStateList для Divider

fun setColor(colorValueStateList: ColorValueStateList?)

Устанавливает цвет ColorValueStateList для Divider

fun setColor(@ColorInt color: Int)

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