Android welcome full screen picture explanation and example code
Android welcome full screen picture explanation
In fact, the welcome interface is to add a welcome activity before the main activity. The implementation of the welcome interface in this activity is basically the same as that of other activities, with only minor differences.
1. Implemented in oncreate method of activity:
2. Configure in the corresponding welcome activity in the androidmanifest.xml file
You can also set to Android: theme = "@ Android: style / theme. Notitlebar. Fullscreen" (cancel the status bar at the top)
3. Welcome to the activity's layout file
The above Android: background = "@ drawable / welcome" is the corresponding image resource file
4. The operation results are as follows
Thank you for reading, hope to help you, thank you for your support to this site!