Questions tagged [window-soft-input-mode]

117 questions
4
votes
1 answer

android:windowSoftInputMode... is there a javascript/meta tag/"web page" config equivalent?

I've got a web site "application" which is not an app, but an actual web page you'd use through Chrome or some other browser. In iOS invoking the keyboard (via an input element for example) doesn't change the viewport ratio or resize anything, but…
the_dude_abides
  • 563
  • 4
  • 10
4
votes
1 answer

Different SoftInputMode in the same Activity, is it possible?

I try to set the adjustment of my fragments differently when the keyboard opens, but for the moment I have no positive results.enter code here The objective would be to readjust only one of the two fragments. Here is an example Activity public class…
germs
  • 43
  • 7
3
votes
1 answer

adjustResize not working with EditText view inside a fragment layout

I have a full-screen activity with certain layout elements that hide to give way to a fragment inside a container (FrameLayout). Layout is as shown below:
3
votes
2 answers

Android edittext with multiline and adjustPan windowSoftInputMode

In my chat app that i'm currently working on, i have a bottom bar with an edit text and this is my layout for the editText :
Tejas
  • 437
  • 5
  • 12
3
votes
1 answer

View is not resized after keyboard appear

Was following the android guidelines to make keyboard move my view aligned to bottom. But still can't make the view to be resized at all. Can you guide me on what could be going wrong? XML:
Dmitrii G.
  • 895
  • 1
  • 7
  • 21
3
votes
1 answer

How to set layout above soft keyboard

I have next xml layout
Stan Malcolm
  • 2,740
  • 5
  • 32
  • 53
3
votes
1 answer

Virtual keyboard block the button below when click the EditText View

I have a editText View near the bottom of my activity. When i click it and the keyboard show, but it block the button below the editText. I use the android:windowSoftInputMode="adjustResize" or "adjustPan" but not work as what i want. Following…
3
votes
2 answers

android- Use adjustResize and adjustPan on same Activity

I am Developing a chat app which has background chat image and default keyboard,when i have to use background image it shrinks but when i use android:windowSoftInputMode="adjustResize" it works perfectly ,but keyboard hides edittext,if i use…
Jaichander
  • 812
  • 2
  • 15
  • 24
2
votes
0 answers

Automatic scrolling when the keyboard is opened

I want the screen to automatically scroll up when the keyboard opens, so that the user can see what he has written. The solution I found was to change the manifest and use adjustPan or adjustResize. I used both of them but it still didn't…
2
votes
0 answers

How to setSoftInput for a activity containing navHostFragment?

I want my views in a fragment to be resized when the soft keyboard appears. I tried setting the windowsoftInputMethod in the manifest, in the activity containing the fragments, and even in the fragments separately but nothing is happening. If I…
2
votes
0 answers

WindowSoftInput: adjustPan and adjustNothing custom behavior

We have toolbar, tablayout, editText and a view that has been set to alignParentBottom. When user clicks on editText (focus), we do not want our bottom view to be brought up, pushed up and hence, we can use adjustNothing in manifest but we also do…
Sagar Patel
  • 506
  • 1
  • 8
  • 23
2
votes
1 answer

android - AdjustResize for Fragment

Good day, sirs! I have an Activity with a TabLayout+ViewPager and 2 Fragments in it. In the first Fragment I have a RecyclerView with some items and the SearchView in the Toolbar. I want to show the placeholder when your search query makes…
Den
  • 1,284
  • 2
  • 14
  • 33
2
votes
1 answer

Keyboard hides on orientation change

Similar question has already appeared several times, but I have found strange regularity which I think should not occur. There is Activity with EditText in its layout. When user clicks on that field, soft input appears. With flag…
2
votes
1 answer

View moving up in xamarin forms android when keyboard appears

The status bar and the screen moves up completely when the keyboard popsUp in xamarin forms android and the EditText field is in the bottom of the screen. I tried using WindowSoftInputMode = SoftInput.AdjustPan and WindowSoftInputMode =…
2
votes
0 answers

Soft Keyboard Hides Toolbar OR Edittext

i have a similar problem with: Soft Keyboard Hides Toolbar then i try to use: android:windowSoftInputMode="adjustPan" It work, my edittext appears, but my toolbar disappear. then i try to use: android:windowSoftInputMode="adjustResize" It makes my…
user3506223
  • 211
  • 1
  • 2
  • 12