Android keyboard starts automatically when message is not on editText

I work with an emulator, I create an application, and the user must write in Arabic, I installed the Arabic keyboard, and it works when I want to write in a message, like when I open a message, I will have only 1 keyboard, but when I am typing any problem, a new keyboard appears, and I can use it to write Arabic text, two keyboards: enter image description here

but when I want to use this installed keyboard in my application, when I start typing on edittext, the second keyboard will not look like enter image description here

so how can i change the language or how can i make a second keyboard?

+2
android android-keypad emulation
source share
1 answer

I find the solution to my self, and for everyone, as a problem in a pop-up keyboard, it uses this code:

((InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE)) .showSoftInput(YourEditText, InputMethodManager.SHOW_FORCED); 
+1
source share

All Articles