Closed 4332weizi closed 7 years ago
activity_news_detail_content.xml
<WebView android:id="@+id/webview" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="-200dp" app:render="@{viewModel.html}"></WebView>
为什么android:layout_marginTop=“-200dp”
WebView 展示拉到的网页上面会有一块空白,所以对WebView做了移动,这个可以不用care,只是为了UI临时改动的。
activity_news_detail_content.xml
为什么android:layout_marginTop=“-200dp”