Udostępnij za pośrednictwem


ViewOverlay.Remove(Drawable) Method

Definition

Removes the specified Drawable from the overlay.

[Android.Runtime.Register("remove", "(Landroid/graphics/drawable/Drawable;)V", "GetRemove_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void Remove (Android.Graphics.Drawables.Drawable drawable);
[<Android.Runtime.Register("remove", "(Landroid/graphics/drawable/Drawable;)V", "GetRemove_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member Remove : Android.Graphics.Drawables.Drawable -> unit
override this.Remove : Android.Graphics.Drawables.Drawable -> unit

Parameters

drawable
Drawable

The Drawable to be removed from the overlay.

Attributes

Remarks

Removes the specified Drawable from the overlay. Removing a Drawable that was not added with #add(Drawable) is a no-op. Passing null parameter will result in an IllegalArgumentException being thrown.

Java documentation for android.view.ViewOverlay.remove(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

See also