在xml文件中设置布局高度为wrap_content即可:
<com.example.iocs_moniting.MyScrollView
***
<WebView
***
android:layout_height="wrap_content"
在xml文件中设置布局高度为wrap_content即可:
<com.example.iocs_moniting.MyScrollView
***
<WebView
***
android:layout_height="wrap_content"