Sdílet prostřednictvím


AdaptiveIconDrawable.Monochrome Property

Definition

Returns the monochrome version of this drawable.

public virtual Android.Graphics.Drawables.Drawable? Monochrome { [Android.Runtime.Register("getMonochrome", "()Landroid/graphics/drawable/Drawable;", "GetGetMonochromeHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getMonochrome", "()Landroid/graphics/drawable/Drawable;", "GetGetMonochromeHandler", ApiSince=33)>]
member this.Monochrome : Android.Graphics.Drawables.Drawable

Property Value

the monochrome drawable

Attributes

Remarks

Returns the monochrome version of this drawable. Callers can use a tinted version of this drawable instead of the original drawable on surfaces stressing user theming.

Java documentation for android.graphics.drawable.AdaptiveIconDrawable.getMonochrome().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to