AdaptiveIconDrawable Constructors
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.
Overloads
AdaptiveIconDrawable(Drawable, Drawable) |
Constructor used to dynamically create this drawable. |
AdaptiveIconDrawable(IntPtr, JniHandleOwnership) | |
AdaptiveIconDrawable(Drawable, Drawable, Drawable) |
Constructor used to dynamically create this drawable. |
AdaptiveIconDrawable(Drawable, Drawable)
Constructor used to dynamically create this drawable.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=26)]
public AdaptiveIconDrawable (Android.Graphics.Drawables.Drawable? backgroundDrawable, Android.Graphics.Drawables.Drawable? foregroundDrawable);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=26)>]
new Android.Graphics.Drawables.AdaptiveIconDrawable : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> Android.Graphics.Drawables.AdaptiveIconDrawable
Parameters
- backgroundDrawable
- Drawable
drawable that should be rendered in the background
- foregroundDrawable
- Drawable
drawable that should be rendered in the foreground
- Attributes
Remarks
Constructor used to dynamically create this drawable.
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
AdaptiveIconDrawable(IntPtr, JniHandleOwnership)
protected AdaptiveIconDrawable (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.AdaptiveIconDrawable : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.AdaptiveIconDrawable
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Remarks
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
AdaptiveIconDrawable(Drawable, Drawable, Drawable)
Constructor used to dynamically create this drawable.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=33)]
public AdaptiveIconDrawable (Android.Graphics.Drawables.Drawable? backgroundDrawable, Android.Graphics.Drawables.Drawable? foregroundDrawable, Android.Graphics.Drawables.Drawable? monochromeDrawable);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=33)>]
new Android.Graphics.Drawables.AdaptiveIconDrawable : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> Android.Graphics.Drawables.AdaptiveIconDrawable
Parameters
- backgroundDrawable
- Drawable
drawable that should be rendered in the background
- foregroundDrawable
- Drawable
drawable that should be rendered in the foreground
- monochromeDrawable
- Drawable
an alternate drawable which can be tinted per system theme color
- Attributes
Remarks
Constructor used to dynamically create this drawable.
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.