Hey I’m working in Java in Android Studio and I’m looking to create a button that can be swiped up, down, left, and right and have it be animated like the gmail archive or delete function on a phone. Anyone know how I might do this? Thanks in advance.
I tried doing this with recycler view, but I was only able to get to go left and right, not up and down. Additionally I felt like since I wasn’t using the recycler view function, just the swiping left and right it didn’t make much sense to use recycler view.
Joseph Brumley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.