简体   繁体   中英

Android splash screen before white screen

my problem is In android mobiles when click on my application it is need to show the splash screen but in micromax a110 when I start the application an white screen is coming first then after only the splash screen is appearing. But For my application I need to display only splash screen not any white screen. The application is containing the html,css and javascript coding. SO please suggest any solution for this issue

  <item name="android:windowDisablePreview">true</item>

将此线放置为您的样式,可防止白屏在飞溅前打开

I have the same problem. I have found that white screen is due to loading of DOM. In this case solution is to show a simple HTML page first which would say something like 'loading..' and then load your actual page with full of css and javascript.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM