setGravity

fun setGravity(gravityPosition: Int)

Sets the gravity for this view

Parameters

gravityPosition

The position for the text within the view