getRight

fun getRight(isLtr: Boolean): Float

Returns the size of the right inset, taking into account the layout direction.

Parameters

isLtr

whether the layout is left-to-right.