Android- hide actionbar during startup and then show it again?
问题 My android app has tab navigation using an action bar. It works well, but it bothers me that during the first boot of the app, a small default action bar briefly shows up before being replaced by the real, tab-navigation action bar. My onCreate starts like this: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.getWindow().requestFeature(Window.FEATURE_ACTION_BAR); setContentView(R.layout.activity_main); //Set up the actionbar final ActionBar actionBar