I'm working with a Door control unit to control a car window. I have 4 buttons (Auto up and down, and up and down). They are doing a good job, but I want the single up and down buttons to react like in a real car. If I tap long on them they should move as long as the button is clicked.
I tried to implement that with an OnTouchListener and it even works, but only if I move around on the button. If I just click and hold my finger, it does a short single move and then nothing until I move my finger around.
Is there something like an isClicked() method? I tried isActivated, isPressed, isSelected, is Focused, but none of them solved my problem.