<?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:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/rl_top"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:paddingLeft="20dp"
|
android:paddingRight="10dp">
|
|
<FrameLayout
|
android:id="@+id/fl_back"
|
android:layout_width="20dp"
|
android:layout_height="20dp"
|
android:layout_centerVertical="true">
|
|
<ImageView
|
android:layout_width="10dp"
|
android:layout_height="14dp"
|
android:layout_gravity="center"
|
android:background="@drawable/game_sdk_web_view_back"
|
android:scaleType="fitXY" />
|
</FrameLayout>
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:textColor="@android:color/white"
|
android:textSize="18sp" />
|
|
<ImageView
|
android:id="@+id/iv_dismiss"
|
android:layout_width="50dp"
|
android:layout_height="21dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:background="@drawable/game_sdk_hdyx"
|
android:scaleType="fitXY" />
|
</RelativeLayout>
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<com.tencent.smtt.sdk.WebView
|
android:id="@+id/web_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent" />
|
|
<ProgressBar
|
android:id="@+id/progress_bar"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:layout_gravity="center"
|
android:visibility="gone" />
|
</FrameLayout>
|
</LinearLayout>
|