Partager via


RippleDrawable.SetColor(ColorStateList) Method

Definition

Sets the ripple color.

[Android.Runtime.Register("setColor", "(Landroid/content/res/ColorStateList;)V", "GetSetColor_Landroid_content_res_ColorStateList_Handler")]
public virtual void SetColor (Android.Content.Res.ColorStateList color);
[<Android.Runtime.Register("setColor", "(Landroid/content/res/ColorStateList;)V", "GetSetColor_Landroid_content_res_ColorStateList_Handler")>]
abstract member SetColor : Android.Content.Res.ColorStateList -> unit
override this.SetColor : Android.Content.Res.ColorStateList -> unit

Parameters

color
ColorStateList

Ripple color as a color state list.

Attributes

Remarks

Sets the ripple color.

Java documentation for android.graphics.drawable.RippleDrawable.setColor(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