Questions tagged [window-soft-input-mode]

117 questions
1
vote
2 answers

Keyboard hiding EditText if Status bar is Translucent

I have a layout : And here is its XML
Syeda Zunaira
  • 5,191
  • 3
  • 38
  • 70
1
vote
0 answers

View flipping on focus lost if windowSoftInputMode is adjustpan

I use android:windowSoftInputMode="adjustPan" to get an EditText placed above softkeyboard without changing existing layout. The whole Activity gets pushed upwards until EditText is right above the keyboard. The EditText is placed inside a…
allofmex
  • 557
  • 1
  • 4
  • 16
1
vote
2 answers

windowSoftInputMode=“adjustResize” not working after changing visibility of child

I am having issue with windowSoftInputMode="adjustResize" and setVisibility(View.VISIBLE). adjustResize was working as expected until visibility of a View was changed. So, as long as I don't change visibility of anything programmatically…
1
vote
0 answers
1
vote
2 answers

ActionBar is scrolled up when using adjustpan

I have been stuck into this for quite some time. I am trying to develop a chat module. I have been stuck into this part where when the SoftInputKeyboard overlays the content of the RecyclerView. I have tried almost every combination of adjustResize…
1
vote
1 answer

Android - margin between AutoCompleteTextView dropdown and soft input keyboard

With window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); I was able to prevent the dropdown of my AutoCompleteTextView from going behind the soft input keyboard, but it is now flush against the keyboard as shown in the…
user4441115
1
vote
1 answer

Android adjustResize with fixed margins

I am facing an annoying problem for a few hours. I have a relative layout with a logo which has a marginTop and a button aligned to the bottom, which has a marginBottom. Between these two views there are also some other views, centered. The problem…
Teodora
  • 11
  • 3
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
2 answers

How to avoid keyboard block screen using scroll view (using adjustResize)

My question may be [duplicate] i try all solutions but nothing work. Activity declare in manifest I am using adjustResize but its not work . i try adjustPan and other option but no one works.
Rizwan Ahmed
  • 1,272
  • 2
  • 16
  • 27
1
vote
0 answers

Tap twice to make WindowSoftInputMode work

I have a simple form with EditText fields and one button at the end, and each edittext is wrapped with a TextInputLayout. I have implemented in my AndroidManifest the WindowSoftInputMode="adjustPan", but when I build the app the first time I tap on…
8370
  • 153
  • 10
1
vote
1 answer

How to move the views up while EditText grows with text AND how to retain a view or layout just on top of soft keyboard in fragment?

I have a couple of EditTexts and a Camera and Camcorder ImageViews. 1). I want Camera and Camcorder to be just on top of the soft keyboard when it opened up when EditTexts takes the focus. 2). Also, with this layout when the text that user enters…
1
vote
1 answer

Why does softkeyboard continue to display in View?

I am trying to remove the code that launches the soft keyboard when an Activity loads the View. I removed 'android:windowSoftInputMode="stateVisible|adjustResize"' in the Manifest file. I then searched for any references to uses of…
AJW
  • 1,578
  • 3
  • 36
  • 77
1
vote
1 answer

SoftKeyboard hides edittext

I have an EdiText at the bottom of my layout.The issue I was having is that when it gets focus the screen shifts upwards to give space to soft keyboard.To resolve it I added android:windowSoftInputMode="adjustResize" inside my Activity declaration…
1
vote
1 answer

Android soft keyboard keeps pushing action bar off the screen

I got a fragment which is contained inside a PageViewer which is inside a TabHost inside an activity. The fragment contains only a linear layout with a list view and under it an edit text. I have added a border around the edit text by using an xml…
CodeMonkey
  • 11,196
  • 30
  • 112
  • 203
1
vote
3 answers

How to use "adjustPan" and "adjustResize" together

I am facing a weired issue. i have two fragments in a single activity. One is a login Fragement . I have two edit text in this fragment. Some devices this filed is hiding by soft keyaboard i specified adjustPan in my manifest and this is working…
Nasif Noorudeen
  • 143
  • 2
  • 15