Compartir a través de


RippleDrawable Constructors

Definition

Overloads

RippleDrawable(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

RippleDrawable(ColorStateList, Drawable, Drawable)

Creates a new ripple drawable with the specified ripple color and optional content and mask drawables.

RippleDrawable(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected RippleDrawable (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.RippleDrawable : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.RippleDrawable

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

RippleDrawable(ColorStateList, Drawable, Drawable)

Creates a new ripple drawable with the specified ripple color and optional content and mask drawables.

[Android.Runtime.Register(".ctor", "(Landroid/content/res/ColorStateList;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "")]
public RippleDrawable (Android.Content.Res.ColorStateList color, Android.Graphics.Drawables.Drawable? content, Android.Graphics.Drawables.Drawable? mask);
[<Android.Runtime.Register(".ctor", "(Landroid/content/res/ColorStateList;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "")>]
new Android.Graphics.Drawables.RippleDrawable : Android.Content.Res.ColorStateList * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> Android.Graphics.Drawables.RippleDrawable

Parameters

color
ColorStateList

The ripple color

content
Drawable

The content drawable, may be null

mask
Drawable

The mask drawable, may be null

Attributes

Remarks

Creates a new ripple drawable with the specified ripple color and optional content and mask drawables.

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

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