Questions tagged [android-custom-keyboard]
43 questions
12
votes
3 answers
Android custom keyboard - Preview view constrained to parent layout
I have created a custom keyboard, which works fine - except the preview views for the top two rows of keys are not displayed high enough. Their vertical position is being constrained by the parent layout.
These screenshots illustrate the problem -…

ban-geoengineering
- 18,324
- 27
- 171
- 253
6
votes
1 answer
Gboard like search bar in Android IME
I want to create a search bar like Gboard inside keyboard (Android IME) as shown in picture.
Gboard Sample :
I have implemented an edittext on Keyboardview.xml as shown in picture.
My Implementation :
main_keyboard_frame.xml

Abdul Wajid
- 83
- 6
4
votes
1 answer
Unable to implement KeyboardView after coping the code from AOSP. Error in xml
After the KeyboardView is deprecated, I follow the google documentation and as they stated I copied the KeyboardView and Keyboard classes to my project. Everything I set-up as recommended.
The problem is when I run my app, it crashes by throwing an…

Nabeel Ahmed
- 223
- 5
- 15
3
votes
0 answers
How to develop a custom keyboard with toolbar / Keyboard menu?
I see this github projects:-
https://github.com/rkkr/simple-keyboard
And
https://github.com/NlptechProduct/Android-Keyboard
but i don't understand code.
Please give me any suggestion or demo And which not use KeyboardView because this is…

Jignesh Jagad
- 67
- 7
3
votes
1 answer
Text Prediction functionality for Custom Keyboard
I have developed a Basic Keyboard.
Here is how it looks :
Now, I want to add the Predictive Text Functionality.
I did some research and found some information about Backend part of it. Which showed how the keyboard can learn from user to user.
But…

Detained Developer
- 1,134
- 2
- 13
- 33
3
votes
0 answers
custom keybaord as default (Disable AOSP Keyboard)
I want to develop my own on-screen keyboard for Android.
This keyboard should be the only selectable keyboard on the Android device.
I was able to create the keyboard, but something is still missing. I can't disable the AOSP keyboard. This is…

rjdev
- 56
- 6
2
votes
0 answers
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 field when I load the screen, so I'm doing the…

lorenzo
- 1,487
- 1
- 17
- 25
2
votes
1 answer
Android custom keyboard suggestions
I am building a custom keyboard for android, the one that atleast supports autocomplete suggestions. To achieve this, I am storing every word that user types (not password fields) in a Room database table which has a simple model, the word and its…

Shubham Gajra
- 69
- 1
- 7
2
votes
0 answers
Custom Keyboard:The specified message queue synchronization barrier token has not been posted or has already been remove
I have made a custom keyboard, recently it crashed with this log randomly,
2020-07-03 16:30:53.529 11538-11538/com.nisarg.nboard E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.nisarg.nboard, PID: 11538
java.lang.IllegalStateException:…

neonpokharkar
- 96
- 11
2
votes
1 answer
Merging Popup characters on a custom keyboard
I am working on a custom keyboard which has alot of popup characters on different words.
For ex : u -> ü
To define popup character we just write a simple property as below :

Nir Patel
- 357
- 4
- 17
2
votes
1 answer
Change Key Icon from a Java File for a custom keyboard
I got a code to change key label from my java file by
keyboard.getKeys().get(0).label= "@";
I want to change my key icon as well. But it fails.
keyboard.getKeys().get(9).icon= R.Drawable.myicon;
an error shows when I do like that saying that is…
user9226293
2
votes
0 answers
Design and implement an Enter button in a custom keyboard?
I am designing custom keyboard for my application.i have an edittext.with custom keypad i have to perform some actions on pressing Enter(or say Done button)
Enter(Done) is at bottom right corner.
The layout of that this keyboard is below
…

Gaju Kollur
- 2,046
- 5
- 23
- 47
2
votes
1 answer
GridLayout for implementing a keyboard
I need to implement a (soft)keyboard for an Android application.
Is GridLayout the correct View widget to contain all the keys?
Or is there other widget more suited for this specific requirement?

ilomambo
- 8,290
- 12
- 57
- 106
1
vote
0 answers
Is it possible to customize the keyboard in .net maui for android application?
I have been working in a .NET MAUI in visual studio for an android application.
we need to customize the keyboard layout by our own type.
can someone help us on this!!
Thanks in advance:)
1
vote
0 answers
Popup Hides the Custom Keyboard in Xamarin.Forms
I have designed a Custom Numerical Keyboard but It hides When I activate or use it on Popup Screen(used Rg.Plugin Popup).
eg. Like thisImage describing when popup is above on the Keyboard / Popup hides the Keyboard
If I make this screen as the First…

Akshay Dixit
- 11
- 2