I have a button defined in my layout, I implement onclick buttons without problems, but now I need to know when my button is doww and up, like onkeydown event for fisical buttons. There is something like that for customs buttons??. Because onKeyDown (int keyCode, KeyEvent event) have a int keycode but muy custom button haven’t.
I hope someone can take away that query.
thank you in advance
I have a button defined in my layout, I implement onclick buttons without problems,
Share
Yes there is. try this code.