如何避免黑屏的机器人,而我的应用程序加载? [英] How to avoid black screen in android while my app is loading?
问题描述
如何避免黑屏的机器人,而我的应用程序加载?我已删除的的onCreate万物的AsyncTask,但我仍然有黑色的屏幕开头。我的默认(第一个)活动是主,如果有一个参数,我瞬间加载个人活动withou显示主,否则我将展示主要活动。任何人都可以提出我的解决方案? 我试着用 http://blog.iangclifton.com / 2011/01/01 / Android的闪屏,完成右/ ,但它并不能帮助。
How to avoid black screen in android while my app is loading ? I have removed all things from onCreate to AsyncTask but still I have black screen at the beginning. My default ( first ) activity is Main and if there is one parameter I momentarily load Personal activity withou showing Main, otherwise I show Main activity. Can anyone suggest me solution ? I tried with http://blog.iangclifton.com/2011/01/01/android-splash-screens-done-right/ but it doesn't help.
推荐答案
我不知道。
不过,尝试在清单..您的活动里面
but, Try this in Manifest.. inside your activity
安卓主题=@安卓风格/ Theme.Translucent
android:theme="@android:style/Theme.Translucent"
或
安卓主题=@安卓风格/ Theme.Light
android:theme="@android:style/Theme.Light"
我看到约闪屏一个很好的解决方案......希望它有用
I have seen a good solution about splash screen... hope it useful
http://stackoverflow.com/a/8654361/762919
这篇关于如何避免黑屏的机器人,而我的应用程序加载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!