remove cursor from editText
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5582702/disable-edittext-blinking-cursor">Disable EditText blinking cursor</a>  </p>
</blockquote>



<p>I have 2 editText fields in my activity with some text in it:</p>

<pre><code>EditText nameText=(EditText) findViewById(R.id.update_name_text);
nameText.setText(Info.getName());

EditText phone=(EditText) findViewById(R.id.phone_number);
phone.setText(Info.getPhoneNo());
</code></pre>

<p>When I run the app on my device and tap on the <code>nameText</code> field, a cursor and a keyboard appear. However, when I hide the keyboard, the keyboard goes away but the cursor stays. How can I make the cursor invisible as well.</p>

<p>When I press enter from <code>nameText</code>, the cursor goes to the <code>phone</code> field and the keyboard is still visible.This is fine. But when I hide the keyboard or press enter from the <code>phone</code> field, the keyboard disappears but the cursor stays.</p>

<p>Is there any way (other than using <code>setOnEditorActionListener</code>) to make the cursor invisible as well in the above situations? </p>
