getLeftDp

fun getLeftDp(isLtr: Boolean): Float

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

Parameters

isLtr

whether the device layout is left-to-right.