Keyboard covers edittext and webview in Lollipop ONLY

前端 未结 1 931
半阙折子戏
半阙折子戏 2021-01-16 05:03

I do understand that similar issues have been reported here but mine is somewhat different.

I have recently upgraded the com.android.support:appcompat-v7 to v21 and

相关标签:
1条回答
  • 2021-01-16 05:59

    Incase anyone lands here facing the same issue, the behavior occurs because "they" (Google) have changed the behavior of adjustPan moving forward from Android L.

    To fix the issue, I am using a keyboard util in the library as indicated here.

    A note from the developer is that this fix is to be used only in fragment/activity becaues this uses a GlobalLayoutListener which lowers the frameRate a bit but this is the only option to get it working

    0 讨论(0)
提交回复
热议问题