Window.SetFeatureDrawableAlpha(WindowFeatures, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
[<Android.Runtime.Register("setFeatureDrawableAlpha", "(II)V", "GetSetFeatureDrawableAlpha_IIHandler")>]
abstract member SetFeatureDrawableAlpha : Android.Views.WindowFeatures * int -> unit
Parameters
- featureId
- WindowFeatures
The desired drawable feature to change. Features are constants defined by Window.
- alpha
- Int32
The alpha amount, 0 is completely transparent and 255 is completely opaque.
- Attributes
Remarks
Set a custom alpha value for the given drawable feature, controlling how much the background is visible through it.
Java documentation for android.view.Window.setFeatureDrawableAlpha(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.