Styleable

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Styleable(value: String, emptyDefaultStyle: Boolean)

Parameters

value

The name of the styleable resource.

emptyDefaultStyle

Set to true if the view does not have a default style. Will only be used if ParisConfig.namespacedResourcesEnabled is true. Default: false.

Constructors

Styleable
Link copied to clipboard
fun Styleable(value: String = "", emptyDefaultStyle: Boolean = false)
The name of the styleable resource.

Properties

emptyDefaultStyle
Link copied to clipboard
val emptyDefaultStyle: Boolean = false
Set to true if the view does not have a default style.
value
Link copied to clipboard
val value: String
The name of the styleable resource.