widthRes

fun widthRes(edge: YogaEdge, @DimenRes widthRes: Int): Border.Builder

Specifies a width for a specific edge

Note: Having a border effect with varying widths per edge is currently not supported

Parameters

edge

The YogaEdge that will have its width modified

widthRes

The desired width resource to resolve