fengche_dialog_h5_pay.xml 1.5 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <RelativeLayout
        android:id="@+id/fengche_pay_title_layout"
        android:layout_width="match_parent"
        android:layout_height="52dp"
        android:background="@drawable/fengche_sdk_pay_title_bg">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="@string/fengche_pay_title"
            android:textColor="@android:color/white"
            android:textSize="17sp" />

        <ImageButton
            android:id="@+id/fengche_h5_pay_colse"
            android:layout_width="26dp"
            android:layout_height="26dp"
            android:layout_alignParentEnd="true"
            android:layout_centerVertical="true"
            android:layout_marginEnd="10dp"
            android:background="@android:color/transparent"
            android:contentDescription="@string/fengche_image_content_des"
            android:padding="5dp"
            android:scaleType="centerInside"
            android:src="@drawable/fengche_sdk_pay_close" />
    </RelativeLayout>

    <WebView
        android:id="@+id/fengche_h5_pay_webview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@id/fengche_pay_title_layout" />
</RelativeLayout>