Window.SetFeatureDrawableResource(WindowFeatures, Int32) Method

Definition

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

[Android.Runtime.Register("setFeatureDrawableResource", "(II)V", "GetSetFeatureDrawableResource_IIHandler")]
public abstract void SetFeatureDrawableResource (Android.Views.WindowFeatures featureId, int resId);
[<Android.Runtime.Register("setFeatureDrawableResource", "(II)V", "GetSetFeatureDrawableResource_IIHandler")>]
abstract member SetFeatureDrawableResource : Android.Views.WindowFeatures * int -> unit

Parameters

featureId
WindowFeatures

The desired drawable feature to change, defined as a constant by Window.

resId
Int32

Resource identifier of the desired image.

Attributes

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.

Java documentation for android.view.Window.setFeatureDrawableResource(int, int).

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.

Applies to

See also