set Status And Navigation Bar - Android User Interface

Android examples for User Interface:StatusBar

Description

set 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 setStatusAndNavigationBar(int uiOptions) {
        view.setSystemUiVisibility(uiOptions);
    }/*from  ww w . ja  v  a  2 s  .  c  o m*/
}

Related Tutorials