basic question: creating a button (or anything)
<p>I'm relatively new to Android development and Java (learning both simultaneously sort of...). </p>

<p>My question is: if I set up a button in main.xml, I still need to actually create the button in my Activity, right? Like the XML just controls the look of the button, but you need to actually create a button by doing something like</p>

<pre><code>private Button myButton;
</code></pre>

<p>Just wanted to make sure I had this clear conceptually. You create an object in your class and then just tell Android to do something like </p>

<pre><code>myButton = (Button) findViewById(R.id.my_button);
</code></pre>

<p>Just wanted to make sure I'm clear on this. </p>
