|
1 |
| -<androidx.coordinatorlayout.widget.CoordinatorLayout |
2 |
| -xmlns:android="http://schemas.android.com/apk/res/android" |
3 |
| -xmlns:app="http://schemas.android.com/apk/res-auto" |
4 |
| -xmlns:tools="http://schemas.android.com/tools" |
5 |
| -android:descendantFocusability="beforeDescendants" |
6 |
| -android:focusableInTouchMode="true" |
7 |
| -android:layout_width="match_parent" |
8 |
| -android:orientation="vertical" |
9 |
| -android:layout_height="match_parent" |
10 |
| -tools:context="com.flutterwave.raveandroid.ghmobilemoney.GhMobileMoneyFragment"> |
11 |
| - |
12 |
| -<ScrollView |
| 1 | +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 3 | + xmlns:tools="http://schemas.android.com/tools" |
13 | 4 | android:layout_width="match_parent"
|
14 | 5 | android:layout_height="match_parent"
|
15 |
| - app:layout_constraintTop_toTopOf="parent" |
| 6 | + android:descendantFocusability="beforeDescendants" |
| 7 | + android:focusableInTouchMode="true" |
16 | 8 | android:orientation="vertical"
|
17 |
| - android:fillViewport="true"> |
| 9 | + tools:context="com.flutterwave.raveandroid.ghmobilemoney.GhMobileMoneyFragment"> |
18 | 10 |
|
19 |
| - <LinearLayout |
| 11 | + <ScrollView |
20 | 12 | android:layout_width="match_parent"
|
21 |
| - android:padding="20dp" |
22 |
| - android:layout_height="wrap_content" |
23 |
| - android:paddingTop="10dp" |
24 |
| - android:orientation="vertical"> |
| 13 | + android:layout_height="match_parent" |
| 14 | + android:fillViewport="true" |
| 15 | + android:orientation="vertical" |
| 16 | + app:layout_constraintTop_toTopOf="parent"> |
25 | 17 |
|
26 |
| - <TextView |
27 |
| - android:layout_width="wrap_content" |
28 |
| - android:layout_height="wrap_content" |
29 |
| - android:gravity="left" |
30 |
| - tools:text="@string/vodafone_msg" |
31 |
| - android:id="@+id/instructionsTv" |
32 |
| - android:layout_marginBottom="20dp" |
33 |
| - /> |
34 |
| - |
35 |
| - <Spinner |
36 |
| - android:layout_width="match_parent" |
37 |
| - android:layout_height="50dp" |
38 |
| - android:layout_marginBottom="10dp" |
39 |
| - android:id="@+id/rave_networkSpinner" |
40 |
| - /> |
41 |
| - |
42 |
| - |
43 |
| - <com.google.android.material.textfield.TextInputLayout |
44 |
| - android:background="@android:color/transparent" |
| 18 | + <LinearLayout |
45 | 19 | android:layout_width="match_parent"
|
46 |
| - android:id="@+id/rave_amountTil" |
47 |
| - android:layout_marginBottom="10dp" |
48 |
| - android:layout_height="wrap_content"> |
| 20 | + android:layout_height="wrap_content" |
| 21 | + android:orientation="vertical" |
| 22 | + android:padding="20dp" |
| 23 | + android:paddingTop="10dp"> |
49 | 24 |
|
50 |
| - <com.google.android.material.textfield.TextInputEditText |
51 |
| - android:paddingLeft="2dp" |
| 25 | + <Button |
| 26 | + android:id="@+id/rave_payButton" |
| 27 | + style="?PayButtonStyle" |
52 | 28 | android:layout_width="match_parent"
|
53 | 29 | android:layout_height="wrap_content"
|
54 |
| - android:hint="@string/amount" |
55 |
| - android:id="@+id/rave_amountEt" |
56 |
| - android:inputType="numberDecimal" |
57 |
| - android:layout_below="@+id/rave_card1" |
58 |
| - /> |
59 |
| - |
60 |
| - </com.google.android.material.textfield.TextInputLayout> |
| 30 | + android:layout_marginLeft="10dp" |
| 31 | + android:layout_marginRight="10dp" |
| 32 | + android:layout_marginBottom="15dp" |
| 33 | + android:text="@string/pay" /> |
61 | 34 |
|
62 |
| - <com.google.android.material.textfield.TextInputLayout |
63 |
| - android:background="@android:color/transparent" |
64 |
| - android:id="@+id/rave_phoneTil" |
65 |
| - android:layout_width="match_parent" |
66 |
| - android:layout_marginBottom="10dp" |
67 |
| - android:layout_height="wrap_content"> |
68 |
| - |
69 |
| - <com.google.android.material.textfield.TextInputEditText |
70 |
| - android:paddingLeft="2dp" |
71 |
| - android:id="@+id/rave_phoneEt" |
| 35 | + <Spinner |
| 36 | + android:id="@+id/rave_networkSpinner" |
72 | 37 | android:layout_width="match_parent"
|
73 |
| - android:layout_height="wrap_content" |
74 |
| - android:layout_below="@+id/rave_card1" |
75 |
| - android:hint="Phone no" |
76 |
| - android:inputType="phone" /> |
| 38 | + android:layout_height="50dp" |
| 39 | + android:layout_marginBottom="10dp" /> |
77 | 40 |
|
78 |
| - </com.google.android.material.textfield.TextInputLayout> |
79 | 41 |
|
80 |
| - <com.google.android.material.textfield.TextInputLayout |
81 |
| - android:background="@android:color/transparent" |
82 |
| - android:id="@+id/rave_voucherTil" |
83 |
| - android:layout_width="match_parent" |
84 |
| - android:layout_marginBottom="20dp" |
85 |
| - android:layout_height="wrap_content"> |
| 42 | + <TextView |
| 43 | + android:id="@+id/instructionsTv" |
| 44 | + android:layout_width="wrap_content" |
| 45 | + android:layout_height="wrap_content" |
| 46 | + android:layout_marginBottom="20dp" |
| 47 | + android:gravity="left" |
| 48 | + tools:text="@string/vodafone_msg" /> |
86 | 49 |
|
87 |
| - <com.google.android.material.textfield.TextInputEditText |
88 |
| - android:paddingLeft="2dp" |
89 |
| - android:id="@+id/rave_voucherEt" |
| 50 | + <com.google.android.material.textfield.TextInputLayout |
| 51 | + android:id="@+id/rave_phoneTil" |
90 | 52 | android:layout_width="match_parent"
|
91 | 53 | android:layout_height="wrap_content"
|
92 |
| - android:layout_below="@+id/rave_card1" |
93 |
| - android:hint="Voucher" |
94 |
| - android:inputType="text" /> |
| 54 | + android:layout_marginBottom="10dp" |
| 55 | + app:boxBackgroundColor="@null"> |
| 56 | + |
| 57 | + <com.google.android.material.textfield.TextInputEditText |
| 58 | + android:id="@+id/rave_phoneEt" |
| 59 | + android:layout_width="match_parent" |
| 60 | + android:layout_height="wrap_content" |
| 61 | + android:layout_below="@+id/rave_card1" |
| 62 | + android:hint="Phone no" |
| 63 | + android:inputType="phone" |
| 64 | + android:paddingLeft="2dp" /> |
| 65 | + |
| 66 | + </com.google.android.material.textfield.TextInputLayout> |
| 67 | + |
| 68 | + <com.google.android.material.textfield.TextInputLayout |
| 69 | + android:id="@+id/rave_voucherTil" |
| 70 | + android:layout_width="match_parent" |
| 71 | + android:layout_height="wrap_content" |
| 72 | + android:layout_marginBottom="20dp" |
| 73 | + app:boxBackgroundColor="@null"> |
95 | 74 |
|
96 |
| - </com.google.android.material.textfield.TextInputLayout> |
| 75 | + <com.google.android.material.textfield.TextInputEditText |
| 76 | + android:id="@+id/rave_voucherEt" |
| 77 | + android:layout_width="match_parent" |
| 78 | + android:layout_height="wrap_content" |
| 79 | + android:layout_below="@+id/rave_card1" |
| 80 | + android:hint="Voucher" |
| 81 | + android:inputType="text" |
| 82 | + android:paddingLeft="2dp" /> |
97 | 83 |
|
| 84 | + </com.google.android.material.textfield.TextInputLayout> |
98 | 85 |
|
99 |
| - <Button |
100 |
| - android:layout_width="match_parent" |
101 |
| - android:layout_height="wrap_content" |
102 |
| - android:text="@string/pay" |
103 |
| - style="?PayButtonStyle" |
104 |
| - android:id="@+id/rave_payButton" |
105 |
| - android:layout_marginRight="10dp" |
106 |
| - android:layout_marginBottom="15dp" |
107 |
| - android:layout_marginLeft="10dp" |
108 |
| - /> |
109 |
| - </LinearLayout> |
110 |
| - |
111 |
| -</ScrollView> |
| 86 | + |
| 87 | + <com.google.android.material.textfield.TextInputLayout |
| 88 | + android:id="@+id/rave_amountTil" |
| 89 | + android:layout_width="match_parent" |
| 90 | + android:layout_height="wrap_content" |
| 91 | + android:layout_marginBottom="10dp" |
| 92 | + app:boxBackgroundColor="@null"> |
| 93 | + |
| 94 | + <com.google.android.material.textfield.TextInputEditText |
| 95 | + android:id="@+id/rave_amountEt" |
| 96 | + android:layout_width="match_parent" |
| 97 | + android:layout_height="wrap_content" |
| 98 | + android:layout_below="@+id/rave_card1" |
| 99 | + android:hint="@string/amount" |
| 100 | + android:inputType="numberDecimal" |
| 101 | + android:paddingLeft="2dp" /> |
| 102 | + |
| 103 | + </com.google.android.material.textfield.TextInputLayout> |
| 104 | + </LinearLayout> |
| 105 | + |
| 106 | + </ScrollView> |
112 | 107 |
|
113 | 108 | </androidx.coordinatorlayout.widget.CoordinatorLayout>
|
0 commit comments