hide activity in android

Here is a suggestion to solve your problem.

when you go from Button that is in Activity two and now you are in Activity one make sure that when you move from activity two to one, it should not finish activity two.

Now when you want to go back to Activity two So you need to call your Activity like this in below.

    Intent mIntent=new Intent(yourActivityOne1.this, YourActivity2.class);
    mIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
    mIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
    startActivity(mIntent);

so what this code does is it will make Activity to come over first without creating a new instance of activity and you can see that your last loaded website it there.