reveal Status And Navigation Bar - Android User Interface

Android examples for User Interface:StatusBar

Description

reveal Status And 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.HONEYCOMB)
    public static void revealStatusAndNavigationBar() {
        view.setSystemUiVisibility(0);//from   w w  w.j av a 2 s .  c o m
    }
}

Related Tutorials