我设置了一个LinearLayout
withadmob
和WebView
。当admob
出现在顶部时,WebView Y pos
正确地重新定位到0 + adMobHeight
。
然后,如果您触摸并拖动WebView
,您可以移动垂直相同的 admob 高度!iOS 上的这个属性称为bounces
.
如何停用它?
如果不可能,在不WebView
重新加载内容的情况下强制重新计算其大小?谢谢
请注意,卷轴已经被禁用,
webviewB.setVerticalScrollBarEnabled(false);
webviewB.setHorizontalScrollBarEnabled(false);