在xml中使用:
<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android=“http://schemas.android.com/apk/res/android”
android:layout_width=“match_parent”
android:layout_height=“match_parent”
android:padding=“@dimen/content_padding” >
<app.ui.widget.ProgressWebView
android:id=“@+id/webview”
android:layout_width=“match_parent”
android:layout_height=“match_parent” />
<TextView
android:id=“@+id/tv_error”
android:layout_width=“match_parent”
android:layout_height=“match_parent”
android:gravity=“center|center_vertical”
android:text=“查询失败”
android:visibility=“gone” />
在Activity中使用:
/*******************************************************************************
-
Cop