I have created swipey tabs using ViewPagerExtensions but this time i am using only one library ActionBarSherlock in my App and i dont know how to create swipey tabs like google play store. If you can help me to get it done, i'd be very thankful to you.

5 Answers
5

You need to use ActionBar Tabs, a TabsAdapter and a ViewPager (scrolly bit). Here's a full tutorial I made: http://davidjkelley.net/?p=34 (just use the ABS imports, not standard compatibility library ones).

The swipey tabs you are referring to is actually just a ViewPager with corresponding title tabs for each page. This is not included in the Android SDK by default, but you can use Jake Wharton's ViewPagerIndicator to add the titles for each tab in your ViewPager. I believe that ActionBarSherlock (which is also created by Jake Wharton) provides the same exact functionality as well.

@OP (not chubbard), this is the base code that I used in my own response to your question. They're very similar. Just remember to use ABS imports rather than the compatibility library!
–
Davek804Jun 7 '12 at 2:26