I need to use custom input method for specific edit texts inside my app.
Input method successfully works with all apps (when I select it from the system menus). So all OK with the method.
But when I tries to force its use explicitly:
<EditText
android:id="@+id/edit"
android:inputMethod="tx.android.softkeyboard.TXSoftKeyboard"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
it triggers ClassNotFoundException
Caused by: java.lang.ClassNotFoundException: tx.android.softkeyboard.TXSoftKeyboard
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400)
at java.lang.Class.forName(Class.java:326)
at android.widget.TextView.<init>(TextView.java:1233)
at android.widget.EditText.<init>(EditText.java:64)
Class tx.android.softkeyboard.TXSoftKeyboard exists of course.
In another topic user m0skit0 reported similar behaviour but no solutions..