List of usage examples for android.view SurfaceView getParent
public final ViewParent getParent()
From source file:Main.java
public static void stripView(SurfaceView view) { ViewParent parent = view.getParent(); if (parent != null) { ((FrameLayout) parent).removeView(view); }/*from ww w .j ava 2s . com*/ }