深圳全飞鸿
标题:
关于Android的popwin显示webview不自适应高度的问题
[打印本页]
作者:
syant
时间:
2025-1-3 16:52
标题:
关于Android的popwin显示webview不自适应高度的问题
关于Android的popwin显示webview不自适应高度的问题
微信图片_20250103165204.png
(22.04 KB, 下载次数: 30)
下载附件
2025-1-3 16:52 上传
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="WebViewLayout">
<ProgressBar
android:id="@+id/webview_progressbar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="fill_parent"
android:layout_height="2dp" />
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="wrap_content"></WebView>
</LinearLayout>
复制代码
欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/)
Powered by Discuz! X3.2