alignmentOf

fun alignmentOf(placement: String): String

Extracts the horizontal alignment of the toast out of the general placement. This can be useful for aligning the messages according to their horizontal placement.

Parameters

placement

placement string of a toast