Questions tagged [android-input-method]
The InputMethod interface represents an input method which can generate key events and text, such as email addresses, other language characters, etc., while handling various input events, and send the text back to the application that requests text input
android-input-method
429
questions
0
votes
1
answer
96
views
Overriding AOSP keyboard
Error:
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.inputmethod.latin.CarIME" on path: DexPathList[[zip file "/data/app/~~6CnZ_EwlgHaoEjQXjHx4lA==/com....
0
votes
0
answers
32
views
How to get Google Messages to accept image using commitContent() from custom third-party image keyboard?
Have followed official documentation and sample projects but for some reason I can't get Google Messages to accept my png images. It works for Facebook's Messenger, logs that it successfully commits ...
1
vote
0
answers
257
views
How to create input connection from Jetpack Compose Text Field?
I have my own custom keyboard created with jetpack compose, in my custom keyboard there's a feature that shows a textfield and we can type that textfield with the keyboard too, so I have to switch ...
0
votes
2
answers
92
views
Suggestion text is not displaying in android keyboard
When I use inputType as "textUri", Suggestion text input is not displaying.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://...
0
votes
0
answers
22
views
inputConnection behaves differently in Activity and InputMethodService
I'm creating a custom keyboard using LinearLayout. On every key TextView click, inputConnection commits the text. It is working fine when inputConnection.commitText and inputConnection....
0
votes
0
answers
220
views
Is adjustResize deprecated or only WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE?
After trying to mess around with soft input mode, the only thing that work for my requirement is setting android:windowSoftInputMode="adjustResize" of the activity in manifest and activity?....
0
votes
1
answer
104
views
InputMethodService onCreateInputView not called
I have a simple InputMethodService implementation:
class MyKeyboardView : InputMethodService() {
override fun onCreate() {
super.onCreate()
Timber.d("onCreate")
}
...
0
votes
0
answers
16
views
GestureOverlayView on top of a InputMethodService
Is there any way to put a GestureOverlayView on top of a keyboard in Android?
If this is not possible, it would be helpful if you can give any references on how to swipe keyboards switch between a ...
1
vote
0
answers
227
views
Android. How to implement a custom keyboard?
I'm going to develop a custom keyboard, but I don't understand the sequence of steps that I need to perform in order for everything to work properly.
My requirements: the keyboard should automatically ...
0
votes
0
answers
59
views
How to change the default style of keys for custom keyboard in android?
I created my own custom keyboard in android using InputMethodService class and keyboardView with rows and keys i needed and everything is right but i need to change border radius of keys.
i tried to ...
0
votes
1
answer
44
views
How do I create keypreview from InputMethodService using PopupWindow in android?
I am trying to create custom keyboard for android system with Buttons and it is working fine. But now I want to add key preview. I am new in android, plese help me if it is possible showing ...
0
votes
0
answers
13
views
Can I display PopupWindow from InputMethodService in android?
I have created custom keyboard using buttons within LinearLayout and I handle the click event from xml attribute - android:onClick. In onCreateInputView method I used LayoutInfalte, and it is working ...
2
votes
0
answers
36
views
android custom IME getSelectedText blocks main thread
I have a soft keyboard app. I am trying to getSelectedText() of the EditText in order to handle occasions when user has selected some text. I need to do this because my app does not access the app ...
1
vote
1
answer
1k
views
Can a Compose LazyList be scrolled to adjust for keyboard?
I have been wrestling with IME padding/adjustment for my app. I have written a little toy app to try and focus on just the problem. The app presents a scrollable list of cards with info on them, the ...
0
votes
1
answer
299
views
Is this statement "Although Android gives focus to the first text field in your layout when the activity starts" still valid?
I found the subject statement in Handle input method visibility section
I would like to try to open my keyboard on activity start. However, my only EditText is not focused on activity start. My layout ...