How can I create button which clears an EditText?
<p>How can I create a button which resets/deletes all text in an <code>EditText</code>.</p>

<p>This is some code I've written:</p>

<pre><code>private View.OnClickListener onRes =new View.OnClickListener(){

    public void onClick(View v) {
        // TODO Auto-generated method stub
        // Here i wanna put some code to clear the EditText

    }
};
</code></pre>

<p>I don't have any idea how to do that.</p>
