java - Android retrieving info form a another activity, creating new layout -


I'm learning how to develop under Android. I have created a new project, main activity, and I wanted to design a new window. I've added the new functionality as described here

  1. But I can not get the visual editor for that new activity. I know that I think that to create a new layout , But how to do it and add it to other activity?

  2. How to properly get back from other activity (turn it off? How to reduce it to the main activity?) And do not collect loose information because we use the second activity (For example, what options have the user made?

    Similarly, I am the second alternation (intent);

      intent = new intent (this, DrugieOkno.class) div class = "post-text" itemprop = "text"> 

    for question 1: a new There is a basic tutorial about how to create an action.

    For Question 2: There is a good tutorial for preserving the data between activities . < / P>

    Hope that helps.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -