Skip to content

Commit 2dc179a

Browse files
committed
changed android:background="@android:color/transparent" to app:boxBackgroundColor="@null"
1 parent 340dbcf commit 2dc179a

16 files changed

+144
-149
lines changed

raveandroid/src/main/res/layout/rave_sdk_avsvbv_layout.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
android:text="@string/enter_your_billing_address_details"/>
3535

3636
<com.google.android.material.textfield.TextInputLayout
37-
android:background="@android:color/transparent"
37+
app:boxBackgroundColor="@null"
3838
android:layout_width="match_parent"
3939
android:id="@+id/rave_billAddressTil"
4040
android:layout_marginBottom="5dp"
@@ -56,7 +56,7 @@
5656
</com.google.android.material.textfield.TextInputLayout>
5757

5858
<com.google.android.material.textfield.TextInputLayout
59-
android:background="@android:color/transparent"
59+
app:boxBackgroundColor="@null"
6060
android:layout_width="match_parent"
6161
android:id="@+id/rave_billCityTil"
6262
android:layout_marginBottom="5dp"
@@ -79,7 +79,7 @@
7979
</com.google.android.material.textfield.TextInputLayout>
8080

8181
<com.google.android.material.textfield.TextInputLayout
82-
android:background="@android:color/transparent"
82+
app:boxBackgroundColor="@null"
8383
android:layout_width="match_parent"
8484
android:id="@+id/rave_billStateTil"
8585
android:layout_marginBottom="5dp"
@@ -102,7 +102,7 @@
102102
</com.google.android.material.textfield.TextInputLayout>
103103

104104
<com.google.android.material.textfield.TextInputLayout
105-
android:background="@android:color/transparent"
105+
app:boxBackgroundColor="@null"
106106
android:layout_width="match_parent"
107107
android:id="@+id/rave_zipTil"
108108
android:layout_marginBottom="5dp"
@@ -125,7 +125,7 @@
125125
</com.google.android.material.textfield.TextInputLayout>
126126

127127
<com.google.android.material.textfield.TextInputLayout
128-
android:background="@android:color/transparent"
128+
app:boxBackgroundColor="@null"
129129
android:layout_width="match_parent"
130130
android:id="@+id/rave_countryTil"
131131
android:layout_marginBottom="10dp"

raveandroid/src/main/res/layout/rave_sdk_fragment_account.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
android:paddingTop="20dp">
2222

2323
<com.google.android.material.textfield.TextInputLayout
24-
android:background="@android:color/transparent"
24+
app:boxBackgroundColor="@null"
2525
android:id="@+id/rave_amountTil"
2626
android:layout_width="match_parent"
2727
android:layout_height="wrap_content"
@@ -40,7 +40,7 @@
4040
</com.google.android.material.textfield.TextInputLayout>
4141

4242
<com.google.android.material.textfield.TextInputLayout
43-
android:background="@android:color/transparent"
43+
app:boxBackgroundColor="@null"
4444
android:id="@+id/rave_emailTil"
4545
android:layout_width="match_parent"
4646
android:layout_height="wrap_content"
@@ -59,7 +59,7 @@
5959
</com.google.android.material.textfield.TextInputLayout>
6060

6161
<com.google.android.material.textfield.TextInputLayout
62-
android:background="@android:color/transparent"
62+
app:boxBackgroundColor="@null"
6363
android:id="@+id/rave_phoneTil"
6464
android:layout_width="match_parent"
6565
android:layout_height="wrap_content"
@@ -78,7 +78,7 @@
7878
</com.google.android.material.textfield.TextInputLayout>
7979

8080
<com.google.android.material.textfield.TextInputLayout
81-
android:background="@android:color/transparent"
81+
app:boxBackgroundColor="@null"
8282
android:id="@+id/rave_accountNumberTil"
8383
android:layout_width="match_parent"
8484
android:layout_height="wrap_content"
@@ -99,7 +99,7 @@
9999
</com.google.android.material.textfield.TextInputLayout>
100100

101101
<com.google.android.material.textfield.TextInputLayout
102-
android:background="@android:color/transparent"
102+
app:boxBackgroundColor="@null"
103103
android:id="@+id/rave_bvnTil"
104104
android:layout_width="match_parent"
105105
android:layout_height="wrap_content"

raveandroid/src/main/res/layout/rave_sdk_fragment_ach.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
<com.google.android.material.textfield.TextInputLayout
25-
android:background="@android:color/transparent"
25+
app:boxBackgroundColor="@null"
2626
android:layout_width="match_parent"
2727
android:id="@+id/rave_amountTil"
2828
android:visibility="gone"

raveandroid/src/main/res/layout/rave_sdk_fragment_barter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
android:paddingTop="10dp">
2121

2222
<com.google.android.material.textfield.TextInputLayout
23-
android:background="@android:color/transparent"
23+
app:boxBackgroundColor="@null"
2424
android:id="@+id/rave_amountTil"
2525
android:layout_width="match_parent"
2626
android:layout_height="wrap_content">

raveandroid/src/main/res/layout/rave_sdk_fragment_card.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
<com.google.android.material.textfield.TextInputLayout
26-
android:background="@android:color/transparent"
26+
app:boxBackgroundColor="@null"
2727
android:layout_width="match_parent"
2828
android:id="@+id/rave_amountTil"
2929
android:layout_height="wrap_content">
@@ -42,7 +42,7 @@
4242
</com.google.android.material.textfield.TextInputLayout>
4343

4444
<com.google.android.material.textfield.TextInputLayout
45-
android:background="@android:color/transparent"
45+
app:boxBackgroundColor="@null"
4646
android:layout_width="match_parent"
4747
android:id="@+id/rave_emailTil"
4848
android:layout_height="wrap_content">
@@ -67,7 +67,7 @@
6767
android:orientation="vertical">
6868

6969
<com.google.android.material.textfield.TextInputLayout
70-
android:background="@android:color/transparent"
70+
app:boxBackgroundColor="@null"
7171
android:id="@+id/rave_cardNoTil"
7272
android:layout_width="match_parent"
7373
android:layout_height="wrap_content"
@@ -91,7 +91,7 @@
9191
android:orientation="horizontal">
9292

9393
<com.google.android.material.textfield.TextInputLayout
94-
android:background="@android:color/transparent"
94+
app:boxBackgroundColor="@null"
9595
android:id="@+id/rave_cardExpiryTil"
9696
android:layout_width="0dip"
9797
android:layout_height="match_parent"
@@ -115,7 +115,7 @@
115115
</com.google.android.material.textfield.TextInputLayout>
116116

117117
<com.google.android.material.textfield.TextInputLayout
118-
android:background="@android:color/transparent"
118+
app:boxBackgroundColor="@null"
119119
android:id="@+id/rave_cvvTil"
120120
android:layout_width="0dip"
121121
android:layout_height="match_parent"
@@ -158,7 +158,7 @@
158158
android:visibility="gone">
159159

160160
<com.google.android.material.textfield.TextInputLayout
161-
android:background="@android:color/transparent"
161+
app:boxBackgroundColor="@null"
162162
android:id="@+id/save_card_phoneNoTil"
163163
android:layout_width="match_parent"
164164
android:layout_height="wrap_content"
@@ -176,7 +176,7 @@
176176
</com.google.android.material.textfield.TextInputLayout>
177177

178178
<com.google.android.material.textfield.TextInputLayout
179-
android:background="@android:color/transparent"
179+
app:boxBackgroundColor="@null"
180180
android:id="@+id/save_card_emailTil"
181181
android:layout_width="match_parent"
182182
android:layout_height="wrap_content"

raveandroid/src/main/res/layout/rave_sdk_fragment_francophone.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
android:paddingTop="10dp">
2424

2525
<com.google.android.material.textfield.TextInputLayout
26-
android:background="@android:color/transparent"
26+
app:boxBackgroundColor="@null"
2727
android:id="@+id/rave_phoneTil"
2828
android:layout_width="match_parent"
2929
android:layout_height="wrap_content"
@@ -42,7 +42,7 @@
4242

4343

4444
<com.google.android.material.textfield.TextInputLayout
45-
android:background="@android:color/transparent"
45+
app:boxBackgroundColor="@null"
4646
android:id="@+id/rave_amountTil"
4747
android:layout_width="match_parent"
4848
android:layout_height="wrap_content">
Lines changed: 86 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,108 @@
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"
134
android:layout_width="match_parent"
145
android:layout_height="match_parent"
15-
app:layout_constraintTop_toTopOf="parent"
6+
android:descendantFocusability="beforeDescendants"
7+
android:focusableInTouchMode="true"
168
android:orientation="vertical"
17-
android:fillViewport="true">
9+
tools:context="com.flutterwave.raveandroid.ghmobilemoney.GhMobileMoneyFragment">
1810

19-
<LinearLayout
11+
<ScrollView
2012
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">
2517

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
4519
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">
4924

50-
<com.google.android.material.textfield.TextInputEditText
51-
android:paddingLeft="2dp"
25+
<Button
26+
android:id="@+id/rave_payButton"
27+
style="?PayButtonStyle"
5228
android:layout_width="match_parent"
5329
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" />
6134

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"
7237
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" />
7740

78-
</com.google.android.material.textfield.TextInputLayout>
7941

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" />
8649

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"
9052
android:layout_width="match_parent"
9153
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">
9574

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" />
9783

84+
</com.google.android.material.textfield.TextInputLayout>
9885

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>
112107

113108
</androidx.coordinatorlayout.widget.CoordinatorLayout>

0 commit comments

Comments
 (0)