LinearLayout

open class LinearLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = 0) : LinearLayout, Shapeable, HasFocusSelector

Реализация LinearLayout с поддержкой ShapeModel и селектором фокуса

Author

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

Parameters

context

контекст

attrs

аттрибуты view

defStyleAttr

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

Inheritors

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = 0)

Properties

Link copied to clipboard
open override val shape: ShapeModel?

Functions

Link copied to clipboard
open override fun setPressed(pressed: Boolean)
Link copied to clipboard
fun setShape(shape: ShapeModel)

Устанавливает новую форму