Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android: How to make a tab flip like android market?

i wanna rewrite my app to fragment api, TabHost is deprecated so i've found ViewPager, but how can i make a tabbar like android market? (android market use viewpager and a bar). Superuser 3 use this bar too

like image 666
alvinmeimoun Avatar asked Nov 01 '11 19:11

alvinmeimoun


2 Answers

The technique is called "Swipey Tabs" and is described by Kirill Grouchnikov, a google user interface engineer, in this blog post.

Andreas Stütz has done a project to replicate the functionality called android-viewpagertabs. Other people have had a go too.

like image 103
JosephL Avatar answered Nov 12 '22 07:11

JosephL


Take a look at this guide: http://blog.stylingandroid.com/archives/537

like image 29
rciovati Avatar answered Nov 12 '22 08:11

rciovati