Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

How to disable keyboard pan/adjusting on a ModalBottomSheet

I have a form with multiple Composable TextFields in a ModalBottomSheet. The problem is my ModalBottomSheet keeps moving to a partially collapsed state when it should simply stay expanded. I want to ...
user1743524's user avatar
1 vote
1 answer
57 views

Android Kotlin Jetpack Compose - Track down Keyboard's Down Arrow Button

This might be the duplicate question or may have been asked several times. I have tried to search the solution by other stack overflow answers but I don't seem to find the exact solution that works ...
Vijay Tahelramani's user avatar
0 votes
0 answers
37 views

How to show jumbled numberical keypad in android?

I want to show a numeric keyboard for my TextField but I want the numbers to be jumbled up every time. I have seen this in some apps but I don't think there is a native support for this (correct me if ...
Ashwin's user avatar
  • 13.3k
0 votes
0 answers
12 views

Keypad open and closes and couldn't type in few android phones on my flutter app

Only in few android phones facing this issue in others it is working fine. I am in flutter version 3.19.0. I couldn't replicate the issue in any phones. Having this issue for quite some time now. ...
user23885712's user avatar
0 votes
0 answers
72 views

After upgrade to flutter 3.19 . key pad not opening on android 12 mobile phones

I am implementing application in flutter. Recently, i upgraded my flutter to 3.19.4 and i am facing lots of bug. like i am unable to open the keypad in my app. On other Android versions, it was ...
no one's user avatar
  • 15
0 votes
0 answers
74 views

Android 14 EditText required double click to enter text if hard keyboard is attached

Till Android 13, application is working as expected, after Tablet upgraded to Android 14 EditText required double touch/click to enter text if hard keyboard is attached. My EdiText control looks like ...
Tripaty Sahu's user avatar
0 votes
1 answer
46 views

Move FrameLayout up when keyboard is shown

I saw similar topics but solutions I saw there won't works for me. So I have main ConstraintLayout with some editText. On the bottom of that Constraint I have FrameLayout with 2 buttons. Problem is ...
KyluAce's user avatar
  • 960
0 votes
0 answers
21 views

Android setOnEditorActionListener forever takes OnKeyDown event for KEYCODE_ENTER

I have a strange problem. I have an Android device with keyboard. And on some fragments we use softkeyboard for which we wait on Editor Action to close the keyboard and validate the input. For that ...
Lonko's user avatar
  • 409
0 votes
0 answers
30 views

Android Custom keyboard width changes on changing key sets

I'm trying to create a custom Android keyboard. Initially when the keyboard loads the keys layout is fine, But once I change to symbols the keypad width changes and the last keys are hidden. Even if I ...
nandha-dev's user avatar
0 votes
0 answers
168 views

How to detect key event KEYCODE_DPAD_UP_RIGHT and KEYCODE_DPAD_UP_LEFT in android

For the below code: val MyKeyListener: View.OnKeyListener MyKeyListener = object : View.OnKeyListener { override fun onKey (v: View?, keyCode: Int, event: KeyEvent?): Boolean ...
Jatin guglani's user avatar
-1 votes
1 answer
348 views

How to deactivate device hardware (physical) buttons such as Task & Home Buttons (Android 13)

In order to run our application on runtime on devices exclusively meant for it, I want to disable device hardware buttons such as Home, Task & Back buttons. My Android version is 13, device is ...
Ali Has's user avatar
  • 690
1 vote
0 answers
156 views

Android Google Save password prompt is flashing and disappearing

I have a login screen, where the user enters the email and password the following screen is an OTP screen. The issue is that when a user enters their email and password and moves to the OTP screen ...
hushed_voice's user avatar
  • 3,577
0 votes
0 answers
33 views

Error toast being shown in samsung devices stating screen touches might be delayed

I am getting the following error on Samsung S22 (Android OS 12) when the keypad is opened in my app. Please let me know how to resolve this if anyone has been able to figure it out. I tried with other ...
pvn's user avatar
  • 2,086
1 vote
0 answers
86 views

Android keypad hides Bottom sheet dialog fragment views

I am having a bottomsheet dialog fragment in my activity. I want my whole layout to be top of the keyboard when it keyboard is opened. I tried various solutions. Now my layout goes up, but keyboard ...
Kabilan's user avatar
  • 103
0 votes
1 answer
42 views

In Android, Is there any way to listen Network Changes in the InputMethodService class?

I'm creating a custom keyboard in Android, whenever the keyboard popups, I want to show the popup when the network connection is interrupted, I have tried this in Activity-based classes but this is a ...
Prasath S's user avatar
  • 4,168
0 votes
1 answer
2k views

Jetpack Compose - how to check if keyboard is open or closed

I'm using Jetpack Compose and trying to find a way to detect if the keyboard is open. I've tried to use the below code, but I get an error stating Unresolved reference: ime. When I click on the ...
GVG's user avatar
  • 554
1 vote
0 answers
35 views

EditText input element hide in the android alert dialog when soft key pad visible

In my new app I want to give a pop to add password to login. It's having a EditText Input,Title and Message. Edit text gave as, final EditText input = new EditText(view.getContext()); Issue is when ...
Smarty Coder's user avatar
0 votes
1 answer
255 views

Using onKeyListener with device volume buttons to call and dismiss an AlertDialog

I would like for the VOLUME_UP and VOLUME_DOWN buttons to open and close an AlertDialog window. Below is what I have so far, private void paused() { View v = this.getLayoutInflater().inflate(R....
portsample's user avatar
  • 2,032
1 vote
2 answers
233 views

How to retrigger focusRequester.requestFocus() when coming back to a composable?

I have a MyBasicTextField in a composable to request user input: @Composable fun MyBasicTextField() { val keyboardController = LocalSoftwareKeyboardController.current val focusRequester = ...
Edna Krabappel's user avatar
0 votes
1 answer
79 views

Why keybaord does not show after tapping back on Android 10?

I have an Android Jetpack Compose project where I show a screen with a InputField: When coming to that screen, the keyboard opens automatically, ready to read the users entered characters. The screen ...
Edna Krabappel's user avatar
1 vote
0 answers
84 views

Can I disable/enable the OK button in numeric keyboard?

To enter a 6 digit pin I display the numric keyboard with OK/Enter button. I would like to disable the OK button on the keyboard 5 or less digits were entered, so that OK is not tapable. Only after ...
Ralf Wickum's user avatar
  • 3,150
1 vote
0 answers
708 views

Compose text field crashing when trying to input accents via physical keyboard

I noticed my Compose app crashing when an accent input ( ´ ` ) is made via a physical keyboard to a TextField. As soon as the button is pressed the app crashes with a java.lang....
Felix Gärner's user avatar
0 votes
1 answer
118 views

Android Keyboard hides TextView Element NativeScript

When I try to write something in an TextView-Element which is at the bottom of the screen, the Android keyboard hides the element. How can I resolve this issue? I already tried adding 'adjustPan' and ...
Davis Jahn's user avatar
0 votes
1 answer
680 views

I am making a keyboard for android to send stickers from whatsapp but instead of stickers images are being sent. I used InputConnectionCompat.commit

I used InputConnectionCompat.commitContent to send the content but instead of sending sticker, WhatsApp is sending images. The same code works in the telegram. Telegram sends the same image as ...
RunTime Error's user avatar
1 vote
0 answers
1k views

Keyboard Aware Scrollview's extraScroll reduces when key is pressed in Android

When textInput is clicked, the keyboardAwareScrollView works fine and scrolls up with the extra scroll height provided. But scrolls down just below the textInput when a key is pressed in Android. ...
Karan's user avatar
  • 171
0 votes
0 answers
79 views

Keyboard popup moves cursor automatically in ExpandableListView Item - Android

I have ExpandableListView like shown below: I have already used ExpandableList multiple times in my app and everything works fine. But in this case problem is that when i click input field to enter ...
Zohab Ali's user avatar
  • 9,384
1 vote
1 answer
595 views

How to hide element when device keyboard active using hooks?

I wanted to convert a hide element when keyboard active HOC I found to the newer react-native version using hooks (useEffect), the original solution using the older react lifecycle hooks looks like ...
Brian Var's user avatar
  • 6,177
2 votes
1 answer
223 views

Android - Passing keys down to launched parent activity

I have an activity A, where I launch another activity through intent. But my objective is to pass the keys down to activity1, instead of handling at activity2. Returning false from onkeydown or ...
Anil Arrabole's user avatar
1 vote
1 answer
1k views

How can enable only english keyboard in my android application?

In my application I need only english keyboard. If user changes the language(hindi) in settings page(input & language)keyboard inside my application also changes to hindi language. How to restrict ...
Silambarasan Damodaran's user avatar
0 votes
0 answers
127 views

Keypad mobile text want to add through buttons in edittext in android

I am working on an application in which had design one keypad mobile in which added one text and 12 buttons 1,2,3..so on. want to add text like on pressing 2 getting 2, A, B, C so should enter like a ...
SurajSingh's user avatar
1 vote
1 answer
255 views

Using numeric keyboard on EditText in android studio

I'm using an EditText in my android app, and I want a numeric keyboard to show when I tap and try to edit it.
Othman Shawgan's user avatar
10 votes
1 answer
328 views

windowSoftInputMode: adjustResize doesn't work properly for numeric keyboard, when keyboard suggests text

When text is copied to clipboard and suggestion is shown, top of keyboard hides the small part of view behind, I think it's a problem of "Gboard", because if EditText inputType is "text&...
Nika Chapidze's user avatar
0 votes
1 answer
223 views

Can I get access to EditText setText method while using custom keyboard?

I am using a custom keyboard. My requirement is when user type some shortcut (like gm) then automatically (good morning) should be there. I don't know how to do it with custom keyboard, because, in ...
Khemraj Open To Work's user avatar
0 votes
2 answers
1k views

Is there any way to put custom toolbar on the keypad?

I want to put a custom toolbar on the keypad like the image above. Is it possible in flutter? or should I write code on the iOS or Android side?
Haedong-Jeon's user avatar
0 votes
0 answers
161 views

How to set gravity of row in KeyBoardView in android?

I am working to make a custom keyboard with android KeyboardView [android.inputmethodservice.KeyboardView]. Everything works fine except when I am trying to reduce the width of the key. The Problem is:...
Emon Hossain Munna's user avatar
0 votes
1 answer
2k views

Android: How to prevent the keyboard from pushing a certain view up in my layout? [duplicate]

In my layout I have an edit text and an image view. The image view height is set to match parent layout. What I want to happen is, when the user selects the edit text and the keyboard appears, the ...
Evian Pringle's user avatar
0 votes
0 answers
39 views

How to show custom views like imageview or gif view in key board view

in my keyboard view i need to show stickers and gif when click thos buttons in below image
Riyas v's user avatar
0 votes
2 answers
49 views

"Go" text with actionGO is still "GO" even Keyboard is arabic

EditText with actionGO and "GO" text is displayed even Keyboard is arabic is this normal behavior? Can be changed to adapt the Keyboard language?
Mahmoud Mabrok's user avatar
8 votes
1 answer
174 views

is there a way to detect German Umlauts in Android

I am trying to detect german umlauts with a soft keyboard. To recognize the entered characters I use the method onKeyUp(). But this method is not executed for German umlauts. Is there a way for me ...
Flipp95's user avatar
  • 81
1 vote
1 answer
1k views

Can I delete dot(.) in the soft keyboard?

there is editText field in my app, and get 8 digit Numbers for get birthDay. So now it work. but there is .- button in app. <com.rengwuxian.materialedittext.MaterialEditText android:id="@...
S T's user avatar
  • 1,126
0 votes
1 answer
543 views

Android Emulator not showing keys on keyboard

Android Studio Emulator is showing black spots instead of keys on keyboard. Anyone knows whats the reason behind this?
Akash Bisariya's user avatar
0 votes
1 answer
1k views

How to set PopupWindow at bottom of root layout like soft keyboard?

whenever focus is available on edittext. Keyboard is open and all views are adjust and go upward like below sample image. Button.setOnClickListener(new View.OnClickListener() { @Override ...
tailor's user avatar
  • 443
1 vote
1 answer
115 views

How to detect sapce key in Android device virtual Keypad through Web App (ReactJS)

I am building a web app in ReactJS, where i want to call an API just after user hit space bar. i have tried several Events like (onKeyPress, onKeyUp, onKeyDown) but got same keycode for every key ...
Vikas Singh's user avatar
  • 1,847
1 vote
1 answer
361 views

AnySoftKeyboard: Integrate language pack into apk without having to use addon

I want to fork the AnySoft keyboard and add a language pack to it for deployment as a standalone apk. It has a way of adding language as a language pack that has to be installed separately by the user....
Zubair Zahoor's user avatar
0 votes
1 answer
441 views

The phone's keyboard is hiding my Bottom Sheet Dialog Fragment. How can i solve this issue?

I'm making a small tasker for android with kotlin. To create a task i added a fragment called CreateTaskFragment which extends BottomSheetDialogFragment(). When the fragment pops up i need the ...
FireTrade's user avatar
-1 votes
1 answer
117 views

Arduino stops working after being just minutes in use

When I run this code on my arduino nano for some reason after a while it seems to halt. I've tried booting it and waiting 5 minutes but that doesn't seem to freeze it yet. Does anyone know if perhaps ...
KevinPV's user avatar
0 votes
2 answers
862 views

Android: How to remove customize keyboard button from keyboard?

Please find below the screenshot wherein the circular box shows the customize button option. XMl Code: <EditText android:id="@+id/et_cost_per_mile" android:layout_width="...
Jitesh Mohite's user avatar
1 vote
1 answer
1k views

How to show the line break button in Android keypad?

I am building a text area in my APP using a TextInputLayout and its multiline property to let the users write more than 1 line, I am building it programatically (no xml) TextInputLayout ...
stramin's user avatar
  • 2,370
0 votes
2 answers
3k views

Input a number with Keypad and storing a number to EEPROM

Hi there I don't have very much experience in coding just a basic staff so I need help but I need modification like: First when user press "#" key he has to write the number which will be like a ...
tanjamaya's user avatar
0 votes
0 answers
109 views

How to highlight textinputlayout on focus without bringing the keypad up

I am trying to design a control of TextInputLayout, on click of which a pop up will appear to select item. I want to highlight this TextInputLayout when clicked that means showing floating label but ...
jibs's user avatar
  • 3

1
2 3 4 5
10