PreventKeyboardBlockUtil icon indicating copy to clipboard operation
PreventKeyboardBlockUtil copied to clipboard

一句代码解决软键盘挡住相关控件,适用于任何布局,一般作用于登录界面,注册界面等,当软键盘弹出时避免挡住登录(注册)按钮。

Results 6 PreventKeyboardBlockUtil issues
Sort by recently updated
recently updated
newest added

当EditText在屏幕顶部时,登录按钮在屏幕底部时,软键盘弹起就会把EditText顶出屏幕,请问这种情况如何解决?

整体布局是Scrollview+RecycleView最下面是一些按钮,使用这个组件时,设置下面的按钮为不遮挡控件,程序崩溃.

![device-2020-12-17-112003](https://user-images.githubusercontent.com/23241782/102439872-0e889b00-405a-11eb-8b4f-d54a644acabc.png) ![device-2020-12-17-112039](https://user-images.githubusercontent.com/23241782/102439886-15171280-405a-11eb-9e7f-ccb69cef95bb.png)

在模拟器上是可以的,但是换到真机后出现上移之后下不来的情况 机型mi9 mi max2

没有设置**setError**前都正常 当设置**setError**后,**EditText**获取到焦点后,就异常了 在demo上添加以下代码,即可复现 ![Alt text](https://s2.ax1x.com/2019/09/28/uliHET.png) 当获**EditText**取焦点后,如下图 ![ulF1Pg.jpg](https://s2.ax1x.com/2019/09/28/ulF1Pg.jpg)