First page Back Continue Last page Graphics
onCreate()
The code in onCreate calls the onCreate method of Activity, our activity’s parent class
When we created the app, a default layout was created for our activity too
Recall that a layout defines the user interface for an activity
This includes what controls it contains, their position, and so forth
The call to “setContentView applies the default layout to this activity�