How can I put a title screen that displays for five seconds in my application?
Or how can I put title screen and change the other screen when a user touches the screen?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use a RelativeLayout.
Nest a RelativeLayout inside it which fills parent in both width and height. Inside this RelativeLayout, nest an ImageView with the src of your splash screen resource. UI Elements behind the splash screen are to be written in a RelativeLayout after the splash screen’s RelativeLayout’s tag is closed.
Add an android:onClick function to the splash screen’s RelativeLayout. In this onClick function, set the android:visibility of the splash screen’s RelativeLayout to “gone”.
On Activity start, start a Timer, whose on completion, call a TimerTask which sets the android:visibility of the splash screen’s RelativeLayout to “gone”.