Given that you have painstakingly set up the widgets and containers for your view in
an XML layout file named main.xml stored in res/layout/, all you need is one
statement in your activity’s onCreate() callback to use that layout, as we saw in our
stub project’s activity: