Window.SetFeatureDrawable(WindowFeatures, Drawable) Method

Definition

Set an explicit Drawable value for feature of this window.

[Android.Runtime.Register("setFeatureDrawable", "(ILandroid/graphics/drawable/Drawable;)V", "GetSetFeatureDrawable_ILandroid_graphics_drawable_Drawable_Handler")]
public abstract void SetFeatureDrawable (Android.Views.WindowFeatures featureId, Android.Graphics.Drawables.Drawable? drawable);
[<Android.Runtime.Register("setFeatureDrawable", "(ILandroid/graphics/drawable/Drawable;)V", "GetSetFeatureDrawable_ILandroid_graphics_drawable_Drawable_Handler")>]
abstract member SetFeatureDrawable : Android.Views.WindowFeatures * Android.Graphics.Drawables.Drawable -> unit

Parameters

featureId
WindowFeatures

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

drawable
Drawable

A Drawable object to display.

Attributes

Remarks

Set an explicit Drawable value for feature of this window. You must have called requestFeature(featureId) before calling this function.

Java documentation for android.view.Window.setFeatureDrawable(int, android.graphics.drawable.Drawable).

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