RippleDrawable Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.
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.