简体   繁体   中英

adding a slide to unlock or open button android

I have an open screen to my app and I want to add a slide to unlock open button to that screen so when the user will slide it he will enter the application.

can someone help me???

Thanks in advance

Use GestureDetector and implement onFling Event. One of the post to implement it

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