Java tutorial
//package com.java2s; import android.app.Activity; import android.view.WindowManager; public class Main { public static boolean isFullScreen(final Activity activity) { return (activity.getWindow().getAttributes().flags & WindowManager.LayoutParams.FLAG_FULLSCREEN) != 0; } }