<分区>
我正在尝试在我的应用程序中加载我正在使用的应用程序的条款和条件。客户向我提供了一个包含条款和条件的 html 文件,但我没有任何类型的服务器访问权限。所以从技术上讲,应用程序需要随身携带该文件。我已经完成了 WebView ,其中在线数据显示在 WebView 中,但我对这种情况没有任何了解。我知道我在这里遗漏了一个愚蠢的观点。请帮忙
我的布局文件是
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical|center_horizontal"
android:orientation="vertical" >
<WebView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>