Reputation: 1273
I'd like to have a similar swipe menu like in Navigation app. When the current item is moved to the edge (second picture, "shortcuts" is moved to right edge), it hits the neighbouring item (contacts):
I've found only SwipeyTabs, but that's not exactly what I want.
Upvotes: 1
Views: 2094
Reputation: 2753
I think u can do this by also selecting Navigation Type -> Scrollable Tabs + Swipe ,while creating new project and for Activity type,It gives the same swipe screen but with only letters 1 2 3 for each pages,,try to send your custom view for these Fragments showing 1 2 3 and its done like you wanted. PS: I am not sure about the efficiency of this method though
Upvotes: 0
Reputation: 1131
That sounds like you want to create an Action Bar with Tabs and View Pager for Swipe Navigation? You may check this out: How do I implement swiping between tabs on Android?
If you want Tabs + Swipe also for lower Android versions you could also try Action Bar Sherlock
Upvotes: 1
Reputation: 15798
You need Android-ViewPagerIndicator
https://github.com/JakeWharton/Android-ViewPagerIndicator
try the sample application
https://play.google.com/store/apps/details?id=com.viewpagerindicator.sample
Upvotes: 2