https://kotlinlang.org logo
#android
Title
# android
w

Will Nixon

12/31/2019, 9:20 PM
Hi all, what’s the best way to add a swipe gesture listener to a view in my main activity? I have a view that, if a user swipes down on it, opens another view below it. I should say, that I also have other buttons in that view, so I still want a user to be able to press those. I’m assuming the answer is creating a custom listener that takes in both gestures and taps?
stackoverflow 2
Stack Overflow hasn’t been massively helpful, sadly
k

Kashif

01/01/2020, 7:48 AM
it will be good if you can share some screenshot of ui you want to achieve
r

rkeazor

01/01/2020, 2:06 PM
This is the wrong platform for this question. Your question should be kotlin related. Try android-united
3 Views