How to change background color of editText?
<p>I need to change background color of <code>EditText</code> if it is empty.
Below is my code but doesn't seem to be working.</p>

<pre><code>public void onClick(View v) {
    // TODO Auto-generated method stub            
    Change();    
}

public void Change() {
    if(("").equals(name)) {
        name.setBackgroundColor(Color.RED);
        return;
    }
}
</code></pre>
