Questions tagged [android-keypad]

Android supports a variety of keyboard devices including special function keypads (volume and power controls), compact embedded QWERTY keyboards, and fully featured PC-style external keyboards.

In addition to the on-screen input methods, Android also supports hardware keyboards, so it's important that Android app optimize its user experience for interaction that might occur through an attached keyboard.

Useful links

451 questions
8
votes
1 answer

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 to recognize them?
Flipp95
  • 81
  • 2
8
votes
3 answers

Display virtual keyboard in android TabLayout

I'm using TabLayout to display different input methods. The first tab contains buttons and the fourth tab should display the standard keyboard embedded in this TabLayout. Here a screenshot how it should look like: The TabLayout works so far. I…
Stefan Brendle
  • 1,545
  • 6
  • 20
  • 39
8
votes
3 answers

Scroll dialog after keyboard is on

I have some dialog with EditText fields. when i want to fill some EditText the keyboard is opened and I can't fill some fields above. i should close the keyboards and after click on EditText above. How can I make my dialog scrollable when the…
HK.avdalyan
  • 724
  • 1
  • 6
  • 21
8
votes
4 answers

Spacing in custom keyboard

When making a custom keyboard I can get a leading space (space to the left) of a key by using android:horizontalGap="6.25%p. How do I get trailing space (space to the right)?
Acura66
  • 115
  • 1
  • 7
8
votes
2 answers

How to change the Softkeyboard "Enter" button Text in android?

I want to set the softkeyboard to "Enter" key text to "Done". Is there any way to change the text of the enter key of the softkeyboard of the android device? Please suggest if anyone have any idea. Thank you in advance.
GrIsHu
  • 29,068
  • 10
  • 64
  • 102
8
votes
4 answers

How to open numeric keyboard when click on EditText?

I read several other posts and using input.setInputType(TYPE_NUMBER_FLAG_DECIMAL); does open the keyboard but its not the numeric keyboard
Nipun Gogia
  • 1,846
  • 1
  • 11
  • 17
7
votes
4 answers

Open a numeric keyboard without forcing the EditText to be numeric only

I've come across this while doing work on creating my own Keyboard but can't for the life of me remember where I ran across it. I want top open the Numeric keyboard. However, I want my EditText to only accept an IP address. Adding a filter to my…
Graeme
  • 25,714
  • 24
  • 124
  • 186
7
votes
0 answers

Custom keyboard with swipe functionality in android?

I want a custom keyboard in android. I have referred many more examples and seen source codes on github but, couldn't found any relevant reference for swipe functionality.Now i want funcationality like if user want to write Hello World then it…
7
votes
2 answers

samsung soft keyboard loses keystrokes after focus change

My app uses a PIN-based login. I have four EditText views in a row and set a separate instance of the following TextWatcher on each of them: private class PinDigitWatcher implements TextWatcher { private final EditText digit; public…
7
votes
2 answers

Android webView: Is possible to set numbers keyboard first by default when using input type=text

We have an app that is using webview to present some HTML pages. This HTML page has input type and we were using input-type = number as we only accept numbers with decimal in this field. So the numeric android keypad appeared with the decimal…
isra60
  • 512
  • 1
  • 6
  • 18
7
votes
2 answers

Overriding the physical menu button on android

I would like the menu key on my Android device to open a dialog instead of opening the menu while my app is running. I tried to code that into onCreateOptionsMenu(Menu menu) but it worked only for the first time I pressed the menu button. Can I do…
Arielle
  • 1,241
  • 2
  • 11
  • 14
7
votes
1 answer

Controlling Ok SoftKeyboard buttons Android

I set an Ok key on soft android keyboard when i click on the edittext shown below:
Dimitri
  • 677
  • 3
  • 19
  • 46
6
votes
1 answer

Is there a way in Android to tell if a users device has an actual keyboard or not?

I would like to detect if the current users phone has a hardware keyboard or only a on-screen keyboard. Is this possible with the SDK?
Bryan
  • 115
  • 1
  • 4
6
votes
1 answer

getting list of languages supported by android keyboard

I need to display the list of the all languages which are supported by android keyboard. Now I am using Locale.getAvailableLocales(); method but i am getting language and country constants. I need all language names only. Is it possible? and how ?.
surendra
  • 2,217
  • 7
  • 34
  • 42
6
votes
3 answers

Disable keyboard cache Android programmatically

How to disable Keyboard cache in Android programmatically for sensitive input fields?
user2058872
  • 79
  • 1
  • 3
1 2
3
30 31