title: keyListener with DigitsKeyListener and inputType not working together as programmatically
body: <p>I need to change the input type for Edittext when change the tab.</p>
  <ul>
  <li>For 1st: Number</li>
  <li>For 2nd: Text (Only few character allowed with Number)</li>
  </ul>
  <p>When going to set this ontabChangeListener, can show the keyboard with text but digits which has been set that is not working.</p>
  <p>Ex:</p>
  <pre><code>if (tabPosition == 0) {
      editText.inputType = InputType.TYPE_CLASS_NUMBER
  } else {
      editText.inputType = InputType.TYPE_CLASS_TEXT
      editText.keyListener = DigitsKeyListener.getInstance(&quot;0123456789Aa&quot;)
  }
  </code></pre>
  <p>Any idea?</p>