setAutoMirrored

open fun setAutoMirrored(@NonNull drawable: Drawable, mirrored: Boolean)(source)

Deprecated

Call setAutoMirrored directly.

Set whether this Drawable is automatically mirrored when its layout direction is RTL (right-to left). See android.util.LayoutDirection.

If running on a pre-KITKAT device this method does nothing.

Parameters

drawable

The Drawable against which to invoke the method.

mirrored

Set to true if the Drawable should be mirrored, false if not.