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
6
votes
1 answer

How to play user dial pad tone on my custom keypad press in android?

In my app, I have a custom key pad and want to play tick tone on key press. The below code is giving me the sound. AudioManager am = (AudioManager)getSystemService(Context.AUDIO_SERVICE); float vol = 1f;…
Bhargav Kumar R
  • 2,190
  • 3
  • 22
  • 38
6
votes
2 answers

Android WebView keyboard hides input field in fragment in android

When I open WebPage into my webView,the input field is hidden by keyboard. How can I solve this problem? Please help. web_view_proposel.setWebViewClient(new myWebClient()); web_view_proposel.getSettings().setJavaScriptEnabled(true); …
Siddharth Khetan
  • 171
  • 1
  • 2
  • 10
6
votes
2 answers

showSoftInput doesn't work after orientation change

I have a fragment with a single EditText that needs the soft keyboard to remain open continually. The keyboard gets hidden when the screen is rotated. I'm calling showSoftInput in OnActivityCreated which gets executed after the rotation, but it…
6
votes
3 answers

onBackPressed method is not working properly

In my app there is one EditText. I have called keypad show on my activity for this EditText. keypad showing & working fine. Now in currently, I have to press back button two time, one for hiding keypad & another for performing some task(like data…
Pankaj Kharche
  • 1,329
  • 4
  • 15
  • 37
6
votes
6 answers

Android onKeyDown() not execute on pressing back button

Hi after searching on google i come here to ask about help. I use following method to go back when user press back button of device. @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { …
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113
5
votes
2 answers

Android Phone Keypad has no period sign

I want to have input type for the text boxes that only takes numbers and decimal point. Input type of Number or Decimal, still brings the full keypad and the buttons are small. Input type of Phone does the trick, but not all phones have a comma…
Tawani
  • 11,067
  • 20
  • 82
  • 106
5
votes
2 answers

android layout with header, scrollview and footer, footer comes up with keyboard

I need a fragment with a header and a footer. The content which is in between (of course) needs to be scrollable. Up to there everything is going just fine. But inside of the scrollview needs to be an edittext, so at a certain moment the keyboard…
vanleeuwenbram
  • 1,289
  • 11
  • 19
5
votes
2 answers

App freeze on keypad open with android studio 3.1 update

App was working fine before update. Whenever i click on some EditTextcursor blinks for some seconds, than app freezes and stuck. login_activity.xml
5
votes
3 answers

How to make cursor visible with inputype set to null?

I am creating a simple calculator app which has a Edittext and some buttons to take input from user.
Amar Pawar
  • 115
  • 1
  • 7
5
votes
1 answer

Does android have a numeric keypad that is arranged like a computer's numpad?

I'm working on an android app and for some of my EditTexts I am currently using the input type "number" which displays a keypad with the arrangement that you typically see on phones with the "123" on the top row: However, for reasons specific to…
5
votes
1 answer

How do you hide floating action buttons from the keyboard?

I have FloatingActionButtons and FloatingActionMenus in CoordinatorLayouts, but I also have some EditTexts in there too, with the adjustPan window mode. But when I go to click the EditTexts, the floating buttons/menus come up along with the keyboard…
5
votes
5 answers

Respond Keyboard while Updating UI

I am Using android.support.v7.widget.SearchView and I am performing Search on enter of every character in SearchView. following is the snippet. searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { …
GreenROBO
  • 4,725
  • 4
  • 23
  • 43
5
votes
0 answers

Keyboard IME with emojis

I am making a keyboard with custom images which i have to "copy to clipboard" when clicked. I have followed this tutorial for making a working keyboard. On press a key i am also able to change keyboard layout. Now i want to change background and…
kiturk3
  • 549
  • 10
  • 30
5
votes
0 answers

Adjust pan not Working When Edit text Height Mentioned in Android

i am usign adjustpan in activity it's scroll perfect when simple Edit text with single line but, it's not work properly in multiline edittext with height mentioned like below ediitext xml layout
Stack Overflow User
  • 4,052
  • 6
  • 29
  • 47
5
votes
1 answer

custom keyboard keytext shadow remove

i have used the custom keyboard app from the sdk and modified it as per my requirments but i couldn't modify two things remove drop shadow from the key text of every key on the key board. as i did not find any property in xml layout which i could…
muditagarwal88
  • 548
  • 5
  • 13