fengche_activity_pay_landscape.xml 8.4 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:background="@android:color/white"
    android:orientation="vertical">

    <RelativeLayout
        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_sdk_pay_close"
            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>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="43dp"
        android:background="#fafafa">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="@string/fengche_pay_order_hint"
            android:textColor="#ff3737"
            android:textSize="13sp" />
    </RelativeLayout>

    <LinearLayout
        android:layout_width="243dp"
        android:layout_height="67dp"
        android:layout_gravity="center"
        android:layout_marginTop="16dp"
        android:background="@drawable/fengche_shape_order_msg"
        android:gravity="center"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/fengche_pay_order_money"
                android:textColor="#ff3737"
                android:textSize="12sp" />

            <TextView
                android:id="@+id/fengche_pay_real_price"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textColor="#ff3737"
                android:textSize="20sp" />

            <TextView
                android:id="@+id/fengche_pay_order_price"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="12dp"
                android:textColor="#999999"
                android:textSize="9sp" />
        </LinearLayout>

        <TextView
            android:id="@+id/fengche_pay_order_product_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:textColor="#999999"
            android:textSize="10sp" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="243dp"
        android:layout_height="67dp"
        android:layout_gravity="center"
        android:layout_marginTop="16dp"
        android:background="@drawable/fengche_shape_order_msg"
        android:gravity="center"
        android:orientation="vertical">

        <RelativeLayout
            android:id="@+id/fengche_pay_type_alipay_layout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1">

            <ImageButton
                android:id="@+id/fengche_sdk_pay_alipay_icon"
                android:layout_width="19dp"
                android:layout_height="19dp"
                android:layout_alignParentStart="true"
                android:layout_centerVertical="true"
                android:layout_marginStart="17dp"
                android:background="@android:color/transparent"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_sdk_pay_alipay_icon" />

            <TextView
                android:id="@+id/fengche_pay_type_alipay_title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_marginStart="17dp"
                android:layout_toEndOf="@id/fengche_sdk_pay_alipay_icon"
                android:text="@string/fengche_pay_type_alipay"
                android:textColor="#666666"
                android:textSize="12sp" />

            <ImageView
                android:id="@+id/fengche_pay_type_alipay_selected"
                android:layout_width="10dp"
                android:layout_height="10dp"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:layout_marginEnd="12sp"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_sdk_reg_agr_sel"
                android:visibility="invisible" />
        </RelativeLayout>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="#e0e0e0" />

        <RelativeLayout
            android:id="@+id/fengche_pay_type_wechat_layout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1">

            <ImageButton
                android:id="@+id/fengche_sdk_pay_wechat_icon"
                android:layout_width="20dp"
                android:layout_height="17dp"
                android:layout_alignParentStart="true"
                android:layout_centerVertical="true"
                android:layout_marginStart="17dp"
                android:background="@android:color/transparent"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_sdk_pay_wechat_icon" />

            <TextView
                android:id="@+id/fengche_pay_type_wechat_title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_marginStart="17dp"
                android:layout_toEndOf="@id/fengche_sdk_pay_wechat_icon"
                android:text="@string/fengche_pay_type_wechat"
                android:textColor="#666666"
                android:textSize="12sp" />

            <ImageView
                android:id="@+id/fengche_pay_type_wechat_selected"
                android:layout_width="10dp"
                android:layout_height="10dp"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:layout_marginEnd="12sp"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_sdk_reg_agr_sel" />
        </RelativeLayout>
    </LinearLayout>

    <Button
        android:id="@+id/fengche_pay_order_sub"
        android:layout_width="248dp"
        android:layout_height="30dp"
        android:layout_gravity="center"
        android:layout_marginTop="25dp"
        android:background="@drawable/fengche_sdk_login_sub_bg_full"
        android:textColor="@android:color/white"
        android:textSize="15sp" />

    <TextView
        android:id="@+id/fengche_recharge_go_server"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="15dp"
        android:text="@string/fengche_rest_psw_go_server"
        android:textColor="#b6b6b6"
        android:textSize="12sp" />
</LinearLayout>