upay_topup_dialog.xml
3.46 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
96
97
98
99
100
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/upay_topup_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#000000"
>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="vertical"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:background="@drawable/upay_dialog_m"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<ImageView
android:id="@+id/img_topup_title"
android:layout_width="158dp"
android:layout_height="110dp"
android:layout_marginTop="10dp"
android:src="@drawable/upay_topup_call"
android:layout_gravity="center_horizontal"
/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/card"
android:textSize="16dp"
android:textColor="#000"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="*"
android:textSize="16dp"
android:layout_marginLeft="5dp"
android:textColor="#FF0033"/>
</LinearLayout>
<EditText
android:id="@+id/et_card_number"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/card_hint"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:textSize="16dp"
android:textColor="#000"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginBottom="10dp"
android:layout_gravity="center_horizontal">
<Button
android:id="@+id/butn_ok"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:background="@drawable/upay_ok"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:text="@string/button_ok"
android:layout_weight="1"
android:textColor="#fff"
android:textSize="18dp"
/>
<Button
android:id="@+id/butn_cancel"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:background="@drawable/upay_cancel"
android:layout_gravity="right"
android:layout_marginRight="10dp"
android:layout_weight="1"
android:text="@string/button_cancel"
android:textColor="#fff"
android:layout_marginLeft="10dp"
android:textSize="18dp"
/>
</LinearLayout>
</LinearLayout>
</ScrollView>
</RelativeLayout>