hch
2025-07-02 aaa822b7f20f04d9ae00fff5efa6c2ec7e2cd83c
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="@drawable/sdp_dialog_base_bg"
    android:layout_width="@dimen/sdp_pay_dialog_width"
    android:layout_height="@dimen/sdp_pay_dialog_height">
 
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        >
        <!-- 标题 -->
        <TextView
            android:text="支付"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:layout_centerInParent="true"
            android:paddingTop="5dp"
            android:paddingBottom="5dp"
            android:textSize="@dimen/sdp_dialog_title_text_size"
            android:textStyle="bold"
            android:textColor="@color/sdp_normal_text_color"/>
 
        <ImageButton
            android:id="@+id/closeButton"
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:layout_centerVertical="true"
            android:layout_alignParentRight="true"
            android:background="@android:color/transparent"
            android:scaleType="center"
            android:scaleX="1.5"
            android:scaleY="1.5"
            android:src="@drawable/close_hover" />
    </RelativeLayout>
 
    <ImageView
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:background="@color/sdp_dialog_seperator_line_color"/>
 
    <TextView
        android:id="@+id/prodNameTextView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="10dp"
        android:textSize="16sp"
        android:text="商品名称"
        android:gravity="center_horizontal"
       />
 
    <TextView
        android:id="@+id/prodAmountTextView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="10dp"
        android:gravity="center_vertical|center_horizontal"
        android:textSize="22sp"
        android:textStyle="bold"
        android:text="¥100.00"
        />
 
    <Button
        android:text="+ 添加银行卡"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:id="@+id/addCardButton"
        android:layout_marginLeft="20dp"
        android:layout_marginRight="20dp"
        android:layout_marginTop="30dp"
        android:textColor="#FFFFFF"
        android:textSize="18sp"
        android:background="@drawable/sdp_button_sel" />
 
    <TextView
        android:text="当前无可用银行卡"
        android:paddingTop="10dp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical|center_horizontal"
        android:textColor="#B0B0B0"
        android:layout_marginTop="10dp"
        android:id="@+id/textView4" />
</LinearLayout>