Questions tagged [android-softkeyboard]
The default onscreen input method provided by Android OS.
2,694
questions
0
votes
1
answer
25
views
adding arrow keys to a keyboard in android studio
I've been trying to program my own keyboard on android using android studio. One thing I wanted to add are some arrow keys to move the cursor. My current code for the layout of the keyboard follows ...
0
votes
1
answer
18
views
How to specify a keyboard language in Android Compose
I'm coding an app in Android Compose.
I have a TextField with text in known language, say German.
When a user taps the TextField, the keyboard pops up.
I want the keyboard to pop up preset with German ...
1
vote
0
answers
16
views
InputConnection.getTextBeforeCursor() takes too long time and ANR occurred
I'm releasing 3rd party keyboard application on the Google Play Store.
I received some ANRs like below
Input dispatching timed out (e716b5 InputMethod (server) is not responding. Waited 10001ms for ...
0
votes
0
answers
26
views
Hiding android soft keyboard interrupts value assigning
I made a small app that should visualize a priority queue by using a heap structure(Kotlin, Android Studio API23).
It has an array that displays numbers, a grid view where elements are shown or hidden,...
0
votes
0
answers
24
views
TextField losing focus inside LazyColumn
I'm trying to build an UI that contains a search bar inside a LazyColumn layout. The only problem is that the TextField loses focus if it is not at the top of the screen.
Code:
val listState = ...
2
votes
0
answers
121
views
Give EditText focus without showing the soft input
I have an EditText configured in the following way because I have a custom keyboard to display:
binding.editText.showSoftInputOnFocus = false
It works alright but I want to give the focus to the ...
0
votes
0
answers
25
views
keyboardAvoidingView keyboard Top white space is not removed in React native code
I am trying to remove white space is present in the keyboard is open while running react native code i already tried to use "adjustResize" ,"adjustPan","adjustNothing" in ...
1
vote
1
answer
22
views
Kotlin Custom Android Keyboard IME - method onUpdateCursorAnchorInfo from InputMethodService is not working
I'm developing a custom android keyboard in Kotlin and I have looked at this post for how to detect cursor movement/change when the user clicks on text editor.
Here is a snippet of my code of my ...
0
votes
1
answer
19
views
Android - Soft keyboard hides when long press on field
When I open any input field in my app, soft keyboard is shown.
But when I switch to another field, or click on same field again, or long-press on same field, keyboard gets hidden.
How I can disable ...
0
votes
0
answers
91
views
BringIntoViewRequester not working when composable that needs to be bringed into view is resized
Last few days I'm trying to find a solution for a problem when
keyboard overlaps text input field in vertical scrollable
column.
After trying many things, finally found solution where everything is ...
0
votes
0
answers
20
views
Android Catch new line break on multiline edit text
This is multiple line edit text.
<EditText
android:id="@+id/editText"
android:imeOptions="actionGo"
android:inputType="text|textMultiLine"
.....
/>
...
0
votes
1
answer
47
views
How to close the Android Soft Keyboard
I have a form-like dialog. The soft keyboard opens when the user clicks an EditText. And then it will not go away.
How can I close the keyboard when the user moves on from an EditText to the next ...
0
votes
0
answers
21
views
custom Keyboard multiple click not working
everyone
I need help!!!
Created a custom keyboard with some extra keys(like different language keys) and used onTouch method for managing click event but cant handle multitouch event on keyboard, on ...
1
vote
0
answers
54
views
Google Chrome 101 on Android shows TAB key on soft keyboard instead of ENTER for HTML input field
I am using Chrome 101 on Android 11. Setting the focus on a HTML input field brings up the soft keyboard. In earlier versions of Chrome, the soft keyboard then had the ENTER key on the lower right:
...
0
votes
1
answer
26
views
Android softInput on done click does not closes Action tool bar(Copy/paste bar still remains on screen)
Problem: I am facing an issue in my fragments. When i click on edit text input field softInput keyboard opens and while keyboard is open when i long press on edit text field it opens system action bar ...
0
votes
0
answers
15
views
Hiding soft keyboard in a tablet application using angular
Is there a function that I can use to hide the soft keaboard of a tablet as I am implementing my own virtual keyboard? Please send me solutions using angular. Thanks in advance
0
votes
0
answers
22
views
How to detect down arrow on keypad [duplicate]
how can I detect the down arrow on the keypad.
I have an edit text, when it is clicked i open a number keypad, I want to detect when the keyboard is closed by clicking on the down arrow as shown in ...
0
votes
0
answers
49
views
soft keyboard pops up when trying to resize an image in flutter_quill
i am using flutter_quill as rich text editor for my project. I am facing an issue related to soft keyboard, whenever i try to use the resize feature provided by default in flutter quill, soft keyboard ...
0
votes
0
answers
39
views
Input Service for Jetpack Compose
I'm building my own soft keyboard for my app.
I was wondering if there was a way of popping open my custom keyboard instead of the default android soft Keyboard.
For example, when clicking on a ...
0
votes
0
answers
30
views
Keyboard not showing for a searchview in android service floating UI
I am trying to display keyboard when the searchview is focused on my floating UI. The floating UI is based on a service
(ref: https://www.androhub.com/android-floating-widget-like-facebook-messenger-...
0
votes
0
answers
77
views
Fullscreen keyboard when keyboard is open in landscape mode
I am using an Android plugin for displaying flutter app over other android apps, I did it, and to make a fullscreen keyboard when the keyboard is open in landscape mode, this functionality is also ...
0
votes
1
answer
328
views
D/InputConnectionAdaptor( 3218): The input method toggled cursor monitoring on
This is a part of form I use inside a card widget on my auth_screen.dart file:
child: Obx(() => Form(
key: _formKey,
child: SingleChildScrollView(
child: Column(
...
0
votes
2
answers
191
views
How to show textinput box above the Keyboard while entering the input in flutter
I am using TextField widget in my project. I need to show the InputBox above the keyboard if the user clicks and start typing on the TextField, WhatsApp has this functionality in Landscape mode:
I ...
1
vote
0
answers
34
views
Android Image insertion from keyboard Not working
I am using SuperNova-Emoji for showing emoji icon in my app and now I tried to implement by this official guide but even after following official code with the library i am using it doesn't support ...
0
votes
2
answers
41
views
Space between soft keyboard and edit text
I need to provide some padding between the keyboard and edittext when soft keyboard pops up which generally hides the bottom part of edittext.
When the soft keyboard is opened, i need the full ...
1
vote
0
answers
109
views
How to open emoji keyboard, instead of alphabets using TextInput in React Native
I am looking for a way to open Emoji section in keyboards, like if user clicks on a Button it will open System Keyboard, but Emoji Section. Is there any possible way of doing it.
For example if I ...
0
votes
1
answer
59
views
How can you listen to soft key events sent to a View with an InputConnection?
I would like to create a custom text editor view in Android, with customizable key controls, meaning that I need to handle all software keyboard key events.
To do this, I can extend View and override ...
0
votes
1
answer
25
views
Android - execute function if any button on soft keyboard is pressed
I am trying to implement a function that will be executed when any key on softkeyboard is pressed. Any recommendations how to implment it?
1
vote
2
answers
138
views
Hiding software keyboard in Compose broke Kotlin Flow/Channel events collection
I'm trying to hide the soft keyboard in an Android app with Compose UI.
There are events emitted by ViewModel through the kotlin coroutines channel:
private val _screenEvents = Channel<ScreenEvent&...
2
votes
1
answer
347
views
Jetpack compose soft keyboard opens up when switching apps
A weird bug in my current app that was created using Jetpack Compose.
Issue: Once the soft keyboard is opened in the app, due to any screen with TextField, the keyboard is shown every time when ...
1
vote
1
answer
17
views
Android - How do I re scale eveything when the softKeyboard appears (adjustResize) but keep the background the same size?
So in my App, when the keyboard appears, the whole layout is resized to fit above it, which is exactly what I want except for the background image, I want it to stay the same size.
After some research,...
0
votes
0
answers
35
views
How to make soft keyboard and dialog overlap?
I have a fullscreen dialog that contains an edittext view. when edittextis clicked soft keyboard pop and pushes the dialog up. I tried to use SOFT_INPUT_ADJUST_NOTHING to avoid this problem and make ...
0
votes
0
answers
32
views
Cocos2dx - remove "DONE" button above soft keyboard in android
I have checked some of the question that how to add "DONE" button above soft keyboard but there is no any questions that how to remove that button. when I click on any EditText in the app ...
1
vote
0
answers
179
views
TextInput loses focus if keyboard overlaps it on Android
I have a very simple TextInput component on a screen like and an onEndEditing method like so:
<TextInput
style={Styles.input}
placeholder='testing placeholder'
placeholderTextColor={...
0
votes
0
answers
59
views
How to prevent WebView from auto scroll up when soft keyboard is shown?
I am working on an Android Fragment that has a WebView component.
Inside this WebView, there is a content-editable div used as compose area.
During development, I noticed whenever the content inside &...
0
votes
0
answers
69
views
How to prevent soft keyboard from blocking bottom action buttons while not reducing scroll view area?
My current view consists of a scroll view, and a bottom action button area. The bottom action buttons are always visible regardless of how many fields I have inside the scroll view:
Problem is, when ...
1
vote
1
answer
449
views
How to prevent mobile keyboard from closing when I click button in website?
I have a simple chat view, and one button that when clicked sends the value of input field to api (send message)
After I insert text via mobile virtual keyboard, and click "Send" Button the ...
0
votes
0
answers
35
views
set key icon programmatically in android KeyboardView
i'm making a KeyboardView in android and I need to have each key icon change depending on a sharedPreference. How can I change the key icon programmatically? can I add padding to this icon?
I tried ...
1
vote
0
answers
44
views
Updating `enterKeyHint` resets the input value on Chrome Android
I'm updating the value of enterKeyHint dynamically in an autocomplete library. When there's a active item, the Enter key should use "go" (to hint that hitting Enter navigates to the item's ...
0
votes
0
answers
14
views
Open softkeyboard in floating mode in android
Is there any method to open soft-keyboard in flying/floating mode?
The normal behaviour is like that,
But I want to start keyboard like this
0
votes
1
answer
37
views
KeyboardView key colour is not setting properly in Android
I ma trying to change the keyboardview key color in Android. Key color is changed. But text is not visible in the key.
@Override
public void onDraw(Canvas canvas) {
// TODO Auto-generated ...
0
votes
0
answers
40
views
Can you switch windowSoftInputMode between AdjustPan and AdjustResize for different screens in React Native?
For example, I want adjustResize for some screens, and adjustPan for the rest. Is it possible to do so? And would it slow down the app?
0
votes
1
answer
134
views
What is the keycode for search/next/send button
does anyone know what keycode I have to press for this Send/Search/Next button?
I'm trying to send a chat message and can't find a solution to this one.
Already tried keycode: 66 and 84.
keyboard view
0
votes
0
answers
37
views
Android: Soft keyboard pushing up layout and was immediately hidden
I have a screen that contains a list textinput and a button at the bottom of the screen. When i tap a textinput near the bottom of the screen soft keyboard show and pushing up my layout but keyboard ...
0
votes
0
answers
15
views
Get Android view of text box from onStartInput overrided funciton of custom keyboard service which extends InputMethodService
I have created a custom on screen keyboard by creating a service which extends InputMethodService. Whenever i click a text box, my custom keyboard pops up and onStartInput() (overrided in my service) ...
0
votes
1
answer
154
views
AdjustResize does work on Android 10 but not on 11 or 12
I am trying to move my layout whenever the keyboard appears.
The development device is a xiaomi mi 9 lite running miui 12.0.10 and Android 10 QKQ1.
On my development device everything works as I ...
-1
votes
1
answer
213
views
Caused by java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 by SoftKeyboard
Hey I am working to detect the custom keyboard in my application. I did this successfully and detect user is custom keyboard by using code
fun isUsingCustomKeyboard(context: Context): Boolean {
...
2
votes
0
answers
248
views
Android Soft Keyboard is not working properly with Accessibility Service and WindowManager
So, finally here I'm, after searching the Google and SO for this perticular problem which made me crasy from past 3 days. A lot of answers are out there but it seems that neither of them seems to ...
0
votes
0
answers
28
views
What is the right way to avoid cutting a part of a SearchView in BottomAppBar with a keyboard in Android?
There is a fragment with scrollable content that uses CoordinatorLayout to apply different types of behaviors to fragment views. Full fragment layout:
<?xml version="1.0" encoding="...
0
votes
1
answer
80
views
Make soft keyboard to fill all width of screen
I am going to implement a form with jetpack compose and I used a TextField to get the user's mobile number. In order to show the keyboard I used keyboard type NumberPassword
inside the TextField:
...