title: Is possible to change Button text using xml attribute onClick="click" and without creating a Button Object
body: <p>I am a beginner in android app development, I have seen there are two methods to handle on button click.
  First one is using <code>setOnClickListener</code> and second is using xml attribute <code>onClick</code>.</p>
  <p><code>onClick</code> xml attribute quite easy for beginner/me.</p>
  <p>I can change button text by creating an object of a button and then: <code>btn.setText(&quot;Button Clicked&quot;);</code></p>
  <p>But my question is can I use setText, isEnabled, etc.. methods for button without creating its object.</p>
  <p>Is possible to change button text <strong>without creating a Button Object</strong> or using the XML attribute <code>onClick</code>.</p>