Android Guides | Samples

Android.Graphics.Drawables.Drawable.CreateFromPath Method

Create a drawable from file path name.

Syntax

[Android.Runtime.Register("createFromPath", "(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;", "")]
public static Drawable CreateFromPath (String pathName)

Parameters

pathName

Remarks

Create a drawable from file path name.

[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