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 - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -