A couple questions about the back button (as seen on the emulator)...
Do all Android phones have the back button as a hard, tactile button?
If so, is it still recommended to put a back button in your software?
Is it possible to change the animation between activities when this back button is pressed? I would like it to be consistent with the animations in my app.
All Android phones have a dedicated BACK button. It is not always a "hard, tactile" button.
It is never recommended to put a BACK button in your software.
Reportedly, yes, but I do not have the answer handy, sorry.
For 3: Yes.
@Override
public void onBackPressed() {
super.onBackPressed();
overridePendingTransition(R.anim.zoom_enter, R.anim.zoom_exit);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With