Desliza para cambiar de pestaña con TabHelper

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?

preguntado el 03 de mayo de 12 a las 14:05

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 Thanks, it looks like I'll have to completely redo the app again, but I'll use something like actionbarsherlock and viewpageridicator. -

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.