title: Get text from pressed button
body: <p>How can I get the text from a pressed button? (Android)</p>
  
  <p>I can get the text from a button:</p>
  
  <pre><code>String buttonText = button.getText();
  </code></pre>
  
  <p>I can get the id from a pressed button:</p>
  
  <pre><code>int buttinID = view.getId();
  </code></pre>
  
  <p>What I can't find out at this moment is how to get the text on the pressed button.</p>
  
  <pre><code>public void onClick(View view) {
    // Get the text on the pressed button
  }
  </code></pre>