AdaptiveIconDrawable.Foreground Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.