Dela via


RippleDrawable.EffectColor Property

Definition

Sets the ripple effect color.

public virtual Android.Content.Res.ColorStateList EffectColor { [Android.Runtime.Register("getEffectColor", "()Landroid/content/res/ColorStateList;", "GetGetEffectColorHandler", ApiSince=31)] get; [Android.Runtime.Register("setEffectColor", "(Landroid/content/res/ColorStateList;)V", "GetSetEffectColor_Landroid_content_res_ColorStateList_Handler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("getEffectColor", "()Landroid/content/res/ColorStateList;", "GetGetEffectColorHandler", ApiSince=31)>]
[<set: Android.Runtime.Register("setEffectColor", "(Landroid/content/res/ColorStateList;)V", "GetSetEffectColor_Landroid_content_res_ColorStateList_Handler", ApiSince=31)>]
member this.EffectColor : Android.Content.Res.ColorStateList with get, set

Property Value

The ripple effect color as a color state list.

Attributes

Remarks

Property getter documentation:

Java documentation for android.graphics.drawable.RippleDrawable.getEffectColor().

Property setter documentation:

Sets the ripple effect color.

Java documentation for android.graphics.drawable.RippleDrawable.setEffectColor(android.content.res.ColorStateList).

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