I'm trying to implement a number-only EditText field in my app (Android API 23), meaning that I want the number-only keyboard to show-up when the user enters into it.
To do this I have tried setting these attributes on the EditText field...
android:inputType="number"
android:digits="1234567890"
and
android:inputType="phone"
android:digits="1234567890"
but this still brings up the full keyboard.
Any ideas why this is happening?
I'm testing on a Nexus 5x (Android 6.0.1) with the default keyboard