Android Question Want to swipe to slide a page with new activity/layout

Branko Milosevic

Active Member
Licensed User
As the title said I am trying to swipe slide a screen to bring another screen possibly animated from the right and start its activity. Does it require implementation of viewpager or it's more simple than that? Implement and detect a swipe gesture and start the new activity/loadlayout. It seems like it should be easy to do but started b4A a couple of days ago so still can't wrap my brain around most of it. Not the b4A itself, it's fantastic, the designer the bridge and IDE, they are great.... but the implementation of the stuff and what's available beyond the standard UI elements like labels, buttons...ugh.
Thanks,

OK just found out about Sliding Panels so will try this
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
Check out the sliding panels example
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
You can either use the gesture lib, or use the panel's touch event
 
Upvote 0
Top