Currently I have set my app to be fullscreen in java rather than xml with:
// Full Screen
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.location);
This works fine except for one odd behavior with the spinners. When you select a spinner the title bar appears for a split second then returns to the background. Also the splash screen has this same code yet the title bar persists in that class as well. Any ideas why this is happening ?
以上就是Android: Spinner shows title bar for 1/2 sec的详细内容,更多请关注web前端其它相关文章!