is Window Full Screen - Android User Interface

Android examples for User Interface:Window

Description

is Window Full Screen

Demo Code


//package com.java2s;
import android.view.Window;
import android.view.WindowManager;

public class Main {
    public static boolean isFullScreen(Window window) {
        int v = window.getAttributes().flags;
        return (v & WindowManager.LayoutParams.FLAG_FULLSCREEN) != 0;
    }/*  w  ww .  j av  a  2 s . co  m*/
}

Related Tutorials