Application crashes when adding this line
`requestWindowFeature (Window.FEATURE_NO_TITLE);
the solution may be very simple, but I really don't know who to fix it.
Java Code:
public class GLSurfaceCameraSurfaceDemo2Activity extends Activity { GLSurfaceView glSurfaceView; FrameLayout fl01; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); requestWindowFeature(Window.FEATURE_NO_TITLE); }
}
XML file:
<FrameLayout android:id="@+id/fl01" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"/>
android framelayout
LetsamrIt Mar 16 '12 at 12:19 2012-03-16 12:19
source share