Desliza para cambiar de pestaña con TabHelper
Frecuentes
Visto 304 veces
0
I'm creating an app that is required to be used on older devices, I used the included source at https://developer.android.com/training/backward-compatible-ui/index.html to create the tabs but I would like to be able to switch between them using swipes.
Now I guess I probably messed everything up by using the java files in that training article and adapting it for my app, but I've got my app working exactly how I want it albeit without swiping.
So, start anew? or any other suggestions?
0 Respuestas
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas java android or haz tu propia pregunta.
Take a look at this library by Jake Wharton, which ties into the Compatibility Library and adds in the ability to swipe between tabs: viewpagerindicator.com or github.com/JakeWharton/Android-ViewPagerIndicator - hooked82
@hooked82 Thanks, it looks like I'll have to completely redo the app again, but I'll use something like actionbarsherlock and viewpageridicator. - Martin Kemp