fragment_wallet_amount_choice.xml
3.62 KB
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
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/payment_common_bg" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/choice_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/header_tip_bg"
android:gravity="center_vertical"
android:paddingLeft="10dp"
android:text="@string/amount_choice_tip"
android:textColor="@color/black_text" />
<RelativeLayout
android:id="@+id/amount_choice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="13dp"
android:layout_marginRight="13dp"
android:layout_marginTop="16dp"
android:background="@drawable/choice_box_bg" >
<TextView
android:id="@+id/tv_amount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="15dp"
android:textColor="@color/black_text"
android:textSize="18sp"
android:textStyle="italic"
android:text="50d" />
<ImageView
android:id="@+id/arrow_tag"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:scaleType="center"
android:src="@drawable/ic_arrow_down" />
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/arrow_tag"
android:background="@drawable/split_vertical" />
</RelativeLayout>
<Button
android:id="@+id/pay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:layout_marginLeft="13dp"
android:layout_marginRight="13dp"
android:layout_marginTop="23dp"
android:layout_weight="3"
android:background="@drawable/btn_orange_bg"
android:text="@string/pay_ok"
android:textColor="@android:color/white" />
<TextView
android:id="@+id/summary_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="13dp"
android:layout_marginRight="13dp"
android:background="@color/summary_bg"
android:paddingLeft="10dp"
android:textColor="@color/black_text"
android:textSize="12sp" />
<TextView
android:id="@+id/intro"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginLeft="13dp"
android:layout_marginRight="13dp"
android:background="@color/summary_bg"
android:padding="8dp"
android:textColor="@color/black_text" />
</LinearLayout>
</ScrollView>