title: EditText length with "exceptions"
body: <p>I have an EditText and I'd like to set maxLength to four numbers (in range -9999 to 9999). Problem is that if I set<code>android:maxLength="4"</code> in xml I can write there e.q "9999" but it doesn't accept "-9999" because of length (5 char). Is there any opportunity how to solve it (programatically or anyhow)</p>
  
  <p>Thanks</p>