0

Hi i need to swipe on each activity page to change next view.How to animate a swipe effect in android. how can i swipe the activity(Mi firstquestion)

My secoundquestion show multiple Activity in a singleview?

for example I have 4 activity Activity(1,2,3,4). In screen the 2nd activity should show in the center the next two activity (2 and 3 Activity)corner shows in the left and right in the page and if he again swiple it should be (2,3,4) from(123)Activity. How can i do this the image i need is below

manlio
  • 18,345
  • 14
  • 76
  • 126
Ramz
  • 7,116
  • 6
  • 63
  • 88
  • When you have two questions that are not even remotely related in their answer, do not create a single question post... post two separate questions. – mah Sep 28 '12 at 19:40

1 Answers1

1

If you have multiple Activities on one screen you should probably consider using Fragments instead. And for Swiping between Activities I would use a ViewPager and swipe between Fragments.

http://developer.android.com/guide/components/fragments.html

http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html

http://thepseudocoder.wordpress.com/2011/10/05/android-page-swiping-using-viewpager/

JustinMorris
  • 7,259
  • 3
  • 30
  • 36