Keyboard pushes entire screen up and leaves space
See original GitHub issueThis is what the chat screen looks like:
This is what it looks like as soon as the keyboard shows:
The emoji keyboard shows normally, but because of this weird error, the emoji keyboard and normal keyboard can be above each other.
How can I achieve what I want, which is a normal opened keyboard instead of a keyboard that pushes my entire content up with a lot of empty space showing?
I added the panel like this:
<br.com.instachat.emojilibrary.model.layout.WhatsAppPanel
android:id="@+id/bottompanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="false"/>
If I change the height to 75dp the keyboard behaves perfectly, but of course the emoji keyboard doesn’t show up no more. What can I do?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Android: How do I prevent the soft keyboard from pushing ...
When the soft keyboard opens, it pushes the tab for the drawer up, so it sits atop the keyboard. I actually want it...
Read more >bug: Keyboard pushes the whole screen up #5432
When I try to type something in there on iOS the whole page gets pushed upwards by the keyboard.
Read more >Avoid UI distortions during keyboard display for a Mobile ...
Whenever the keyboard is visible, the view port height will get reduced because keyboard will take some amount of screen space.
Read more >Layout Resizes when Keyboard is open
Hello! When I open the keyboard the background image of a column goes up and so is the input textbox. Can someone help...
Read more >Stop the iOS keyboard hiding your sticky or fixed position ...
If you have a sticky or fixed position header with a textarea or a contenteditable element, the soft keyboard can push it off...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually for me adding this to the sample apps AndroidManifest -
android:windowSoftInputMode="adjustPan"
fixes this problem. Thanks for the lib. Update: I Notice on some devices this problem happens and on some not…I have just noticed that the demo application contains
android:windowSoftInputMode="adjustNothing"
for activity tag in Manifest file. After adding this tag all problems had gone.