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 (); @KeyDown Click.onClick (findViewById (R.id.btn_cancel)); } Return super.Condondon (keycode, event); }

I have used this method to handle the event for saving my form and you use the KeyEvent parameter to handle other keys. Can be used.

Good luck.

Comments

Popular posts from this blog

c - Performance of System() -

python - how we can use ajax() in views.py in django? -

python - Sequence Pattern recognition with Pybrain -