/ Published in: Java
There are roughly three ways to do this: programatically, through stylesheets, or through the Anroid manifest.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public class MainActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //Remove title bar //Remove notification bar this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); } }