Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android启动页还差一点就完美了 #22

Open
277850318 opened this issue Jan 18, 2017 · 2 comments
Open

android启动页还差一点就完美了 #22

277850318 opened this issue Jan 18, 2017 · 2 comments

Comments

@277850318
Copy link

277850318 commented Jan 18, 2017

经反复测试
android点击桌面应用图标的时候会有短暂的停顿,
大概0.5秒左右才能启动程序,
其实点击应用图标的时候程序是已经启动了
只不过android:windowIsTranslucent这句设置为透明后0.5秒啥也看不到,
这就导致感觉有卡顿似的
去掉这句后android:windowIsTranslucent没有卡顿了 但有白屏了
能否解决这个问题了?

就差这最后一步达到完美了

@damoguyan8844
Copy link

android 8.0 上遇到了同样的问题

@sabonis
Copy link

sabonis commented Mar 16, 2018

Maybe you can add the followings to your AppTheme

<item name="android:windowBackground">@drawable/YOUR_SPLASH_DRAWABLE</item>
<item name="colorPrimaryDark">@android:color/transparent</item>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants