There is an Android application containing a home-made input field (without TextViewor EditText), so I have to show / hide the keyboard, process user input and display the entered characters myself.
I need to disable predictive text mode for standard view. Unfortunately, the Android Viewclass (android.view.View) has no function setInputType.
There is a likely solution. Get InputConnectionthis view and change its properties. But I can not find how to get and install an instance of the current one InputConnection, unfortunately, the function onCreateInputConnectionis not called either.
Is there a way to disable predictive text mode for standard view?
user2334988
source
share