Android Question Implement "Slide to Answer"Button

Nataly

Member
Any suggestion on how can I implement a similar button to "Slide to Answer" button in iPhone.

1634740571894.png
 

Nataly

Member
Hello @Erel, I tried to use a msg box after the slide to answer button reached the end. But the message box appear 3 times, how can i resolve this issue?
 
Upvote 0

Nataly

Member
Hello @Erel,
How can I return the button to initial state? I tried to save the initial position and assign it after reaching the end but didn't work.
 
Upvote 0

Nataly

Member
New version uploaded to post #2. The thumb returns back automatically after the ReachedEnd event.

The code is quite simple. You can further customize it as needed.
Hello Erel Thank you for your help, I used the code in post 2 same problem, but I removed sleep(16) and it worked. Maybe because I want it to return on Activity_resume not only on Activity_create.

Thank you again for your help.
 
Upvote 0
Top