DropDropped
DropDropped

Reputation: 1273

Swipe menu like in Navigation android app

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.

Upvotes: 1

Views: 2094

Answers (3)

Ujju
Ujju

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

DuKes0mE
DuKes0mE

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

Related Questions