Sdílet prostřednictvím


AdaptiveIconDrawable.Foreground Property

Definition

Returns the foreground drawable managed by this class.

public virtual Android.Graphics.Drawables.Drawable? Foreground { [Android.Runtime.Register("getForeground", "()Landroid/graphics/drawable/Drawable;", "GetGetForegroundHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getForeground", "()Landroid/graphics/drawable/Drawable;", "GetGetForegroundHandler", ApiSince=26)>]
member this.Foreground : Android.Graphics.Drawables.Drawable

Property Value

the foreground drawable managed by this drawable

Attributes

Remarks

Returns the foreground drawable managed by this class. The bound of this drawable is extended by #getExtraInsetFraction() * getBounds().width on left/right sides and by #getExtraInsetFraction() * getBounds().height on top/bottom sides.

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

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