Reputation: 5422
I have an activity with bark background launched as singleInstanse
, and when it's starts the first time it has a shot white flash (white background shown) before showing its content. How can I prevent that? Or may be it is possible set up activity's default background color at start? Thanks.
Upvotes: 1
Views: 1146
Reputation: 316
your app theme should have background color... thid color will replace the dark screen.
Upvotes: 0
Reputation: 5421
This is due to what is called the preview window during app launching.
A very clear explanation of the issue and how to get around it is given by Cyril Mottier in android-app-launching-made-gorgeous
Upvotes: 2