Use hidden TextView element to be able to set the keyboard's input type to TEXT. Key inputs are then routed to the input handler as usual.