Android Guides | Samples

Android.Views.Window.SetFeatureDrawableUri Method

Set the value for a drawable feature of this window, from a URI.

Syntax

[Android.Runtime.Register("setFeatureDrawableUri", "(ILandroid/net/Uri;)V", "GetSetFeatureDrawableUri_ILandroid_net_Uri_Handler")]
public abstract Void SetFeatureDrawableUri ([Android.Runtime.GeneratedEnum] WindowFeatures featureId, Uri uri)

See Also

Parameters

featureId
The desired drawable feature to change. Features are constants defined by Window.
uri
The desired URI.

Remarks

Set the value for a drawable feature of this window, from a URI. You must have called requestFeature(featureId) before calling this function.

The only URI currently supported is "content:", specifying an image in a content provider.

[Android Documentation]

Requirements

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