I have two activities. The first performs the second.
Intent i = new Intent(MyOne.this, MyTwo.class); startActivity(i);
Problem: My second activity does some hard startup work, so it starts a couple of seconds, and before it starts, I see a black screen.
Is it possible to set a progress indicator or some image instead of this black screen? Because I do not think that the user will wait for something that he does not know. I tried setting up the progressbar after setcontentview in the second action, but the progressbar only appears when the activity is fully running.
source share