I want to show the keyboard like this on edit text focus.
How to show the soft keyboard in the layout shown in the image? I want the + - / * ( ) keys.
I want to show the keyboard like this on edit text focus.
How to show the soft keyboard in the layout shown in the image? I want the + - / * ( ) keys.
All you need is input type! So in your XML file. Add this line to your editText:
android:inputType="number"
Also, you can use other types based on your needs, like:text
,phone
,date
,password
,etc.