|
Many Applications, mostly games, on the market show splash screens.
With this screen they prompt a logo for the application and/or the author.
I will show you a short way to implement a splash screen which will occur on every
startup, will stay for a number of seconds you can define, will close on touching
the screen and will not reappear on pressing the back button.
I created an empty project named SplashScreen with the activity
SplashScreen. This activity will display the splash screen, so we have to create
a new activity which will be the first real view you want to display. In my case
this activity is named MyApp.
To see, that we see different screens, we copy the content of our layout file main.xml
and paste it into a new layout file called splash.xml. Of course we have to change
the @string/hello reference to a now one.
To make it short, here the string.xml, the main.xml and the splash.xml
|
|
Read more...
|
How to use custom de...
lets say i change this app to days to...
How to display a JPG...
Is that posible to zoom in and drag p...
Making a custom Andr...
Cool - I will use it carefully i promise
How to display a JPG...
problem in image loading - i have exe...
Introducing Calculon...
Thank You for your contribution - Hi,...