【发布时间】:2014-07-14 06:56:06
【问题描述】:
我正在尝试在我的应用程序中加载我正在开发的应用程序的条款和条件。客户向我提供了条款和条件的 html 文件,我没有任何类型的服务器访问权限。所以从技术上讲,应用程序需要随身携带该文件。我已经完成了网络视图,其中在线数据显示在网络视图中,但我对这种情况没有任何意见。我知道我在这里错过了一个愚蠢的观点。请帮忙
我的布局文件是
<?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>
【问题讨论】: