Open main menu

CDOT Wiki β

Teams Winter 2011/team1/Android/Adding Elements to Main Screen

Revision as of 16:18, 22 March 2011 by Azea (talk | contribs)

2. Adding Elements to Main Screen

2.1. To see the screen preview open main.xml file (res -> layout -> main.xml):
 
2.2. To add a new layout to the main screen select Layouts' folder from the Palletes menu:
 
2.3. Drag and drop the LinearLayout into the main screen.
2.4. In order to add a TextView to this layout select Form Widgets from the Palette's menu and drag and drop it into the layout.
2.5. Change the textView Properties