I have an EditText with inputMode = text. By default software keyboard is shown as alphabetical and user have to switch it to numeric by pressing specific key (
I find the answer a day, finally I found this and its work.
android:inputType="textVisiblePassword"
source