Open azhu003 opened 6 years ago
是因为WebView没有自动适应网页的高度的原因吗
<?xml version="1.0" encoding="utf-8"?> <DetailScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/article_scroll" android:layout_width="match_parent" android:layout_height="match_parent">
<DetailWebView android:id="@+id/article_web" android:layout_width="match_parent" android:layout_height="wrap_content" /> <DetailRecyclerView android:id="@+id/reply_recycler" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dp10" android:paddingLeft="@dimen/dp14" android:paddingRight="@dimen/dp14" />
是因为WebView没有自动适应网页的高度的原因吗
<?xml version="1.0" encoding="utf-8"?> <DetailScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/article_scroll" android:layout_width="match_parent" android:layout_height="match_parent">