The splash screen is an activity of presentation, with the aim of showing for example the icon of a company of the application itself.
In this tutorial we show how to create a simple application with a splash screen, in which are displayed the Blogger logo and a toast containing the url of this blog for a certain time interval.
The main files are:
- MainActivity.java, where is defined the splash screen:
- activity_main.xml, where is defined its layout:
- custom_toast.xml, where is defined the toast:
The final result is the following:
You can download the complete example from our repository: Download SplashScreen.zip