Window.SetFeatureDrawableAlpha(WindowFeatures, Int32) Window.SetFeatureDrawableAlpha(WindowFeatures, Int32) Method

Definition

Set a custom alpha value for the given drawable feature, controlling how much the background is visible through it.

[Android.Runtime.Register("setFeatureDrawableAlpha", "(II)V", "GetSetFeatureDrawableAlpha_IIHandler")]
public abstract void SetFeatureDrawableAlpha (Android.Views.WindowFeatures featureId, int alpha);
abstract member SetFeatureDrawableAlpha : Android.Views.WindowFeatures * int -> unit

Parameters

featureId
WindowFeatures WindowFeatures

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

alpha
Int32 Int32

The alpha amount, 0 is completely transparent and 255 is completely opaque.

Remarks

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