List of usage examples for android.view ViewManager removeView
public void removeView(View view);
From source file:com.getkeepsafe.taptargetview.ViewUtil.java
static void removeView(ViewManager parent, View child) { if (parent == null || child == null) { return;//from w ww . j a v a2 s .c o m } try { parent.removeView(child); } catch (NullPointerException ignored) { // This catch exists for modified versions of Android that have a buggy ViewGroup // implementation. See b.android.com/77639, #121 and #49 } }