Drawable.SetAlpha(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.
Specify an alpha value for the drawable.
[Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")]
public abstract void SetAlpha (int alpha);
[<Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")>]
abstract member SetAlpha : int -> unit
Parameters
- alpha
- Int32
- Attributes
Remarks
Specify an alpha value for the drawable. 0 means fully transparent, and 255 means fully opaque.
Java documentation for android.graphics.drawable.Drawable.setAlpha(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.