开发者

how to enable vertical scroling of web view layout with in scrollview tag

开发者 https://www.devze.com 2023-01-10 08:47 出处:网络
I have problem in scrolling of webview vertically when it\'s scrolled along vertically,开发者_开发百科where this webview is with in scrollview tag,how can i enable the scrolling for webview and to dis

I have problem in scrolling of webview vertically when it's scrolled along vertically,开发者_开发百科where this webview is with in scrollview tag,how can i enable the scrolling for webview and to disable the scrolling of whole layout when its on webview contained layout.


Because of the way touch events are consume in android it is not recommended or even really possible to have two Views that consume and react to the same move events in the same axis. In other words, you cannot put a WebView in a ScrollView. You would not be able to put a ListView in a ScrollView and have it work either since they both scroll vertically.

0

精彩评论

暂无评论...
验证码 换一张
取 消