<?xml version="1.0" encoding="utf-8"?>
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<data>
|
|
</data>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<com.hjq.bar.TitleBar
|
android:id="@+id/tb_browser_title"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:leftIcon="@drawable/ic_back"
|
/>
|
|
<ProgressBar
|
android:id="@+id/pb_browser_progress"
|
style="?android:attr/progressBarStyleHorizontal"
|
android:layout_width="match_parent"
|
android:layout_height="3dp"
|
android:progressDrawable="@drawable/shape_gradient_browser_progress"
|
android:visibility="gone" />
|
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
android:id="@+id/sl_browser_refresh"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:srlEnableHeaderTranslationContent="false"
|
app:srlEnableLoadMore="false"
|
app:srlEnablePreviewInEditMode="false"
|
app:srlPrimaryColor="#444444">
|
|
<com.scwang.smart.refresh.header.MaterialHeader
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
/>
|
<WebView
|
android:id="@+id/wv_browser_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent" />
|
<com.scwang.smart.refresh.footer.BallPulseFooter
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
|
</LinearLayout>
|
</layout>
|