Search code examples
androidandroid-activity

Android app shows home screen when going between activities


In my app, when going from one activity to another and switching content views, for about a second the home screen is shown. I've tried adding a loading screen in, but the home screen is still shown, when going from an activity to the loading screen. So finally i tried switching from my mainmenu activity to a blank activity and it still showed the home screen for about a second. Any ideas on how to get rid of the home screen being shown between activities?

I am currently using intents to go between activities.


Solution

  • So turns out that I was setting the theme to noTitleBar and trying to remove it programmatically, by just setting the theme to DeviceDefault.noTitleBar the lag is gone.