Share via


RippleDrawable.Radius Property

Definition

Sets the radius in pixels of the fully expanded ripple.

public virtual int Radius { [Android.Runtime.Register("getRadius", "()I", "GetGetRadiusHandler", ApiSince=23)] get; [Android.Runtime.Register("setRadius", "(I)V", "GetSetRadius_IHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getRadius", "()I", "GetGetRadiusHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setRadius", "(I)V", "GetSetRadius_IHandler", ApiSince=23)>]
member this.Radius : int with get, set

Property Value

the radius in pixels of the fully expanded ripple if an explicit radius has been set, or #RADIUS_AUTO if the radius is computed based on the container size

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

Sets the radius in pixels of the fully expanded ripple.

Java documentation for android.graphics.drawable.RippleDrawable.setRadius(int).

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