Questions tagged [window-soft-input-mode]

117 questions
154
votes
18 answers

windowSoftInputMode="adjustResize" not working with translucent action/navbar

I have problems with the translucent actionbar/navbar in the new Android KitKat (4.4) and the windowSoftInputMode="adjustResize". Normaly, changing the InputMode to adjustResize, the app should resize itself when keyboard is shown, but here it…
58
votes
8 answers

Android: Resize only parts of view with soft keyboard on screen

I have a view with a Edittext field on top of an ImageView. When the keyboard comes up I want the window to resize so that EditText is no longer hidden by the keyboard. In the AndroidManifest file I declared…
pdfj
  • 769
  • 1
  • 6
  • 12
21
votes
9 answers

Keyboard hiding EditTexts in Fragments

edit: I need to use the keyboard, but it hides my EditText, I need it to scroll so the keyboard is not hiding it. I am using a Samsung tablet. My style: parent="android:Theme.Holo.NoActionBar.Fullscreen" The EditText fields are in a scrollable…
16
votes
1 answer

get android:windowSoftInputMode attribute programmatically on Android

I am aware that the android:windowSoftInputMode manifest attribute can be set programmatically using the following method: getWindow().setSoftInputMode( WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); Is there any way to get…
Dean Wild
  • 5,886
  • 3
  • 38
  • 45
11
votes
1 answer

AdjustResize on jetpack compose not working

I'm implementing a screen on my project using jetpack compose (1.0.0-beta09) but I'm facing a issue on a screen with a footer that need to be always visible, even the keyboard is opened, I know that we have 'adjustResize' on android that solve this…
9
votes
4 answers

adjustResize does not work with CoordinatorLayout

I have the following layout in my android app but I have a problem with windowSoftInputMode="adjustResize" in the activity: The LinearLayout named "container" contains multiple EditTexts but when one of them has focus and the keyboard appears, the…
8
votes
4 answers

Why doesn't my layout move up enough with "adjustPan"?

I had some issues using adjustPan in my app, as it is not working as it is supposed to do. Some other users also experienced this problem, so I think it's important to share this issue (Layout doesn't move up enough when clicking EditText). Note: I…
7
votes
3 answers

Scrollview inside a viewpager fragment doesnt scroll when keyboard is shown

I have an activity which has a layout content as follows:
6
votes
0 answers

adjustResize Property Doesn't Work Properly With WebViews in Android

I have an activity that displays an HTML form in a WebView. Here's my manifest:
6
votes
2 answers

adjustPan pushing my layout and hiding status bar

Using adjustPan in manifest pushes my layout to the top and makes my UI look ridiculous. This is my Android manifest:
cw fei
  • 1,534
  • 1
  • 15
  • 33
5
votes
1 answer

How to write Text into TextFields in a Lazycolumn at the bottom of the screen

I'm having a problem with TextFields inside a LazyColumn. My goal is to have a LazyColumn with a bunch of TextFields where I can scroll to see the whole content of the LazyColumn even if the keyboard is active enter a new line to a TextField and…
5
votes
4 answers

android:windowSoftInputMode="adjustResize" is not working as it should be

Even though this problem has many solutions in stackoverflow, I could not solve my problem. I have two edit texts in the screen, one on top, another is attached to bottom of the screen. Whenever I click on bottom edit text, softkey board comes over…
5
votes
2 answers

AlignParentBottom + marginBottom not working together

In my activity's view I have RelativeLayout in which there are two layouts: LinearLayout-"ll" (must be top of the screen) and Relative one - "rl"(must be bottom of screen). When I'm focusing on editText in the ll it opens keyboard and my rl ascends…
5
votes
1 answer

android:windowSoftInputMode="stateAlwaysHidden|adjustPan" doesnt work on all devices

As many do , I ran into the problem of the softinput covering my send buttons so I did some searching and found the accepted way of fixing this issue is "android:windowSoftInputMode="stateAlwaysHidden|adjustPan" and this works great on my device,…
ChuckKelly
  • 1,742
  • 5
  • 25
  • 54
5
votes
1 answer

How to use "adjustResize" to adjust view in Android using phonegap?

We can set android:windowSoftInputMode="stateVisible|adjustResize|adjustPan" to adjust screen view while user click on Edit Text Field. I want to do same thing in HTML form. While user click on Textbox then view should be automatically adjust so…
Chintan Khetiya
  • 15,962
  • 9
  • 47
  • 85
1
2 3 4 5 6 7 8