I would like to create a masked input for android. If a character is keyed into an edittext field that is not allowed, I would like to remove it from the edittext display. Typically, I'd do this with a keydown type function and then consume the keystroke instead of allowing it to make it into the edittext textbox. Any suggestions?