How to prevent a scrollview from scrolling to a webview after data is loaded?

后端 未结 7 1697
梦如初夏
梦如初夏 2020-11-29 16:22

So I have a fascinating problem. Despite the fact that I\'m not manually or programmatically scrolling my view, my WebView is being automatically scrolled to after the data

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 17:02

    Adding these line in main layout solves the problem

    android:descendantFocusability="blocksDescendants"
    

提交回复
热议问题