-
- All Implemented Interfaces:
-
com.airbnb.paris.styles.Style
public final class AttributeSetStyle implements Style
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanshouldApplyParentprivate final BooleanshouldApplyDefaults
-
Constructor Summary
Constructors Constructor Description AttributeSetStyle(AttributeSet attributeSet)
-
Method Summary
Modifier and Type Method Description BooleangetShouldApplyParent()Android framework views apply value from AttributeSet themselves, and each @Styleable view is responsible for applying the AttributeSet to itself, so never apply parents BooleangetShouldApplyDefaults()If true then default attribute values will be applied for missing attributes, if false they won't Stringname(Context context)TypedArrayWrapperobtainStyledAttributes(Context context, IntArray attrs)-
-
Constructor Detail
-
AttributeSetStyle
AttributeSetStyle(AttributeSet attributeSet)
-
-
Method Detail
-
getShouldApplyParent
Boolean getShouldApplyParent()
Android framework views apply value from AttributeSet themselves, and each @Styleable view is responsible for applying the AttributeSet to itself, so never apply parents
-
getShouldApplyDefaults
Boolean getShouldApplyDefaults()
If true then default attribute values will be applied for missing attributes, if false they won't
-
obtainStyledAttributes
TypedArrayWrapper obtainStyledAttributes(Context context, IntArray attrs)
-
-
-
-