app启动时会有一小段时间的黑屏时间,有没有什么比较好的解决方法,不想设置application的主题用一张图片替代
阿神2017-04-17 17:37:47
Optimize Android startup page, remove black screen and achieve instant startup
怪我咯2017-04-17 17:37:47
The black screen time must be caused by doing too much work during startup.
Check the onCreate
function that starts Activity
to see if there are any operations that can be removed. Activity
的onCreate
函数,看看里面是不是有可以去掉的操作。
检查用用App
类的onCreate
onCreate
function of the App
class to see if there is any optimization.
PHP中文网2017-04-17 17:37:47
There is a black screen because your activity takes too long to start. You can use a transition page to display a logo or something first.
天蓬老师2017-04-17 17:37:47
Set the window background of this activity, which is effective and convenient