2
  1. On Edit text focus the default keyboard should be displayed with the option to switch to numeric keyboard disabled.

  2. I am aware of the options Viz
    2.1 Add ontextchanged listener.
    2.2 Add alphabets allowed in digists property in xml e.g adroid:digits="abcdefghijklmnopqrstuvwxyz"
    3 The problem with above methods is that the numpad is still shown and the behavior could be better and user friendly if the numpad is not shown at all. Is this possible? If yes how?

chaitanyad
  • 998
  • 1
  • 9
  • 27

1 Answers1

0

Set the inputType of your edittext in the XML as "text". This will show only the alphabets keyboard. https://developer.android.com/training/keyboard-input/style.html

Arun Shankar
  • 2,295
  • 16
  • 20