SyntaxFix
Write A Post
Hire A Developer
Questions
@Override public void onBackPressed() { }
When you create onBackPressed() just remove super.onBackPressed();and that should work
onBackPressed()
super.onBackPressed();