Is it possible to display only a number pad like w/ InputType.TYPE_CLASS_NUMBER but accept letters and hyphens too?
Setting the edittext's key listener did the trick. editText.setKeyListener(DigitsKeyListener.getInstance("0123456789.-abc......etc));