Android Guides | Samples

Android.Graphics.Drawables.RippleDrawable.SetColor Method

Sets the ripple color.

Syntax

[Android.Runtime.Register("setColor", "(Landroid/content/res/ColorStateList;)V", "GetSetColor_Landroid_content_res_ColorStateList_Handler")]
public virtual Void SetColor (ColorStateList color)

Parameters

color
Ripple color as a color state list.

Remarks

Sets the ripple color.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0