border
Function
Android
public fun GlanceModifier.border(
width: Dp,
color: ColorProvider
): GlanceModifier
Apply a border around an element, border width is provided in Dp
Parameters
width | The width of the border, in DP |
color | The color of the border |
Android
public fun GlanceModifier.border(
@DimenRes width: Int,
color: ColorProvider
): GlanceModifier
Apply a border around an element, border width is provided with dimension resource
Parameters
width | The width of the border, value provided by a dimension resource |
color | The color of the border |