Android Guides | Samples

Android.Views.Window.SetFeatureDrawableResource Method

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

Syntax

[Android.Runtime.Register("setFeatureDrawableResource", "(II)V", "GetSetFeatureDrawableResource_IIHandler")]
public abstract Void SetFeatureDrawableResource ([Android.Runtime.GeneratedEnum] WindowFeatures featureId, Int32 resId)

See Also

Parameters

featureId
The desired drawable feature to change, defined as a constant by Window.
resId
Resource identifier of the desired image.

Remarks

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

[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