ViewGroup.RemoveViewInLayout(View) Method
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.
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
- view
- View
the view to remove from the group
- Attributes
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |