1

Firstly, I would like to mention that since i am not sure of the terminology of the view that i am looking for so I shall try and explain the behaviour.

I am looking for build a screen with multiple tabs where the tab indicators do not fit all inside the screen so it is scrollable. This is fine but i want that when the scrolling happens, after the last tab indicator, the tab widget automatically shows the first tab indicator right after it. So kind of like a circular tab widget.

Could someone please give pointers on how this could be achieved in android.

Thanks, Sunny

Sunny
  • 7,444
  • 22
  • 63
  • 104

1 Answers1

0

I'm not sure, since you're not so clear...but i think you're looking for this: https://github.com/astuetz/PagerSlidingTabStrip Sliding tabs like the ones in Google Play.

Gheo
  • 98
  • 6
  • no this stops after reaching the last item. It should then move to the first item – Sunny Jun 10 '14 at 18:31
  • I think you can do that by using this: https://github.com/antonyt/InfiniteViewPager . Also, check out this: http://stackoverflow.com/questions/7546224/viewpager-as-a-circular-queue-wrapping – Gheo Jun 11 '14 at 08:23