SyntaxFix
Write A Post
Hire A Developer
Questions
Use onBackPressedmethod
onBackPressed
@Override public void onBackPressed() { finish(); super.onBackPressed(); }
This will solve your issue.