Android Guides | Samples

Android.Graphics.Drawables.BitmapDrawable Constructor

Create drawable from a bitmap, not dealing with density.

Syntax

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;)V", "")]
public BitmapDrawable (Bitmap bitmap)

Parameters

bitmap

Remarks

Create drawable from a bitmap, not dealing with density.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1