Relativelayout
The Location property of the subclass control itself:
Framelayout
Absolutelayout rarely used
Tablelayout
Table layout with five layouts (tablelayout): The Tablelayout table layout model manages child controls as rows and columns, each of which behaves as a TableRow object, or it can be an object of view.
Note: Hidden properties and shrink, extruded properties can only be placed in the parent class layout.
The local property is for a control in TableRow.
Activity
There are two important loops in the activity's life cycle.
1. Click Home to have the mainactivity run in the background to perform the outer ring loop
2. When jumping to another page, the mainactivity loses focus, becomes transparent, and performs an inner ring loop.
The specific code process: Create a new second_activity, implement the Oncreat () method, Setcontentview (), create an XML file, and start the layout. Then register the new second_activity in the androidmanifest. Put the button in mainactivity to achieve the page jump function.
Intent
Two methods, the second has the return information.
Passing Data with intent
MU Lesson network/Android Siege Lion Video Learning and Practice (iv)