3

I'm trying to do an edittext for IP input, so input chars are numbers and dots:

android:inputType="number"
android:digits="0123456789."

this works great but when change to landscape view dots are invisible. Keyboard is working well, if i touch dot button a dot is added, when come back to normal view all dots are visible. How can i get dots visible in landscape view? Thanks

albert
  • 8,285
  • 3
  • 19
  • 32
borja
  • 125
  • 9

1 Answers1

0

Change android:inputType="number" to android:inputType="phone"

https://stackoverflow.com/a/11543734/1802587

Maor Hadad
  • 1,850
  • 21
  • 36