Icon.CreateWithAdaptiveBitmap(Bitmap) Method
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.
Create an Icon pointing to a bitmap in memory that follows the icon design guideline defined
by AdaptiveIconDrawable
.
[Android.Runtime.Register("createWithAdaptiveBitmap", "(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;", "", ApiSince=26)]
public static Android.Graphics.Drawables.Icon CreateWithAdaptiveBitmap (Android.Graphics.Bitmap? bits);
[<Android.Runtime.Register("createWithAdaptiveBitmap", "(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;", "", ApiSince=26)>]
static member CreateWithAdaptiveBitmap : Android.Graphics.Bitmap -> Android.Graphics.Drawables.Icon
Parameters
- bits
- Bitmap
A valid android.graphics.Bitmap
object
Returns
- Attributes
Remarks
Create an Icon pointing to a bitmap in memory that follows the icon design guideline defined by AdaptiveIconDrawable
.
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.