Activity act = ...
if (Build.VERSION.SDK_INT < 16) { act.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); } else { View decorView = act.getWindow().getDecorView(); int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN; decorView.setSystemUiVisibility(uiOptions); // ActionBar actionBar = act.getActionBar();// actionBar.hide(); }ref : https://stackoverflow.com/questions/5431365/how-to-hide-status-bar-in-android
댓글
댓글 쓰기