getRightDp

fun getRightDp(isLtr: Boolean): Float

Returns the dimension of the right edge depending on the layout orientation.

Parameters

isLtr

whether the device layout is left-to-right.