Questions tagged [adjustpan]

For questions dealing with the adjustPan Window Soft Input Mode for the Android Activity element.

75 questions
26
votes
9 answers

Coordinatorlayout adjustresize not working

MY CODE (and more): I have a Coordinator Layout as follows
24
votes
5 answers

How to push RecyclerView up when the soft keyboard appears?

I want to build a message layout like WhatsApp. I have an EditText and a RecyclerView. The problem is when the keyboard appears, it hide the messages at the bottom of the list. So let's say this the RecyclerView: ---item 1--- ---item 2--- …
david
  • 3,310
  • 7
  • 36
  • 59
16
votes
4 answers

EditText, adjustPan, ScrollView issue in android

I have a EditText which is enclosed in ScrollView, but when the keyboard comes up. You can NOT scroll down to the fields that are now covered. I have tried adding adjustSize, adjustPan in the manifest and in the class. But its not working..
developer
  • 437
  • 2
  • 5
  • 12
15
votes
2 answers

Keyboard hides TextField first time

I have create a simple example with six TextFields inside a LazyColumn, when you click the last TextField, the keyboard hides it, if you hide the keyboard and click again last TextField, works fine. In the AndroidManifest I use "adjustPan" …
14
votes
1 answer

adjustPan not working with FLAG_LAYOUT_NO_LIMITS

My Requirement is a full transparent status bar with change color of the status bar in same activity dynamically. For that, I added getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); and in style.xml
Sanjay Kakadiya
  • 1,596
  • 1
  • 15
  • 32
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…
10
votes
10 answers

Adding Margin between EditText and keyboard

So this question has been asked few times already in here in the past years and non of the solutions worked for me. The problem is that when I use AdjustPan to move the softkeyboard it hides part of the EditText as follows: The solutions I tried…
Ben
  • 1,737
  • 2
  • 30
  • 61
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…
8
votes
0 answers

Android Pie edittext does not adjustPan/resize while typing

On Android PIE I have an Activity with several Edittext views inside a linear layout, and using SOFT_INPUT_ADJUST_PAN. While I am typing with soft keyboard on an Edittext the text is not displayed. If I type text on an Edittext near the top of the…
7
votes
2 answers

Scrollview pushing up when android soft keyboard is shown

I have an editext inside the scrollView. When editext gets focus and soft keyboard is shown, ScrollView is pushing up automatically. I have tried android:windowSoftInputMode="adjustResize" android:windowSoftInputMode="adjustPan"
Nitin Gupta
  • 236
  • 3
  • 10
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
6
votes
1 answer

Toolbar moves off screen when I use adjustpan

I am using the toolbar like in this post of google developers (appcompat-v21) It works perfectly except when I press my editText. I set in manifest: android:windowSoftInputMode="adjustPan" But when the keyboard goes under my editText, the toolbar…
5
votes
4 answers

Scrolling a layout when the keyboard appears

My screen resizing to top when keyboard appears and hiding toolbar (FrameLayout), i need just scroll chat items to top and hold my frame layout on the top. I try some examples from Google and SO, but nothing helps to me.
AlexS
  • 918
  • 1
  • 12
  • 28
5
votes
0 answers

Is it possible to use adjustPan and keep the selection action mode on screen?

I have an EditText element at the bottom of the screen (like Whatsapp i.e), and I'm using android:windowSoftInputMode="adjustPan" in order not to hide the EditText when the keyboard appears. It works fine, it pushes the whole layout up so that the…
5
votes
1 answer

Screen not moving correctly when keyboard moves up - android

I´m making an android application in Xamarin and the code below is the axml for the login window. But the problem is when I touch the password field the layout doesn´t move up so I can see the "innskráning" button (the sign in button), I´ve tried…
elibjon
  • 101
  • 4
1
2 3 4 5