I have an activity that contains a lot of UI views. In the onCreate method, I found that one setContentView line takes 8-12 seconds. . Therefore, I want to show my logo at boot time. I tried a lot, but without success. I suspect that the main reason may be that nothing can be shown until setContentView completes.
Any help would be appreciated.
UPDATE:
I think many people do not know that you cannot show the dialog until the completion of setContentView. Therefore, using other burst activity does not help me at all.
UPDATE2
I forgot to update this question after I found the cause of the problem. Please refer to the following question: setContentView will take a long time (10-15 seconds) to execute
source share