columnLineComponent
fun columnLineComponent(context: Context, @AttrRes attrRes: Int = R.attr.column1, @StyleRes styleResId: Int = 0): LineComponent
Creates a LineComponent using the provided attrRes and styleResId.
Parameters
context
the context used to retrieve the style information.
attrRes
a theme attribute resource identifier used to retrieve the LineComponent’s style. This can be R.attr.column1, R.attr.column2, or R.attr.column3.
styleResId
used to retrieve the style information if the provided attrRes cannot be resolved. The styleResId must define the style of at least one of the following: R.attr.column1, R.attr.column2, and R.attr.column3.
See also
R.styleable.LineSpec