Android Guides | Samples

Android.Views.Window.SetFeatureDrawableAlpha Method

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

Syntax

[Android.Runtime.Register("setFeatureDrawableAlpha", "(II)V", "GetSetFeatureDrawableAlpha_IIHandler")]
public abstract Void SetFeatureDrawableAlpha ([Android.Runtime.GeneratedEnum] WindowFeatures featureId, Int32 alpha)

Parameters

featureId
The desired drawable feature to change. Features are constants defined by Window.
alpha
The alpha amount, 0 is completely transparent and 255 is completely opaque.

Remarks

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

[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