setLayoutDirection
Deprecated
Use setLayoutDirection directly.
Set the layout direction.
Parameters
lp
LayoutParameters for which to set the layout direction.
layoutDirection
the layout direction. Should be either LAYOUT_DIRECTION_LTR or LAYOUT_DIRECTION_RTL.