title: Handling click events on a drawable within an EditText
body: <p>I have added an image right of the text in an <code>EditText</code> widget, using the following XML:</p>
  
  <pre><code>&lt;EditText
    android:id="@+id/txtsearch"
    ...
    android:layout_gravity="center_vertical"
    android:background="@layout/shape"
    android:hint="Enter place,city,state"
    android:drawableRight="@drawable/cross" /&gt;
  </code></pre>
  
  <p>But I want to clear the <code>EditText</code> when the embedded image is clicked. How can I do this?</p>