Detaches all views from the parent. Detaching a view should be followed either by a call to ViewGroup.AttachViewToParent(View, System.Int32, System.Int32) or a call to ViewGroup.RemoveDetachedView(View, System.Boolean). Detachment should only be temporary; reattachment or removal should happen within the same drawing cycle as detachment. When a view is detached, its parent is null and cannot be retrieved by a call to ViewGroup.GetChildAt(int).