Android setContentView with Textview
<p>I'm completely new to Android application programming, and I was reading through Google's tutorial: <a href="http://developer.android.com/training/basics/firstapp/starting-activity.html" rel="nofollow">http://developer.android.com/training/basics/firstapp/starting-activity.html</a>. </p>

<p>On this page, under the "Display the Message" section, they create <code>TextView</code> object, and use <code>setContentView</code> with the <code>textView</code> object as the argument, to display some text. I was wondering, if I'm understanding correctly, instead of creating the <code>TextView</code> object within the code, can you define it in XML instead? If you define it in XML, would that require you to create a new XML file besides main_activity.xml? Thanks.</p>
