Android: ViewPager inside a layout -


i have activity has linearlayout in turn split in 3 more linearlayouts .

i want make top-third horizontally 'swipable'. solution assume make view swipable implement viewpagers. not able figure out how viewpager inside linearlayout. rather not have tabs on top of each view inside viewpager.

my solution use viewflipper:

<linearlayout ... > <viewflipper> <relativelayout> <!-- design here (part1)--> </relativelayout> <relativelayout (redifine same id)> <!-- design (part2)--> </relativelayout> <!--repeat further parts of design--> </viewflipper>  </linearlayout> 

Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -