setLayoutDirection
Set the layout direction for this drawable. Should be a resolved layout direction, as the Drawable has no capacity to do the resolution on its own.
Return
true
if the layout direction change has caused the appearance of the drawable to change such that it needs to be re-drawn, false
otherwise
Parameters
drawable
drawable for which to set the layout direction.
layoutDirection
the resolved layout direction for the drawable, either LAYOUT_DIRECTION_LTR or LAYOUT_DIRECTION_RTL