requestWindowFeature (Window.FEATURE_NO_TITLE); causando o travamento do aplicativo?
O aplicativo falha quando adiciono esta linha
`requestWindowFeature (Window.FEATURE_NO_TITLE);
pode ser a solução é muito simples, mas eu realmente não sei quem corrigi-l
Java code:
public class GLSurfaceCameraSurfaceDemo2Activity extends Activity {
/** Called when the activity is first created. */
GLSurfaceView glSurfaceView;
FrameLayout fl01;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
requestWindowFeature(Window.FEATURE_NO_TITLE);
}
}
rquivo @XML:
<FrameLayout
android:id="@+id/fl01"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>