Android examples for User Interface:StatusBar
set Status And Navigation Bar
//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*/ }