public static void setTranslucentNavigationFlag ( Activity activity , boolean on ) { if ( Build . VERSION . SDK_INT >= 19 ) { setFlag ( activity , WindowManager . LayoutParams . FLAG_TRANSLUCENT_NAVIGATION , on ) ; } }
helper method to set the TranslucentNavigationFlag