diff --git a/src/com/homelinux/holtrop/opengltest/MainOpenGL.java b/src/com/homelinux/holtrop/opengltest/MainOpenGL.java index ceb701b..0325762 100644 --- a/src/com/homelinux/holtrop/opengltest/MainOpenGL.java +++ b/src/com/homelinux/holtrop/opengltest/MainOpenGL.java @@ -4,6 +4,8 @@ import android.opengl.GLSurfaceView; import android.app.Activity; import android.os.Bundle; import android.content.res.AssetManager; +import android.view.WindowManager; +import android.view.Window; public class MainOpenGL extends Activity { @@ -15,6 +17,10 @@ public class MainOpenGL extends Activity { super.onCreate(savedInstanceState); + this.requestWindowFeature(Window.FEATURE_NO_TITLE); + getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, + WindowManager.LayoutParams.FLAG_FULLSCREEN); + mGLView = new MyGLSurfaceView(this, getAssets()); setContentView(mGLView); }