5

I want the keyboard to appear in following format.

I just tried all the available solutions but none of them is working for my soft keyboard.I want a solution for this.

I used the Keyboard Qwerty and input type options.

Senthilvel S
  • 331
  • 1
  • 7
  • 21

3 Answers3

2

If your using EditText Then use in layout

 android:inputType="numberDecimal"

in android manifest

android:windowSoftInputMode="adjustPan"
Aditi K
  • 1,534
  • 5
  • 22
  • 43
1

You need to configure the inputType of your EditText to number..

<EditText android:inputType = "number|text"..../>
mithileshssingh
  • 275
  • 3
  • 16
0

You can try adding this to your code (where "input" is your EditText) :

input.setRawInputType(Configuration.KEYBOARD_12KEY);
gilonm
  • 1,829
  • 1
  • 12
  • 22