ColorStateListDrawable.ClearAlpha Method

Definition

Remove the alpha override, reverting to the alpha defined on each color in the ColorStateList.

[Android.Runtime.Register("clearAlpha", "()V", "GetClearAlphaHandler", ApiSince=29)]
public virtual void ClearAlpha ();
[<Android.Runtime.Register("clearAlpha", "()V", "GetClearAlphaHandler", ApiSince=29)>]
abstract member ClearAlpha : unit -> unit
override this.ClearAlpha : unit -> unit
Attributes

Remarks

Remove the alpha override, reverting to the alpha defined on each color in the ColorStateList.

Java documentation for android.graphics.drawable.ColorStateListDrawable.clearAlpha().

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.

Applies to