DrawableContainer.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.
Sets the container's alpha value.
[Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")]
public override void SetAlpha(int alpha);
[<Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")>]
override this.SetAlpha : int -> unit
Parameters
- alpha
- Int32
Value is between 0 and 255 inclusive
- Attributes
Remarks
If a child is selected, the container forwards the value, or a fade-adjusted value, to that child when the value is first set or changed. The effect depends on the child's implementation.
Android reference for android.graphics.drawable.DrawableContainer.setAlpha.
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.