title: Disable keyboard on EditText
body: <p>I'm doing a calculator.
  So I made my own <code>Buttons</code> with numbers and functions.
  The expression that has to be calculated, is in an <code>EditText</code>, because I want users can add numbers or functions also in the middle of the expression, so with the <code>EditText</code> I have the <code>cursor</code>. But I want to disable the <code>Keyboard</code> when users click on the <code>EditText</code>.
  I found this example that it's ok for <code>Android 2.3</code>, but with <code>ICS</code> disable the <code>Keyboard</code> and also the cursor.</p>
  
  <pre><code>public class NoImeEditText extends EditText {
  
     public NoImeEditText(Context context, AttributeSet attrs) { 
        super(context, attrs);     
     }   
  
     @Override      
     public boolean onCheckIsTextEditor() {   
         return false;     
     }         
  }
  </code></pre>
  
  <p>And then I use this <code>NoImeEditText</code> in my <code>XML</code> file</p>
  
  <pre><code>&lt;com.my.package.NoImeEditText
        android:id="@+id/etMy"
   ....  
  /&gt;
  </code></pre>
  
  <p>How I can make compatible this EditText with ICS???
  Thanks.</p>