How to configure my personal keyboard as standard input in my application

I created a small keyboard to replace the standard Android keyboard. What should I do to set the keyboard as standard input in my application? Thanks

+8
android android-layout android-intent android-widget
source share
2 answers

I think this will help you. You can hide the system keyoboard used by the InputMethodManager class. And after that, do an onFocusListener on your EditText, and if you have a focus call class, you'll be on the keyboard.

0
source share

To do this, you first need to create a keyboard layout ... you have the ability to customize this. Then turn on this keyboard with the layout where you need to display ur personal keyboard. Like this

<include android:id="@+id/Kinclude" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/keypad" android:visibility="invisible" />

and write a click event for your edittext and display that keyboard when you click edittext ....

Thanks...

0
source share

All Articles