简体   繁体   中英

How do I switch between layouts (like the ICS+ calculator sort of) with slide?

I currently use the onBackPressed() to switch between layouts in an android app, but that's not a very traditional method. I want to implement a swipe/slide gesture to switch between them. Any ideas on how to do that?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM