setAlignments

fun setAlignments(parent: ParentAlignment, child: ChildAlignment, smooth: Boolean)

Updates both parent and child alignments

Parameters

parent

the parent alignment configuration

child

the child alignment configuration

smooth

true if the alignment change should be animated