Use full screen
[WhereAmI.git] / src / org / average / whereami / WhereAmI.java
1 package org.average.whereami;
2
3 import android.app.Activity;
4 import android.os.Bundle;
5 import android.view.Window;
6 import android.view.WindowManager;
7
8 public class WhereAmI extends Activity
9 {
10     /** Called when the activity is first created. */
11     @Override
12     public void onCreate(Bundle savedInstanceState)
13     {
14         super.onCreate(savedInstanceState);
15         requestWindowFeature(Window.FEATURE_NO_TITLE);
16         getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
17         getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
18         setContentView(R.layout.main);
19     }
20 }