How to hide the keyboard, without leaving a background

Viewed 15

Hi I've been trying to see how to solve this problem with the keyboard, I've seen comments from other colleagues, and I can't find the solution.

If in the AndroidManifest I configure it as:

 android:windowSoftInputMode="adjustPan"

The fragment that is configured with a ScrollView has no effect, the screen does not scroll, and the keyboard is hidden without a trace.

enter image description here

Then in AndroidManifest it is configured as:

 android:windowSoftInputMode="adjustResize"

The Display DOES scroll correctly, but when the keyboard is hidden, it leaves a background.

enter image description here

This happens in all the activities where I have to show the keyboard.

Can you help me?

0 Answers
Related