Black screen
By default, a black screen period occurs when the program starts. The reason is that the first activity loads some data, such as initializing the list data.
Removal steps
1. Add a PHP? Type = keyword & keyword = Android style = text-Decoration: underline; font-size: 14px; color: # f70968;
Target = _ blank> Android: windowbackgrounds attribute, set the desired image
2. Set theme to the first started activity in androidmanifest. xml.
3. Add/RES/drawable-Port/loading.png. (If the screen is landscape-mounted, place it in/RES/drawable-land/loading.png)
4. Complete
Reference code:
Secret <style name = "mytheme. notitlebar. custombackground" parent = "@ PHP? Type = keyword & keyword = Android style = text-Decoration: underline; font-size: 14px; color: # f70968;
Target = _ blank> Android: theme. Black ">
Optional <item name = "Android: windowbackground"> @ drawable/loading </item>
Optional <item name = "Android: windownotitle"> true </item>
Optional <item name = "Android: windowfullscreen"> true </item>
Optional <item name = "Android: windowcontentoverlay"> @ null </item>
Category </style>
Export <application Android: icon = "@ drawable/icon" Android: Label = "@ string/app_name" Android: debuggable = "true">
Activities <activity Android: Label = "@ string/app_name" Android: theme = "@ style/mytheme. notitlebar. custombackground "Android: configchanges =" keyboardhidden | navigation | orientation "Android: Name =" com. test. UI. mainactivity "Android: screenorientation =" portrait ">
Struct <intent-filter>
Intent <action Android: Name = "android. Intent. Action. Main">
Category <category Android: Name = "android. Intent. Category. launcher"> </Category>
Actions </Action>
Filters </intent-filter>
Activities </activity>
...
...
Logging </Application>