Welcome page start thread because of the excessive amount of data requested and processed, there will be a brief white splash screen on the Welcome page before it appears, and of course the white splash screen stays because of the application theme style Android:[email protected]/ Apptheme uses the theme.light problem, the light-style windowbackground, Colorbackground, Colorforeground and other properties of the value of the values are lighter is white, So the white splash screen will appear.
Here is the code for the style reference when my APP appears with a white splash screen:
<style name= "Startactivitytheme" parent= "Android:Theme.Light.NoTitleBar" > <item name= "Android: Windowfullscreen ">true</item> <item name=" Android:windownotitle ">true</item> < Item Name= "Android:windowbackground" > @drawable/trip_bg_logo_iamge</item> <!--all customizations That is not specific to a particular api-level can go. - </style>
<!--Start Page-- <activity android:name= "com.xxx.xxx.xxx.activity.StartActivity" android: screenorientation= "Portrait" android:theme= "@style/startactivitytheme" > <intent-filter> <action android:name= "Android.intent.action.MAIN"/> <category android:name= " Android.intent.category.LAUNCHER "/> </intent-filter> </activity>
Android solves the issue of startup page white screen or black screen