Questions tagged [window-soft-input-mode]

117 questions
0
votes
1 answer

Activity resized after keyboard is appears

I have an activity that contains one fragment added by the include tag (at the top of the activity) and one main central fragment. The main fragment also contains the editText widget. When I click on the edittext keyboard it is displayed and based…
0
votes
0 answers

Android Keyboard not pushing layout up

My keyboard is not popping up the edittext to enter text. I tried setting adjustSize in windowSoftInputMode in my android manifest. Here is my AndroidManifest.xml
0
votes
2 answers

Keep viewgroup visible when soft keyboard pops up

Typically, when dealing with soft keyboards, we can specify the layout to resize or pan up when the text field will be hidden. I have the following layout: Due to the way it is created (large margin on the bottom from the card), resizing will not…
Allan W
  • 2,791
  • 4
  • 23
  • 41
0
votes
1 answer

ExitText on recycler-view cause problem in focus and fixing it breaks the keyboard hiding EditTect visibility

Had a problem from recycler view and EditText. The focus is lost because of the view refresh. Have fixed this with below config from manifest. android:windowSoftInputMode="stateHidden|adjustResize|adjustPan" However, this breaks my existing…
0
votes
3 answers

Android: Tablayout comes up when keyboard open

I am using TabLayout, which position in the bottom of the screen. The problem is when the keyboard open the TabLayout also comes above of the keyboard. I want to hide behind the keyboard In Manifest I set android:windowSoftInputMode="adjustResize",…
0
votes
0 answers

ActionBar is going up when keyboard is in use

Action Bar is going out of the screen when keyboard is in use on Edit text. I have tried using some parameters of windowSoftInputMode on activity tag in Manifest as adjustresize, adjustPan but none of the above worked. My xml is
Taha alam
  • 372
  • 3
  • 11
0
votes
1 answer

Soft Keyboard pushed button up above it. How to fix it?

I have ConstraintLayout with ScorllView and Button below it (attached to bottom of the screen. When I am editing EditText input inside ScrollView. Then appearing keyboard is moving my ScrollView content up (desired behaviour, so I can scroll to the…
Michał Ziobro
  • 10,759
  • 11
  • 88
  • 143
0
votes
0 answers

Prevent softinput that opened from first edittext to open in second edittext

I have two edittexts. It is supposed to have this behavior. With addTextChangedListener every number input from edittext1 will be +1 and then the sum will be displayed on edittext2. If I input 2000 on edittext1 then edittext2 should then display…
0
votes
2 answers

How to force windowSoftInputMode adjustResize when statusBar is hidden

I have been struggling to put this to work. The app resizes well as long as i keep the status bar visible. According to this post it is an android bug, but the issue is closed but not resolved. From all that i read, playing with Insets should do the…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
0
votes
0 answers

Different WindowSoftInputMode for activity and fragment

I want to achieve the functionality shown in the image. Let me explain the scenario in details. I have a main activity and several fragments. what I want is when the keyboard is open the activity will remain same (will not resize) but the fragment…
0
votes
3 answers

How to stop activity resizing/pushing up on keyboard open in dialog?

I have an activity, which should react on keyboard opening, so in the manifest, it has an attribute android:windowSoftInputMode="adjustResize" Also, this activity can start a dialog, which has EditText. When it starts dialog, keyboard is shown,…
0
votes
1 answer

Softinput keyboard hides edit text

i have an activity having edit texts and a date field. Everything works fine if i don't open the date picker dialog fragment. If i open datepicker fragment, when the date picker fragment dismisses, edit texts in the layout appears behind the…
0
votes
2 answers

FloatingActionButton above keyboard and BottomNavigationView hidden under keyboard in Android

I'm faced with a problem I just can't wrap my head around. It's fairly straight forward; I have a view in which I have an EditText, a FloatingActionButton and a BottomNavigationView. When I select the EditText the keyboard pops up. This is when I…
0
votes
2 answers

Background image gets shrink on keyboard popup

I have a parent layout with background image, so after adding scroll view when the keyboard pops up the background image gets shrink. Like below images : I checked all solutions on SO, adding windowSofInput as adjustResize and adjustPan but…
Sid
  • 2,792
  • 9
  • 55
  • 111
0
votes
1 answer

SoftInput.AdjustPan doesn't work

Hello to all programmers. I try to create Android app in Visual Studio Xamarin. I placed EditText in the lower part of app screen and when I set focus on it, keyboard hide bottom part of UI. Is it possible to do something with…