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.
Take a look at this guide: http://blog.stylingandroid.com/archives/537
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 .
I think you are looking for the viewflipper class http://developer.android.com/reference/android/widget/ViewFlipper.html
I'm not sure about Honeycomb, but in Ice Cream Sandwhich this happens automatically when enough tabs are added to the action bar.
The guy who created the ActionBarSherlock as a project for this type of function called ViewPageIndicator. Here's the url: http://viewpagerindicator.com/
Source: https://habr.com/ru/post/900554/More articles:Is there a way to apply the sinusoidal distortion effect only in shaders? - shaderJFreeChart - how to change the order of the axis - reverseX axis backward numeric labels in JFreeChart - javaC ++ 11, why can't I use some functions? - c ++Comparing two local database tables using C # - c #How to combine two sql queries into one - sqljQuery Mobile Force hides soft keyboard when focusing text input field - jquery-mobileCSS line break character - cssWhat are the names of the new syntax objects added for variable templates? - c ++Internal javascript: how are events implemented? - javascript-eventsAll Articles