full Screen With Navigation Bar - Android User Interface

Android examples for User Interface:NavigationBar

Description

full Screen With Navigation Bar

Demo Code


//package com.java2s;
import android.annotation.TargetApi;

import android.os.Build;
import android.view.View;

public class Main {
    private static View view;

    @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
    public static void fullScreenWithNavigationBar() {
        int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
        view.setSystemUiVisibility(uiOptions);
    }//from  w  ww.  j a  va  2s  . c  o  m
}

Related Tutorials