On EditText i'm using android:maxLength="3" with numbers only as input in .xml 
But when the limit is reached and the user continues to click the number stays the same.

I want to change the last digit when the user continues to click.

SAMPLE:
User clicks 3 numbers = 456
on the 4-th time he clicks '0' = 450
(The first 2 numbers stay the same except the last one which will change with every click until he confirms the number)