Android: White View shown when keyboard shown on Pie and Oreo Version

时间:2019-04-08 13:05:16

标签: android android-layout android-softkeyboard android-9.0-pie

I am facing a strange problem when keyboarad shown in fragment it white overlay view shown above the layout and disapper when keyboard hide

this picture when keyboard hide

this picture when keyboard shown

enter image description here

1 个答案:

答案 0 :(得分:0)

I think its not hard problem

Then

In AndroidManifest.xml file try to set windowSoftInputMode attribute to adjustNothing.

Like this :

android:windowSoftInputMode="adjustNothing"

I hope that it works.