title: Get Value of a Edit Text field
body: <p>I am learning how to create UI elements. I have created a few EditText input fields. On the click of a Button I want to capture the content typed into that input field.</p>
  
  <pre><code>&lt;EditText android:id="@+id/name" android:width="220px" /&gt;
  </code></pre>
  
  <p>That's my field. How can I get the content?</p>