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
3
votes
2 answers

How I can do scroll in view while keypad is open in android?

I have a number of edittext in scrollview and when they exceed the screen capacity, it is difficult to perform smooth scroll, when the keyboard is open.Here is my code.
3
votes
2 answers

Is there a way to launch voice input on the softkeyboard programatically?

The idea is to take a user voice input on the press of a button and pass it to the search inside the app. Because of device limitations we are using the SearchViewCompat instead of the useful SearchView. I have been able to grab the voice output…
Silas Greenback
  • 1,200
  • 8
  • 15
3
votes
1 answer

How to change keyboard key-shift button indicator color in android

I want to change keyboard key-shift indicatorcolor. key showed below. Default color is green i need to change it as red what i want to do!? In this indicator glows green i want to change that green color. Help me to solve this.
Poovizhirajan N
  • 1,263
  • 1
  • 13
  • 29
3
votes
1 answer

Caps only keypad

I have a bunch of EditTexts, and when the user clicks on these a keypad comes up and the user can enter some text. I want to make it so that the keypad is all in capital letters (i.e. caps lock permanently on). Is this possible?
Kurt
  • 767
  • 8
  • 23
3
votes
1 answer

change the return key

I want to change the name of enter button (the button circled in the image ) to search so I used
AMH
  • 6,363
  • 27
  • 84
  • 135
2
votes
1 answer

How to add a key/custom key in default android keyboard

I want to add an custom KEY or modify existing KEY in Android default keyboard. I want to use that key only in my app. how to do this? any link? Thanks in advance.
Raj008
  • 3,539
  • 2
  • 28
  • 26
2
votes
0 answers

Android webview keyboard scrolling issue

I am using android webview in my application, I have a small toolbar on top of my keyboard, so every focus on a field, I am trying to scroll webview using onfocus event listener (so that field wont get covered), but this is working on when user…
2
votes
1 answer

How can I add ".com" button to Android keyboard?

Possible Duplicate: android:inputType=“textEmailAddress” - '@' key and a '.com' key? In my project I have an EditText in which user should enter his E-mail. How can I add ".com" button to Android Keyboard? This is my code:
Hesam
  • 52,260
  • 74
  • 224
  • 365
2
votes
1 answer

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 onkeyup is no use. How can I achieve this? Class…
NoAIUser
  • 3,966
  • 6
  • 34
  • 52
2
votes
5 answers

How can i hide/disable done button on soft keyboard android?

I am working with Amazon S3 api. Problem: Working with TextWatcher. As soon as user enters more than 3 characters in the edittext, api is called and it shows matched results. The problem starts as soon the user hit the done/enter button on soft…
Hashir Ali
  • 191
  • 2
  • 10
2
votes
5 answers

how to adapt a layout when the keyboard is shown?

I would like to "instruct" android how to correctly adapt the screen layout when the user does something that pops up the keyboard. Actually the when the keyboard is shown android simple draws it over the bottomest items of the screen. Although it…
Rafael Lima
  • 3,079
  • 3
  • 41
  • 105
2
votes
1 answer

How to change default soft keyboard background color?

I want to know how to change default soft keyboard background color ?
abrutsze
  • 496
  • 1
  • 8
  • 24
2
votes
1 answer

Numeric Keypad ANdroid changes to alphanumeric keypad

I have a textinputedittext with input type=number. To close the keypad if user clicks anywhere other than textinputedittext i used the following function - public static void hideSoftKeyboard(Activity activity) { InputMethodManager…
Apoorv Singh
  • 1,295
  • 1
  • 14
  • 26
2
votes
1 answer

First letter capitalization for EditText with GBoard input

I'm trying to set up "First letter capitalization" progrommaticaly (because I have set of EditText in ListView) There is a lot of topic related to this issue, and the most famous is that I guess. I've tried solutions provided there…
Siarhei
  • 2,358
  • 3
  • 27
  • 63
2
votes
1 answer

Handling Soft Keyboard Navigation Arrows

Here i am using ViewPager for Fragments, i used custom view pager for controlling navigation. here is the class, public class NonSwipeableViewPager extends ViewPager { public NonSwipeableViewPager(Context context) { super(context); …