SyntaxFix
Write A Post
Hire A Developer
Questions
why don't you call finish();
finish();
when you want to return to MainActivity
btnReturn1.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { finish(); } });