I have two tabs on my ActionBar and four pages in a ViewPager. I need to define and specify eight different layouts for these situations. I've written the XML layouts, but where do I set them?
Asked
Active
Viewed 1,737 times
1
-
in the java code. there is a addView method – njzk2 Oct 03 '12 at 11:53
-
[Linked Question](http://stackoverflow.com/questions/7244813/android-viewpager-implementation) – Anup Cowkur Oct 03 '12 at 12:02
1 Answers
2
Here's are some nice tutorials you can use:
http://android-developers.blogspot.in/2011/08/horizontal-view-swiping-with-viewpager.html
http://mobile.tutsplus.com/tutorials/android/android-user-interface-design-horizontal-view-paging/
https://thepseudocoder.wordpress.com/2011/10/05/android-page-swiping-using-viewpager/

Anup Cowkur
- 20,443
- 6
- 51
- 84