Questions tagged [android-custom-keyboard]
43 questions
0
votes
1 answer
Is it possible to add custom language by adding custom font in android devices?
Is it possible to add my language(ladakhi) support in android because I don't see my language in android system by default so I wanted to add it manually. The way I am trying to do was by adding custom font (.tff) in my app and add to the android…

KonTash
- 158
- 1
- 2
- 15
0
votes
1 answer
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 method stub
super.onDraw(canvas);
…

Vijayadhas Chandrasekaran
- 1,621
- 2
- 26
- 56
0
votes
2 answers
Display a stylized keyboard when EditText has the focus
I'm developing a game that uses the keyboard for input, but I want to display ONLY the alpha characters, no digits or special symbols, when the user touches the input field. Right now, the app looks like the following when the keyboard is open:
How…

FractalBob
- 3,225
- 4
- 29
- 40
0
votes
1 answer
call removeView() on child's parent first custom Keyboard
I have created a custom keyboard, whenever it switches from potrait to lanscape it gives the following error and crashes:
2020-07-04 16:31:38.846 24634-24634/com.nisarg.nboard E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.nisarg.nboard,…

neonpokharkar
- 96
- 11
0
votes
1 answer
Android KeyboardView does not respect key width
I've a different result in the layout display of the KeyboardView between Galaxy Tab S4 running android 8.1.0 and my phone Galaxy S8 running android 8.0.0. The difference are in the key width and horizontalGap.
Here is the correct keyboard on my…

Philiz
- 429
- 5
- 25
0
votes
1 answer
Edit Text In Custom Keyboard
I have Created a custom keyboard where user can able to enter value in keyboard itself , the problem is i am unable to get focus for edit text inside keyboard view .Provide some suggestions.
Here is xml file where in custom keyboard i added the ui…

Shanmugam
- 301
- 1
- 10
0
votes
1 answer
Custom keyboard layout not fits on screen
I got a custom keyboard made for playing a text based game. Problem is keys not fits when I put a verticalGap and horizontalGap to have a small key gap. The cause of the keys that not fits screen is because, I have a key(main key) with height of 3…
user10111962
0
votes
1 answer
Auto-capitalization in Android Custom Keyboard When User Move Cursor to Beginning of A Sentence
I'm newbie in Android programming and learning to make my own Android custom keyboard from sample HackersKeyboard and SoftKeyboard.
I'm facing with auto-caps problem and have no idea how to overcome this: when user taps somewhere in input screen to…

Sudi
- 31
- 3
0
votes
0 answers
Is there a way to get the suggestions from keyboard in android?
Can we get all the suggestions shown in any keyboard on android while typing?
If no, is there any alternate way of doing it?
I tried with SpellCheckerSessionListener, didn't succeed.

Prashant Jha
- 574
- 6
- 21
0
votes
2 answers
How to set CustomKeyboard Text Color programatically at run time?
I have a custom keyboard in my application, want to change text color at runtime based on user preference. I'm able to set KeyTextColor in XML, but no such attribute to set it programmatically.
This is how i set in Xml :

aashish cool
- 21
- 2
0
votes
1 answer
Android Custom Keyboard appears half
The keyboard was appearing full but for some reasons, the last two rows are hidden. I tried to change keyboard height from XML but it didn't help.
Keyboard Layout:

Maihan Nijat
- 9,054
- 11
- 62
- 110
0
votes
1 answer
How to set attribute colors on a custom keyboard?
I'm trying to make my custom keyboard to change his colors according to the current theme in project, but it fails, this is my code:

batsheva
- 2,175
- 1
- 20
- 32
-2
votes
1 answer
A custom keyboard
Does anyone know how to create on Android custom keyboard with buttons "Attach file" and "Send message". It must have the same mechanic as in most popular chat messengers: Viber, Telegram. Thanks.
Viber keyboard: http://prntscr.com/odoaff

yozhik
- 4,644
- 14
- 65
- 98