Smooth transition between full-screen-activity and one with notification-bar and action bar

Viewed 2647

Background

I have an app that has 2 activities :

  • splash activity, which is shown in full screen (no action bar, no notification bar)
  • main activity, which has both an action bar (uses actionBarSherlock) and a notification bar.

The problem

For some reason, when going from the first activity to the second, there is a "jumpy" layout process, which shows the content of the second activity without the action bar and notification bar, and a moment later it shows them both.

This causes the content below to move too, which is very noticeable.

Possible solution

As I've seen, a possible solution would be to hide the action bar and show it a bit later (500ms later), but this seems like a bad solution (making it slower and hiding for no reason), plus I need to get the actionBar items positions for another purpose (for showing a tutorial).

The question

Is it possible to avoid the "jumpiness"? One that doesn't involve such a weird workaround?

2 Answers
Related