I have an EditText using android:inputType=”textPostalAddress” as the keyboard type. I would like it to default to the alt keyboard (SYM) which has numbers, and after the user hits space, switch back to the main alpha keyboard. I am using an OnKeyListener with a regex to check if a space has been entered. Is there a way to programmatically switch back and forth, simulating a SYM/ABC button press?
I have an EditText using android:inputType=textPostalAddress as the keyboard type. I would like it
Share
I have not tried but I believe it can solve ur problem: