I'm building a piano, and I have the following problem. When a button is pressed and holds pressed, it is not possible to press the next while still holding the current. I need to play more than one note without removing the finger from the screen. How could I solve this?
Asked
Active
Viewed 42 times
-1
-
Have you had a look at the [Android Developer](https://developer.android.com/training/gestures/multi.html) website? – lambda Sep 30 '16 at 22:24
1 Answers
0
I think you need to look into adding an OnTouchListener to your Piano view. This will get events constantly as long as the user's finger is on the screen.
There's a helpful overview in the official UI Events docs.

Cliabhach
- 1,402
- 2
- 12
- 19