Home > Software design >  Swipe menu like in Navigation android app
Swipe menu like in Navigation android app

Time:11-03

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):

enter image description here enter image description here enter image description here

I've found only SwipeyTabs, but that's not exactly what I want.

CodePudding user response:

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

CodePudding user response:

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

CodePudding user response:

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

  • Related