android - How to override navigation bar buttons -
Is it possible to override all button in the Android navigation bar? Is it possible to add a new button?
How do I change the button's appearance? I want to set another background bitmap
I'm using a Nexus 7. I only know backdated but what about the other two buttons? And how is this called?
I think you need to override this method! Public boolean override {int kikod, key event event} {@ (keycode == KeyEvent.KEYCODE_BACK) {OnClick click = new OnClick (); I have used this method to handle the event for saving my form and you use the Good luck. @KeyDown Click.onClick (findViewById (R.id.btn_cancel)); } Return super.Condondon (keycode, event); }
KeyEvent parameter to handle other keys. Can be used.
Comments
Post a Comment