Android: How to make flip tab like Android market?

I want to rewrite my application to api fragment, TabHost is deprecated, so I found ViewPager, but how can I create tabs like the Android market? (Android projector to view and panel). Superuser 3 also uses this bar.

+6
source share
5 answers
+2
source

This method is called "Swipey Tabs" and is described by Cyril Gruchnikov, a Google user interface engineer, in this blog post .

Andreas StΓΌtz completed a project to reproduce the functionality of android-viewpagertabs . Other people went too .

+4
source

I think you are looking for the viewflipper class http://developer.android.com/reference/android/widget/ViewFlipper.html

+1
source

I'm not sure about Honeycomb, but in Ice Cream Sandwhich this happens automatically when enough tabs are added to the action bar.

0
source

The guy who created the ActionBarSherlock as a project for this type of function called ViewPageIndicator. Here's the url: http://viewpagerindicator.com/

0
source

Source: https://habr.com/ru/post/900554/


All Articles