다음을 통해 공유


ViewGroup.RemoveViewInLayout(View) Method

Definition

Removes a view during layout.

[Android.Runtime.Register("removeViewInLayout", "(Landroid/view/View;)V", "GetRemoveViewInLayout_Landroid_view_View_Handler")]
public virtual void RemoveViewInLayout (Android.Views.View? view);
[<Android.Runtime.Register("removeViewInLayout", "(Landroid/view/View;)V", "GetRemoveViewInLayout_Landroid_view_View_Handler")>]
abstract member RemoveViewInLayout : Android.Views.View -> unit
override this.RemoveViewInLayout : Android.Views.View -> unit

Parameters

view
View

the view to remove from the group

Attributes

Remarks

Removes a view during layout. This is useful if in your onLayout() method, you need to remove more views.

<strong>Note:</strong> do not invoke this method from #draw(android.graphics.Canvas), #onDraw(android.graphics.Canvas), #dispatchDraw(android.graphics.Canvas) or any related method.

Java documentation for android.view.ViewGroup.removeViewInLayout(android.view.View).

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