pay_dialog_pay.xml 7.94 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingLeft="15dp"
        android:background="@drawable/pay_bg_radius_top_white_10"
        android:paddingRight="15dp">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="60dp">
            <TextView
                android:id="@+id/text_title"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:text="倾诉服务"
                android:gravity="center|left"
                android:textStyle="bold"
                android:textColor="@color/platform_color_242424"
                android:textSize="17sp"
                android:layout_weight="1"/>
            <TextView
                android:id="@+id/text_oldmoney"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                tools:text="129.00"
                android:textColor="@color/platform_color_242424"
                android:textStyle="bold"
                android:textSize="16sp"
                android:gravity="center_vertical"/>
        </LinearLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="0.5dp"
            android:background="@color/platform_color_E0E0E0"/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="60dp">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:text="优惠"
                android:textSize="15sp"
                android:textColor="@color/platform_color_242424"
                android:gravity="center|left"
                android:layout_weight="1"/>
            <TextView
                android:id="@+id/text_youhui"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                tools:text="50"
                android:textSize="15sp"
                android:textColor="@color/platform_color_666666"
                android:drawablePadding="5dp"
                android:gravity="center_vertical"/>
        </LinearLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="0.5dp"
            android:background="@color/platform_color_E0E0E0"/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="60dp">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:text="使用余额"
                android:textSize="15sp"
                android:textColor="@color/platform_color_242424"
                android:gravity="center|left"
                android:layout_weight="1"/>
            <TextView
                android:id="@+id/text_yu_e"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                tools:text="-9.00"
                android:textSize="15sp"
                android:textColor="@color/platform_color_666666"
                android:gravity="center_vertical"/>
        </LinearLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="0.5dp"
            android:background="@color/platform_color_E0E0E0"/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="60dp">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:text="还需支付"
                android:textSize="15sp"
                android:textColor="@color/platform_color_242424"
                android:gravity="center|left"
                android:layout_weight="1"/>
            <TextView
                android:id="@+id/text_money"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                tools:text="129.00"
                android:textSize="20dp"
                android:textColor="@color/platform_color_FF5A4C"
                android:gravity="center_vertical"/>
        </LinearLayout>
    </LinearLayout>

    <TextView
        android:id="@+id/text_paytip"
        android:layout_width="match_parent"
        android:layout_height="30dp"
        android:text="选择支付方式"
        android:textSize="12dp"
        android:paddingLeft="15dp"
        android:gravity="center_vertical"
        android:textColor="@color/platform_color_999999"
        android:background="@color/platform_color_F7F7F7"/>

    <LinearLayout
        android:id="@+id/lin_pay"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:paddingLeft="15dp"
        android:paddingRight="15dp"
        android:orientation="vertical">

        <LinearLayout
            android:id="@+id/ll_wechat"
            android:layout_width="match_parent"
            android:layout_height="55dp"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/pay_wechat_for_pay" />

            <TextView
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:layout_weight="1"
                android:text="微信支付"
                android:textColor="@color/platform_color_242424"
                android:textSize="15sp" />

            <ImageView
                android:id="@+id/iv_wechat"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/pay_img_select" />
        </LinearLayout>

        <ImageView
            android:layout_width="match_parent"
            android:layout_height="@dimen/divide_line_stroke_width"
            android:background="#EDEDED" />

        <LinearLayout
            android:id="@+id/ll_alipay"
            android:layout_width="match_parent"
            android:layout_height="55dp"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/pay_zhifubao_for_pay" />

            <TextView

                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:layout_weight="1"
                android:text="支付宝支付"
                android:textColor="@color/platform_color_242424"
                android:textSize="15sp" />

            <ImageView
                android:id="@+id/iv_alipay"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/pay_img_no_select" />

        </LinearLayout>

    </LinearLayout>
    
    <TextView
        android:id="@+id/text_pay"
        android:layout_width="match_parent"
        android:layout_height="55dp"
        android:text="确认付款"
        android:gravity="center"
        android:textColor="@color/white"
        android:textSize="17dp"
        android:background="#FF3D9EFF"/>

</LinearLayout>