xfgame_webview.xml 1.9 KB
<?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"
    android:background="@color/xfgame_FFFFFF">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingLeft="@dimen/xfgame_space_normal"
        android:orientation="vertical">

        <LinearLayout
            android:id="@+id/xf_web_view_ll"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:orientation="horizontal">

            <ImageView
                android:layout_width="15dp"
                android:layout_height="15dp"
                android:layout_gravity="center"
                android:background="@drawable/xfgame_back"/>

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/xfgame_back"
                android:textSize="@dimen/xfgame_font_size_14"/>

        </LinearLayout>

        <TextView
            android:layout_width="@dimen/xfgame_logo_width_small"
            android:layout_height="@dimen/xfgame_logo_height_small"
            android:layout_centerHorizontal="true"
            android:layout_centerVertical="true"
            android:gravity="center"
            android:textSize="@dimen/xfgame_font_size_20"
            android:textColor="@color/xfgame_666666"
            android:text=""/>

    </RelativeLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="2dp"
        android:background="@color/xfgame_EAEAEA"/>

    <WebView
        android:id="@+id/xf_web_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</LinearLayout>