Questions tagged [android-custom-keyboard]
43 questions
1
vote
0 answers
How to Combine Unicode characters in .kcm file for Physical Keyboard on Android?
There are some characters which are not included in Unicode(i.e. श्र which is combination of \u0936 \u094D \u0930) but can be created using combining sequences. I am unable to figure out how to add this for a Physical Keyboard on Android using…

Shubham Shewale
- 11
- 2
1
vote
0 answers
android custom keyboard selecting a key from popup when removed finger
i want to detect button in my popup when i removed my finger on it.
i want popup like AOSP or a.i.type keyboard.
this is my code for show popup .
@Override
public void onPress(int i) {
View custom =…

koko
- 21
- 3
1
vote
2 answers
How to prevent the keyboard hide from view
Have a webview on activity, i need the keyboard always shown on the page regardless of the input (May not input on some page).
Also the keyboard should not be hidden when user press button or any click event.
I tried below options (tried with all…

Sampath Kumar
- 4,433
- 2
- 27
- 42
1
vote
0 answers
Create Custom/Gif keyboard and add to android system like Tenor does for Gif sharing with system-wide keyboard
I had created an app which lists and search for GIF images, I want to integrate it with Android System Keyboard, like on keyboard we have options to change between "Google Keyboard", "Indic Keyboard", "Tenor GIF Keyboard" etc. I want my app to work…

Deep Patel
- 2,584
- 2
- 15
- 28
1
vote
1 answer
In Android Custom Keyboard, how to change Alphabets Keyboard to Symbols Keyboard?
While Navigate User from Alphabets Keyboard to Symbols Keyboard, Layout Alignment gets spoiled. By Default, Layout takes 5dp padding & User can't see the Last Column Keys.
Note: Images shown in below.
I handled Key Actions to Navigate User from…

Vivek
- 113
- 1
- 12
1
vote
0 answers
Change layout for custom keyboard
I'm trying to create a keyboard for android. So far I've created the classic keyboard with lines containing letters.
This is the file keyboard_view

Raffaele
- 19
- 1
1
vote
2 answers
Custom keyboard key width in Android
I am working on a custom keyboard when I am trying to achieve a layout similar to Google Keyboard. Everything is working fine as the whole keyboard is completed with successfull inputs in both upper and smaller cases but I am facing issue with…

Nir Patel
- 357
- 4
- 17
1
vote
0 answers
Seems my app taking so much battery after I implemented onDraw method
After I have implemented a onDraw method to my custom keyboard app, it seems my app taking so much battery and ram. I just found a way to draw a circle in my keyboard by onDraw method which extends keyboardView.
My onDraw class is below, Can…

kalaLokia
- 131
- 1
- 14
1
vote
2 answers
Custom Keyboard not working on Android P Beta
When I try to use Custom Keyboard got an exception on Android P Beta, everything is working fine until Android Oreo but recently got a crash. Just try to figure out which class might be responsible for the exception. Currently unable to access…

Nikhil
- 1,023
- 17
- 35
1
vote
0 answers
KeyboardView inside WebView
Is it possible to use a KeyboardView for input symbols inside a WebView? I want to hide the standard keyboard and use the one I defined for my app. What's the correct way to do this? Should I intercept touch event or somehow change my HTML/JS code?…

Jumpa
- 4,319
- 11
- 52
- 100
1
vote
0 answers
Android Custom Pinyin Keyboard
I have implemented a custom pinyin keyboard for android and I don't know why it always shows:
keyboardcustom_inputmethod_pinyin_PinyinDecoderService.cpp:130: jstring nativeImGetPyStr(JNIEnv *, jclass, jboolean): assertion "py != NULL" failed
04-04…

Aldi Maulana
- 11
- 2
1
vote
1 answer
Why createKeyFromXml() doesn't create language switch key?
I am working on Android Custom Keyboard and it crashes when I launch. I found createKeyFromXml() method has a line which creates keys and those keys doesn't create language switch key which cause the app to crash.
The developer guide doesn't say…

Maihan Nijat
- 9,054
- 11
- 62
- 110
1
vote
0 answers
How to disable other keys on press of one key in custom keyboard?
I want to disable press of other keys on press of some keys in my custom keyboard and i also want to disable touches on outside my custom keyboard because touching outside and holding some keys and pressing other keys automatically inserting…

Gaju Kollur
- 2,046
- 5
- 23
- 47
0
votes
0 answers
My keyboard that i built in android studio is not showing up
i am trying to build a keyboard. everything was working great until i tried to make custom style for keys. Now the keyboard wont pop up even when i click the chat box.
this is my styles.xml
…

Jayesh Kahnani
- 1
- 1
0
votes
0 answers
Android Custom Keyboard view is displaced to top when dismissing
I am facing an issue with custom keyboard (built with InputMethodService). Below are the steps to reproduce the issue
Lanuch keyboard(while focusing on Edit text)
Click Home button/other launcher icon
Keyboard is displaced to top before dismissing…

Akhil Krishnan
- 45
- 5