Questions tagged [android-softkeyboard]

The default onscreen input method provided by Android OS.

Android Soft Keyboard is the onscreen keyboard provided by Android OS.

Key Events of Android soft keyboard

On-screen Input Methods in Android Developers blog

2751 questions
1
vote
0 answers

Show PopUpWindow at the top of Soft Keyboard

I'm trying to show my PopUpWindow at the top of my edittext (with softkeyboard present) how can i do that? Consider my EditText has android:maxLines="5" and Y position is not always the same. This is what i got so far... private void…
1
vote
1 answer

Android native keyboard showing up in Marshmallow Edge devices

I have an Android application. I have a custom keyboard that I am using which is only supposed to show number keyboard. It works fine on all sets of OS with any device. Specifically for Android Marshmallow with Samsung Edge S7 and S6 devices, the…
akash89
  • 881
  • 3
  • 12
  • 31
1
vote
0 answers

System alert Dialog not shifting up on keypad prompt

I'm developing an app which fires a dialog from a service. Below is the code that I use to pop a dialog from within the service private void popPrescriptionEditDialog() { mReadingHandler.post(new Runnable() { @Override public…
Abhinav Tripathi
  • 168
  • 1
  • 2
  • 12
1
vote
1 answer

Android keyboard invisible

I have an activity A which has a button. On clicking this button, activity B launches. Activity B has WebView inside an xml layout which loads HTML page stored locally on the device. The whole webpage consist of several CSS(heavy material) and…
Ankit Singh
  • 121
  • 7
1
vote
0 answers

Android Soft Keyboard Auto Capitalise without EditText

I'm managing the Android Soft Keyboard manually (have no EditText, shown and dismissed using InputMethodManager). Is there a way to turn auto capitalise on for words/sentences in the Soft Keyboard? All other questions/answers seem to have EditText…
1
vote
1 answer

setSoftInputMode() in a ViewPager - unexpected behavior

I have 2 fragments in a ViewPager and I want the window to adjust differently to the soft keyboard on the 2nd fragment. Here's what I'm trying: @Override public void onPageSelected(int position) { if(position == 1){ // desired for 2nd…
1
vote
0 answers

How close soft keyboard of previous application?

I have an application with custom keyboard on first screen. It works o'key! But in some cases application opens with custom and native keyboards... for example: i am writing an sms, receive notification from my app and click on it (soft keyboard…
Stan Malcolm
  • 2,740
  • 5
  • 32
  • 53
1
vote
2 answers

Android EditText setText cause softkeyboard to freeze

I am having a problem with the EditText. I have implemented a TextWatcher and I check every time in afterTextChanged to highlight some specific keywords in an AsyncTask and set the text in onPostExcute(I only touch the UI here), but the soft…
BennyKok
  • 809
  • 10
  • 14
1
vote
0 answers

Unfortunately softkeyboard has stopped working

I have made a SoftKeyboard with dictionary support. The keyboard runs fine on some devices but on some devices it says-" unfortunately SoftKeyboard has stopped working" when tried to set as default keyboard. When I tested in on emulator the…
1
vote
1 answer

Custom Keyboard - capturing barcode scan results

Ok, so here is the situation: I am working with a keyboard (https://github.com/AnySoftKeyboard/AnySoftKeyboard) and a barcode scanner (https://github.com/dm77/barcodescanner). When I press a specific button on the keyboard, it opens the barcode…
1
vote
0 answers

Android have button on keyboard that switches custom keyboard to user specified default keyboard

I have a custom keyboard in Android. I want to have a button on my keyboard that when pressed will hide my keyboard and show the keyboard that the user has specified as the default keyboard. (If worst comes to worst, I will accept a solution that…
Foobar
  • 7,458
  • 16
  • 81
  • 161
1
vote
1 answer

Android keypad Enter key event not working

Hi I am working with Text Editor in my android app. I want the cursor to move to next line in edittext when i touch enter key in android-softkeyboard and have to execute a method,so i used setOnKeyListener() because when i pressed the key it goes…
Sairam
  • 169
  • 12
1
vote
3 answers

Keyboard pop ups at landscape change orientation

When device is rotated from portrait to landscape, keyboard keeps popping up. This happens without being any EditText on the screen. I tested with several devices and it happens only on Samsung devices. Is there a way to prevent keyboard pop ups?
blavi
  • 531
  • 1
  • 10
  • 26
1
vote
1 answer

Why is my SearchView expanded by default

I am newbie to Android and working on a SearchView demo for learning purposes. I have put a SearchView inside my Activity and I want that SearchView collapsed by default till the user expands it, but currently it is expanded by default. So can…
1
vote
0 answers

Android SearchView dismiss Keyboard on click on TabLayout Fragment

I have a MainActivity containing a TabLayout, which holds two Fragments. I want to dismiss the keyboard form the SearchView I have in my Toolbar when one of the Fragments is clicked. I have managed to dismiss the keyboard on a click on the toolbar…