Validate/restrict inputs on keypress in android

I think event micromanaging is overkill here. I recently posted this example using split two-way binding that limits to numeric input and pins to min/max ranges.