Questions tagged [window-soft-input-mode]

117 questions
2
votes
5 answers

Input type is not working properly

I have certain number of edittexts in my activity and I specified each edittext with input type :"number" In order to show the keyboard only with numbers. when I click on the edittext initially it shows the keyboard with number after a fraction of…
2
votes
2 answers

How to add custom InputMethodService to Activity?

I decided to create a custom keyboard for my application. I know that this is not the best idea, since it's hurting the user friendliness, that's why I will just make it optional in Preferences. After having it all done in a class public class…
2
votes
4 answers

EditText is hidden by the softkeyboard in Android

I have a layout in an app with parallax effect on an edittext, my problem is **when I tap on the edittext softkeyboard hides my editext?**Can anybody please help me for this, I have searched for it and found about "WindowsoftInputmode" which is not…
2
votes
0 answers

Ignore windowSoftInputMode for certain elements eg. Background Image

My question is, is there a way to get a certain view element to ignore the windowSoftInput setting, or to set a specific setting for one view element? (Any other solutions to my problem are also welcome) Below are more details about my problem. I…
Thyme
  • 156
  • 1
  • 10
1
vote
0 answers

Bottomsheet acting strange with windowsoftinputmode=adjustResize kotlin compose

Bottomsheet acting strange with windowsoftinputmode=adjustResize kotlin compose. I added android:windowSoftInputMode="adjustResize" in manifest file in order to solve something. Unfortunately, the text fields inside BottomSheetScaffold are not…
1
vote
1 answer

How to remove autoscroll, when I typing text in TextInputLayout and TextInputEditText

I tried to remove and request focus when only if I dont typing text - all don't work. How can I fix that? TextInputLayout and TextInputEditText inserted in recyclerview
1
vote
0 answers

Sometimes for the short period opened softkeyboard decreases the WindowVisibleDisplayFrame area more than it's needed for softkeyboard placement

I need the keyboard to cover the main content on the screen but some views should be placed above the keyboard. So I use WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING for my activity and hack with a transparent popupWindow and…
1
vote
2 answers

How do I get the kivy Window.softinput_mode = 'below_target' to move the TextInput box above the virtual keyboard?

I'm using python 3.8.6 and kivy 2.1.0. When the text input box gets focus, the keyboard pops up and covers the TextInput box. I've added the 2 lines below to force the keyboard to be below the target TextInput box, but it does not work as…
darrylctx
  • 33
  • 2
1
vote
0 answers

Fragment layout is not Scrolling completely when keyboard opens

I want the layout inside my fragment to scroll completely and place it above the softkeyboard whenever keyboard opens. But the problem is the layout is not even scrolling when i user click on keyboard. It covers up some part of the layout. I have…
1
vote
0 answers

CoordinatorLayout with appbar_scrolling_view_behavior causing issue with adjustResize

I am facing weird issue with combination of CoordinatorLayout,appbar_scrolling_view_behavior and adjustResize. Using this combination, I have an layout which is scrollable, when keyboard comes up and dismisses, area behind keyboard is grays out. If…
1
vote
2 answers

Trouble managing Soft bottom bars in Android for different devices

I have created a function as below which sets fitSystemWindow attribute : private void setFitSystemWindows() { try { if (android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.LOLLIPOP) { // Do…
1
vote
4 answers

windowSoftInputMode="adjustResize|stateHidden" Keyboard OverLays Editexts Error

Tried using window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN) inside the activity.Also tried with ADJUST_RESIZE Param It was not working. The following code is my manifest for the activity
Abraham Mathew
  • 2,029
  • 3
  • 21
  • 42
1
vote
0 answers

Keyboard ADJUST_RESIZE is not working in DialogFragment in Android 8 or above and Notch devices

I've implemented a DialogFragment that is shown from an Acivity with 'windowSoftInputMode="adjustNothing"' but inside the DialogFragment I've used ADJUST_RESIZE input…
1
vote
1 answer

padding Soft input resize adjust in xamarin android

I'm Trying to resize my screen on xamarin android when soft input appears. but my problem is i want to set padding for my view in resize mode. for example i want my view has 10 padding from top when soft input appears. but it fill my screen. I'm…
1
vote
2 answers

windowSoftInoutMode is not working for fragment which is in ViewPager

I have an Activity which shows contact details of a person. it contains CordinatorLayout (containing header), ViewPager in it along with TabLayout. one of the fragment contains EditText at the bottom which is contained in ViewPager. I'm using the…