简体   繁体   English

Android Scrollview被视图和键盘覆盖

[英]Android Scrollview gets overlapped by a view and keyboard

I have searched the web for about 2 hours and no solution, now I will try it here. 我在网上搜索了大约2个小时,没有任何解决方法,现在我将在这里尝试。

My problem is that when I open the keyboard the scrollview gets overlapped by a view and the keyboard. 我的问题是,当我打开键盘时,滚动视图会被视图和键盘重叠。 I want to see the bottom elements of the scrollview. 我想查看滚动视图的底部元素。

Here are the screenshots: screenshot1 , screenshot2 . 这是屏幕截图: screenshot1screenshot2

滚动视图不像其他视图那样响应adjustReize ,解决方案(就像其他人一样,例如, 为什么在显示软键盘时android:windowSoftInputMode =“ stateVisible | adjustResize”不调整屏幕? )将仅收听视图的层次结构,并在显示键盘时滚动到底部

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM