Java tutorial
//package com.java2s; //License from project: Apache License import android.app.Activity; import android.view.WindowManager; public class Main { public static void setFullScreen(Activity activity) { activity.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); } }