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

How to call setInputView method to render a different keyboard

I come from a javascript background and this is my first brush with java. I've been following this guide. I've got a fully working keyboard and now I'd like to start customizing it. First thing I want to do is to display symbols when a key is…
Crhistian Ramirez
  • 1,066
  • 12
  • 20
1
vote
4 answers

keyboard automatic pops up when moving from one activity to another

In my application when i go from one activity to another soft keyboard automatically pops up. i have one activity(Say A) on which i have set android:configChanges="keyboardHidden" because i don't want keyboard on this activity but when i…
1
vote
0 answers

Android SoftKeyboard Sample project wrong width on Nougat

I got the Android SoftKeyboard from here: https://github.com/android/platform_development/tree/master/samples/SoftKeyboard Built and run the app with Android Studio. This is what I get on the Nexus 5 API 25 Emulator: When I run it on the Nexus 4…
1
vote
1 answer

android : open keyboard in dialogfragment

I have a custom view PasscodeView in my dialog fragment layout. PasscodeView.java: public class PasscodeView extends ViewGroup { EditText mEditText; int mDigitCount; private int mDigitWidth; private int mDigitRadius; private…
1
vote
2 answers

android soft keyboard overlays the edittext in recyclerview in bottomsheet

I have a few EditText in RecyclerView that is inside of a BottomSheetDialog. The problem I have now is that when BottomSheetDialog is shown on the screen, I tap on for example the 7th EditText in the RecyclerView. Soft keyboard appears and overlays…
user1865027
  • 3,505
  • 6
  • 33
  • 71
1
vote
1 answer

Custom toolbar on top of keyboard in landscape mode

I have a custom toolbar that sits on top of my keyboard that allows the user to select options for an EditText view. This works fine in portrait mode but I need it to work in landscape mode. As of now, my AndroidManifest for the activity is …
VIN
  • 6,385
  • 7
  • 38
  • 77
1
vote
1 answer

Dynamically change key text size android keyboard

I want to change key text size of my custom keyboard programmatically. I have implemented onDraw method: @Override public void onDraw(Canvas canvas) { super.onDraw(canvas); Paint paint = new Paint(); …
John
  • 133
  • 9
1
vote
0 answers

Android - Control Keyboard show inside ChromeWebView

Having a APP that loads inside an Activity a ChromeWebClient loads a webpage. This web page have's multiples forms / applications inside it. The funcionality that I want to control is to avoid the keyboard to show unless a variable is set up to be…
Quarks
  • 57
  • 6
1
vote
0 answers

getWindow().setFlags() not working on button click in Android

I want to disable soft keyboard when we click some button without affecting selection or cursor. I tried many examples to disable edittext but nothing matched my requirement except this…
Vijay
  • 545
  • 1
  • 5
  • 15
1
vote
0 answers

Android soft keyboard partially overlapping views

I am using android:windowSoftInputMode="stateHidden|adjustResize" to adjust keyboard on screen. It is not working in Tablets with OS 4.4 but it is working fine in Mobile devices. Below I am attaching image. Here is my layout
1
vote
1 answer

Soft keyboard in ViewPager

I have ViewPager, and couple of pages that contain EditText fields. The task is to open soft keyboard on page with first EditText (phone number), after click on Done button switch to another page and set focus on second EditText(verification code).…
1
vote
1 answer

How to remove emoji option from soft input keyboard when input type is textpassword

When i am trying to enter password then i am getting emoji option in my soft input keyboard. So guys does any one has any idea how to remove this emoji option from soft input keyboard if my input type is textpassword
1
vote
2 answers

How to hide bottom TabLayout once keyboard shows up?

I am using bottom TabLayout with ViewPager above the tabs, XML listed below:
1
vote
0 answers

Call to set Bottomsheet STATE_EXPANDED is not waiting for layout resize after first calling hideSoftInputFromWindow

In an activity that takes user input, I have a "+" toolbar button that does two things: hide the softkeyboard, then set the state of the bottomsheet to expanded. Sounds simple right? I hope for someone it is. The problem is that the bottomsheet…
Michael Vescovo
  • 3,741
  • 4
  • 32
  • 45
1
vote
3 answers

Android - softKeyboard hiding and showing

I have an editText and a toolbar. When I focus the editText I hide the toolbar and show the softKeyboard so the user can enter text. The problem is when pressing the back key, I added an on back pressed method to show again the toolbar: @Override …
Gustavo Serna
  • 117
  • 1
  • 12