Android retrieving infor form a another activity
===

I am learning how to develop under Android. I've made a new project, main activity, and I wanted to design a new window. I've genereted the new Activty as it it described here
http://stackoverflow.com/questions/2337874/best-way-to-add-activity-to-an-android-project-in-eclipse

1. But i can't get the visual editor for that new activity. I know that I suppose to create new layout but how to do it and connect it with that second Activity?

2. How to properly go back from the secondActivity(close it? minimize it? how?) to the mainActivity and don't loose information gathered why we were using secondActivity(for example what options user has made?


This is how i invoke the second Acitivity and it works fine.

    Intent intent = new Intent(this,DrugieOkno.class);
    startActivity(intent);

