lmw
2023-05-12 f67802a41f9e01444d1115f34ecc6e1beb05fc3b
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
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
                                             android:layout_width="match_parent"
                                             android:background="@color/white"
                                             android:layout_height="wrap_content"
                                             xmlns:app="http://schemas.android.com/apk/res-auto">
    <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
              android:text="支付费用"
              android:textSize="18sp"
              android:textColor="@color/textColor"
              android:textStyle="bold"
              app:layout_constraintTop_toTopOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    android:layout_marginTop="16dp"
    android:layout_marginStart="14dp"/>
    <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content"
    android:src="@mipmap/icon_close_black"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintTop_toTopOf="parent"
    android:padding="14dp"
    android:layout_marginTop="6dp"
    android:id="@+id/iv_close"/>
    <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintTop_toBottomOf="@id/iv_close"
    android:text="0"
    android:textColor="@color/color_text_price"
    android:textStyle="bold"
    android:textSize="36sp"
    android:id="@+id/tv_money"/>
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="0张可用"
        android:textColor="@color/textColor66"
        android:gravity="end"
        android:textStyle="normal"
        app:layout_constraintTop_toBottomOf="@id/tv_money"
        android:drawableEnd="@mipmap/icon_more_black"
        android:layout_marginStart="14dp"
        android:layout_marginEnd="14dp"
        android:id="@+id/tv_coupon"
        style="@style/style_text_dialog_pay"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        style="@style/style_text_dialog_pay"
        app:layout_constraintBaseline_toBaselineOf="@id/tv_coupon"
        app:layout_constraintStart_toStartOf="@id/tv_coupon"
        android:id="@+id/tv_coupon_title"
        android:text="优惠券"/>
    <View
        style="@style/style_form_divider_line"
        android:layout_marginStart="14dp"
        android:layout_marginEnd="14dp"
        app:layout_constraintTop_toBottomOf="@id/tv_coupon"
        android:id="@+id/view_coupon"/>
    <androidx.constraintlayout.widget.Group
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/group_coupon"
        android:visibility="gone"
        app:constraint_referenced_ids="tv_coupon,tv_coupon_title,view_coupon"/>
    <RadioGroup
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:id="@+id/rg_pay"
        android:layout_marginStart="14dp"
        android:layout_marginEnd="14dp"
        android:layout_marginTop="1px"
        app:layout_constraintTop_toBottomOf="@id/tv_coupon">
        <RadioButton
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            style="@style/style_text_dialog_pay"
            android:id="@+id/rb_ali"
            android:checked="true"
            android:drawableEnd="@drawable/selector_radio"
            android:text="支付宝"/>
 
        <View style="@style/style_form_divider_line"/>
 
        <RadioButton
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            style="@style/style_text_dialog_pay"
            android:drawableEnd="@drawable/selector_radio"
            android:text="微信支付"
            android:id="@+id/rb_wx"/>
        <View style="@style/style_form_divider_line"/>
        <RadioButton
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            style="@style/style_text_dialog_pay"
            android:id="@+id/rb_balance"
            android:drawableEnd="@drawable/selector_radio"
            android:text="充值余额"/>
 
        <View style="@style/style_form_divider_line"/>
        <RadioButton
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            style="@style/style_text_dialog_pay"
            android:id="@+id/rb_offline"
            android:visibility="gone"
            android:drawableEnd="@drawable/selector_radio"
            android:text="线下支付"/>
        <View style="@style/style_form_divider_line"/>
    </RadioGroup>
    <TextView android:layout_width="match_parent" android:layout_height="wrap_content"
    style="@style/style_tv_action"
    android:id="@+id/tv_action"
    android:text="立即支付"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    android:layout_marginTop="26dp"
        android:layout_marginStart="50dp"
        android:layout_marginEnd="50dp"
    app:layout_constraintTop_toBottomOf="@id/rg_pay"
        app:layout_constraintBottom_toBottomOf="parent"
    android:layout_marginBottom="14dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>