ViewStructure.SetAlpha(Single) 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 an alpha transformation that is applied to this view, as per
View#getAlpha View.getAlpha()
.
[Android.Runtime.Register("setAlpha", "(F)V", "GetSetAlpha_FHandler", ApiSince=23)]
public abstract void SetAlpha (float alpha);
[<Android.Runtime.Register("setAlpha", "(F)V", "GetSetAlpha_FHandler", ApiSince=23)>]
abstract member SetAlpha : single -> unit
Parameters
- alpha
- Single
- Attributes
Remarks
Set an alpha transformation that is applied to this view, as per View#getAlpha View.getAlpha()
. Value ranges from 0 (completely transparent) to 1 (completely opaque); the default is 1, which means no transformation.
Java documentation for android.view.ViewStructure.setAlpha(float)
.
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.