change inputType
<p>How can I change the <code>inputType</code> if is verified a particular situation?</p>

<pre><code>if(currentMethod.equals(3))
{
    display.setText("");
    if(nuovo.equals(""))    /**se nell'EditText non ci sta scritto nulla,numero2 = 0**/
    {
        Toast t = Toast.makeText(Convertitore.this, "Inserire un numero", Toast.LENGTH_SHORT);
        t.show();
        return;
    }
}
</code></pre>

<p>If <code>currentMethod</code> is equal with the element in the vector, I want that the <code>inputMethod</code> of the <code>EditText</code> changes.</p>

<p>The <code>InputType</code> in the <code>main.xml</code> is set to <code>Number</code>, I want that when <code>currentMethod</code> equal with the element in the vector, the <code>inputType</code> is <code>Number|Text</code></p>
