• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Press buttons without release finger from screen

kng

Lurker
Hello. I need your help.

I want to press buttons like it shown on this picture.
C1NW3.jpg

That is I want to press buttons by holding finger on the screen and moving it along buttons. For example on this pic buttons 1, 2,5,8,9 will be pressed after this procedure. Sorry for my bad english, but i cant to describe this in a different way.

How I can do this?
 
I can't confirm this , but I think you can use onTouchListener instead of onClick .. not in the mood to look it up now .. sorry
 
I can't confirm this , but I think you can use onTouchListener instead of onClick .. not in the mood to look it up now .. sorry
When I tried to use onTouchListener() buttons react like on press and second button didn't react to finger.
But thanks, may be I did something wrong, I'll try it again.
 
Back
Top Bottom