【发布时间】:2015-03-18 09:14:46
【问题描述】:
我需要滚动网页视图。那很简单。但是,当 webview 滚动到最后时,我希望再显示一个视图,就像 webview 一样,并且另一个视图在单个滚动视图中。如何正确地做到这一点? 考虑将 webview 放在 scrollview 中是不正确的。
附:换句话说,它应该看起来像有一个带页脚的 web 视图。页脚是常规的 android 视图。
【问题讨论】:
-
认为将 webview 放入 scrollview 是不正确的。
-
这样的 ==> stackoverflow.com/questions/14752523/… ?
-
你可以去自定义WebView
-
according to Android design documents you should never put a scrolling container inside a scrolling container if they scroll the same direction. It's not meant to handle such a thing. -
我知道。不过,我希望本机 android 视图能够像它与 webview 一起在同一个滚动容器中一样运行。该怎么做?