view_pay_info_detail.xml 11.6 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
严久程 committed
4 5 6
    android:background="@color/pay_color_FFFFFF"
    android:orientation="vertical"
    tools:parentTag="android.widget.LinearLayout">
7 8 9 10 11 12 13 14 15 16 17 18 19


    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="68dp"
        android:paddingLeft="15dp"
        android:paddingRight="15dp">

        <TextView
            android:id="@+id/tv_pay_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
严久程 committed
20
            android:textColor="@color/pay_color_242424"
21 22 23 24 25 26 27 28 29 30
            android:textSize="17dp"
            android:textStyle="bold"
            tools:text="课程服务" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toLeftOf="@+id/tv_price"
            android:text="¥"
严久程 committed
31
            android:textColor="@color/pay_color_242424"
32 33 34 35 36 37 38 39
            android:textSize="12dp" />

        <TextView
            android:id="@+id/tv_price"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
严久程 committed
40
            android:textColor="@color/pay_color_242424"
41 42 43 44 45 46 47
            android:textSize="16dp"
            android:textStyle="bold"
            tools:text="129.00" />


    </RelativeLayout>

严久程 committed
48
    <View style="@style/pay_divide_color_style" />
49 50 51 52 53 54 55 56 57 58 59 60 61 62

    <RelativeLayout
        android:id="@+id/rl_discount"
        android:layout_width="match_parent"
        android:layout_height="54dp"
        android:paddingLeft="15dp"
        android:paddingRight="15dp">

        <TextView
            android:id="@+id/tv_discount_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:text="优惠"
严久程 committed
63
            android:textColor="@color/pay_color_242424"
64 65 66 67 68 69 70 71 72
            android:textSize="15dp" />

        <TextView
            android:id="@+id/tv_flag"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toLeftOf="@+id/tv_discount_money"
            android:text="-¥"
严久程 committed
73
            android:textColor="@color/pay_color_242424"
74 75 76 77 78 79 80 81 82
            android:textSize="12dp" />

        <TextView
            android:id="@+id/tv_discount_money"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginRight="6dp"
            android:layout_toLeftOf="@+id/tv_more"
严久程 committed
83
            android:textColor="@color/pay_color_242424"
84 85 86 87 88 89 90 91 92 93 94
            android:textSize="16dp"
            android:textStyle="bold"
            tools:text="129.00" />

        <TextView
            android:id="@+id/tv_no_choose"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginRight="6dp"
            android:layout_toLeftOf="@+id/tv_more"
严久程 committed
95
            android:textColor="@color/pay_color_242424"
96 97 98 99 100 101 102 103 104 105 106
            android:textSize="14dp"
            android:visibility="gone"
            tools:text="129.00" />


        <ImageView
            android:id="@+id/tv_more"
            android:layout_width="5dp"
            android:layout_height="10dp"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
严久程 committed
107
            android:src="@drawable/pay_ico_zf_more" />
108 109 110

    </RelativeLayout>

严久程 committed
111
    <View style="@style/pay_divide_color_style" />
112 113 114 115 116 117 118 119 120 121 122 123 124

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="54dp"
        android:paddingLeft="15dp"
        android:paddingRight="15dp">

        <TextView
            android:id="@+id/tv_change_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:text="使用余额"
严久程 committed
125
            android:textColor="@color/pay_color_242424"
126 127 128 129 130 131 132 133 134
            android:textSize="15dp" />

        <TextView
            android:id="@+id/tv_change_useful"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="8dp"
            android:layout_toRightOf="@+id/tv_change_title"
严久程 committed
135
            android:textColor="@color/pay_color_666666"
136 137 138 139 140 141 142 143 144
            android:textSize="13dp"
            tools:text="[可用¥9.00]" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toLeftOf="@+id/tv_change_money"
            android:text="-¥"
严久程 committed
145
            android:textColor="@color/pay_color_242424"
146 147 148 149 150 151 152 153
            android:textSize="12dp" />

        <TextView
            android:id="@+id/tv_change_money"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
严久程 committed
154
            android:drawableRight="@drawable/pay_img_select"
155
            android:drawablePadding="6dp"
严久程 committed
156
            android:textColor="@color/pay_color_242424"
157 158 159 160 161 162
            android:textSize="16dp"
            android:textStyle="bold"
            tools:text="129.00" />

    </RelativeLayout>

严久程 committed
163
    <View style="@style/pay_divide_color_style" />
164 165 166 167 168 169 170 171 172 173 174 175

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="54dp"
        android:paddingLeft="15dp"
        android:paddingRight="15dp">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:text="还需支付"
严久程 committed
176
            android:textColor="@color/pay_color_242424"
177 178 179 180 181 182 183 184
            android:textSize="15dp" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toLeftOf="@+id/tv_pay_money"
            android:text="¥"
严久程 committed
185
            android:textColor="@color/pay_color_FF5A4C"
186 187 188 189 190 191 192 193 194
            android:textSize="12dp" />

        <TextView
            android:id="@+id/tv_pay_money"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:drawablePadding="6dp"
严久程 committed
195
            android:textColor="@color/pay_color_FF5A4C"
196 197 198 199 200 201
            android:textSize="20dp"
            android:textStyle="bold"
            tools:text="129.00" />

    </RelativeLayout>

严久程 committed
202 203
    <RelativeLayout
        android:id="@+id/rl_third_pay"
204
        android:layout_width="match_parent"
严久程 committed
205
        android:layout_height="wrap_content">
206 207


严久程 committed
208 209
        <LinearLayout
            android:id="@+id/ll_third_pay"
210
            android:layout_width="match_parent"
严久程 committed
211 212
            android:layout_height="wrap_content"
            android:orientation="vertical">
213 214

            <TextView
严久程 committed
215 216 217 218 219 220 221 222 223 224 225 226 227
                android:layout_width="match_parent"
                android:layout_height="30dp"
                android:background="@color/pay_color_F7F7F7"
                android:gravity="bottom"
                android:paddingLeft="15dp"
                android:paddingBottom="4dp"
                android:text="选择支付方式"
                android:textSize="12dp" />

            <RelativeLayout
                android:id="@+id/rl_weixin_pay"
                android:layout_width="match_parent"
                android:layout_height="54dp"
228
                android:gravity="center_vertical"
严久程 committed
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
                android:paddingLeft="15dp"
                android:paddingRight="15dp">


                <ImageView
                    android:id="@+id/img_weixin"
                    android:layout_width="20dp"
                    android:layout_height="20dp"
                    android:layout_centerVertical="true"
                    android:src="@drawable/pay_wechat_for_pay" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="5dp"
                    android:layout_toRightOf="@+id/img_weixin"
                    android:gravity="center_vertical"
                    android:text="微信支付"
                    android:textColor="@color/pay_color_242424"
                    android:textSize="15dp"
                    android:textStyle="bold" />


                <ImageView
                    android:id="@+id/img_weixin_way"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentRight="true"
                    android:layout_centerVertical="true"
                    android:src="@drawable/pay_img_select" />


            </RelativeLayout>

            <View style="@style/pay_divide_color_style" />

            <RelativeLayout
                android:id="@+id/rl_ali_pay"
                android:layout_width="match_parent"
                android:layout_height="54dp"
270
                android:gravity="center_vertical"
严久程 committed
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305
                android:paddingLeft="15dp"
                android:paddingRight="15dp">


                <ImageView
                    android:id="@+id/img_ali"
                    android:layout_width="20dp"
                    android:layout_height="20dp"
                    android:layout_centerVertical="true"
                    android:src="@drawable/pay_zhifubao_for_pay" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="5dp"
                    android:layout_toRightOf="@+id/img_ali"
                    android:gravity="center_vertical"
                    android:text="支付宝支付"
                    android:textColor="@color/pay_color_242424"
                    android:textSize="15dp"
                    android:textStyle="bold" />


                <ImageView
                    android:id="@+id/img_ali_way"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentRight="true"
                    android:layout_centerVertical="true"
                    android:src="@drawable/pay_img_no_select" />

            </RelativeLayout>

        </LinearLayout>
306

严久程 committed
307
    </RelativeLayout>
308 309 310 311 312 313

    <View
        android:id="@+id/view_empty"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1"
严久程 committed
314
        android:background="@color/pay_color_F7F7F7"
315 316 317 318 319 320
        android:visibility="gone" />

    <TextView
        android:id="@+id/tv_ensure_pay"
        android:layout_width="match_parent"
        android:layout_height="55dp"
严久程 committed
321
        android:background="@color/pay_color_3D9EFF"
322 323
        android:gravity="center"
        android:text="确认付款"
严久程 committed
324
        android:textColor="@color/pay_color_FFFFFF"
325 326 327
        android:textSize="17dp"
        android:textStyle="bold" />
</merge>