AttributeSetStyle

data class AttributeSetStyle(attributeSet: AttributeSet) : Style

Functions

name
Link copied to clipboard
open override fun name(context: Context): String
obtainStyledAttributes
Link copied to clipboard
open override fun obtainStyledAttributes(context: Context, attrs: IntArray): TypedArrayWrapper

Properties

shouldApplyDefaults
Link copied to clipboard
open override val shouldApplyDefaults: Boolean = true
If true then default attribute values will be applied for missing attributes, if false they won't
shouldApplyParent
Link copied to clipboard
open override val shouldApplyParent: Boolean = false
Android framework views apply value from AttributeSet themselves, and each @Styleable view is responsible for applying the AttributeSet to itself, so never apply parents