AutoMirroringDrawableResolver

A DrawableResolver that is automatically mirroring a drawable returned from the wrapper resolver when its layout direction is RTL (right-to left). This is the equivalent of calling Drawable.setAutoMirrored(true).

Parameters

resolver

The DrawableResolver that produced a drawable to auto mirror.

Constructors

Link copied to clipboard
constructor(resolver: DrawableResolver)

Functions

Link copied to clipboard
open override fun get(context: Context): Drawable

Resolves a Drawable based on the given Context. The resulting value may differ per Context. E.g. due to differing device screen densities.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)