I have 3 Activity’s that i like to put into a ViewFlipper configuration.
Right now i have big trouble going from activity 1-2-3 and back.
what is the best approach to do this?
Any help would be grate?
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.
No, ViewFlipper can not contain Activities. Your best bet would be to just use a custom Animation to perform the transition between each Activity: see Can I change the Android startActivity() transition animation? for a decent example. To go back call
finish()in each Activity to end it.EDIT: you want a TabActivity. You can hide the TabWidget and then swipe to switch between tabs.