change color color of text inside seterror method
<p>I am currently using an android application where i am using a seterror method for edittext validation . The problem is that i want to change the color of the text inside the method . plz help me... </p>

<pre><code> EditText UserNameEdt, PasswordEdt;
 String UserName;
 @Override
 protected void onCreate(Bundle savedInstanceState) {
 // TODO Auto-generated method stub
 super.onCreate(savedInstanceState);
 setContentView(R.layout.login);
 UserName = UserNameEdt.getText().toString();
 Password = PasswordEdt.getText().toString();
 if (UserName.equals("")) {
 UserNameEdt.setError("Enter UserName");

    } 
 }
</code></pre>

<p>i want to change the color of string "enter username" into black, not the text inside the edittext</p>
