This simple example makes your activity full screen by hiding the Title-Bar and gives more space for your application.
package pack.FullScreenActivity; import android.app.Activity; import android.os; import android.view.Window; import android.view.WindowManager; public class FullScreenActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.main); } };
A friend of mine just emailed me one of your articles from a while back. I read that one a few more. Really enjoy your blog. Thanks
Thank you, Russ Abraham
This is an encouragement for me for future posts.!!