// go full screen
WindowManager.LayoutParams attrs = mActivity.getWindow().getAttributes
();
attrs.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;
mActivity.getWindow().setAttributes(attrs);
// go non-full screen
WindowManager.LayoutParams attrs = mActivity.getWindow().getAttributes
();
attrs.flags &= (~WindowManager.LayoutParams.FLAG_FULLSCREEN);
mActivity.getWindow().setAttributes(attrs);
1 - 2 of 2
Showing 20▼ items per page