Skip to content

Commit 4966f4b

Browse files
committed
fixed material components TextInputLayout's background issue
1 parent 05de28c commit 4966f4b

16 files changed

+78
-1
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
44
android:layout_width="match_parent"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
android:scrollbars="vertical"
67
android:fillViewport="true"
78
android:layout_height="match_parent">
@@ -33,6 +34,7 @@
3334
android:text="@string/enter_your_billing_address_details"/>
3435

3536
<android.support.design.widget.TextInputLayout
37+
android:background="@null"
3638
android:layout_width="match_parent"
3739
android:id="@+id/rave_billAddressTil"
3840
android:layout_marginBottom="5dp"
@@ -54,6 +56,7 @@
5456
</android.support.design.widget.TextInputLayout>
5557

5658
<android.support.design.widget.TextInputLayout
59+
android:background="@null"
5760
android:layout_width="match_parent"
5861
android:id="@+id/rave_billCityTil"
5962
android:layout_marginBottom="5dp"
@@ -62,6 +65,7 @@
6265
android:layout_height="wrap_content">
6366

6467
<android.support.design.widget.TextInputEditText
68+
android:paddingLeft="2dp"
6569
android:layout_width="match_parent"
6670
android:layout_height="wrap_content"
6771
android:maxLines="1"
@@ -75,6 +79,7 @@
7579
</android.support.design.widget.TextInputLayout>
7680

7781
<android.support.design.widget.TextInputLayout
82+
android:background="@null"
7883
android:layout_width="match_parent"
7984
android:id="@+id/rave_billStateTil"
8085
android:layout_marginBottom="5dp"
@@ -83,6 +88,7 @@
8388
android:layout_height="wrap_content">
8489

8590
<android.support.design.widget.TextInputEditText
91+
android:paddingLeft="2dp"
8692
android:layout_width="match_parent"
8793
android:layout_height="wrap_content"
8894
android:maxLines="1"
@@ -96,6 +102,7 @@
96102
</android.support.design.widget.TextInputLayout>
97103

98104
<android.support.design.widget.TextInputLayout
105+
android:background="@null"
99106
android:layout_width="match_parent"
100107
android:id="@+id/rave_zipTil"
101108
android:layout_marginBottom="5dp"
@@ -104,6 +111,7 @@
104111
android:layout_height="wrap_content">
105112

106113
<android.support.design.widget.TextInputEditText
114+
android:paddingLeft="2dp"
107115
android:layout_width="match_parent"
108116
android:imeOptions="actionNext"
109117
android:layout_height="wrap_content"
@@ -117,6 +125,7 @@
117125
</android.support.design.widget.TextInputLayout>
118126

119127
<android.support.design.widget.TextInputLayout
128+
android:background="@null"
120129
android:layout_width="match_parent"
121130
android:id="@+id/rave_countryTil"
122131
android:layout_marginBottom="10dp"
@@ -125,6 +134,7 @@
125134
android:layout_height="wrap_content">
126135

127136
<android.support.design.widget.TextInputEditText
137+
android:paddingLeft="2dp"
128138
android:layout_width="match_parent"
129139
android:layout_height="wrap_content"
130140
android:hint="Country e.g. US"

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

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

2323
<android.support.design.widget.TextInputLayout
24+
android:background="@null"
2425
android:id="@+id/rave_amountTil"
2526
android:layout_width="match_parent"
2627
android:layout_height="wrap_content"
2728
android:layout_marginLeft="20dp"
2829
android:layout_marginRight="20dp">
2930

3031
<android.support.design.widget.TextInputEditText
32+
android:paddingLeft="2dp"
3133
android:id="@+id/rave_amountEt"
3234
android:layout_width="match_parent"
3335
android:layout_height="wrap_content"
@@ -38,13 +40,15 @@
3840
</android.support.design.widget.TextInputLayout>
3941

4042
<android.support.design.widget.TextInputLayout
43+
android:background="@null"
4144
android:id="@+id/rave_emailTil"
4245
android:layout_width="match_parent"
4346
android:layout_height="wrap_content"
4447
android:layout_marginLeft="20dp"
4548
android:layout_marginRight="20dp">
4649

4750
<android.support.design.widget.TextInputEditText
51+
android:paddingLeft="2dp"
4852
android:id="@+id/rave_emailEt"
4953
android:layout_width="match_parent"
5054
android:layout_height="wrap_content"
@@ -55,13 +59,15 @@
5559
</android.support.design.widget.TextInputLayout>
5660

5761
<android.support.design.widget.TextInputLayout
62+
android:background="@null"
5863
android:id="@+id/rave_phoneTil"
5964
android:layout_width="match_parent"
6065
android:layout_height="wrap_content"
6166
android:layout_marginLeft="20dp"
6267
android:layout_marginRight="20dp">
6368

6469
<android.support.design.widget.TextInputEditText
70+
android:paddingLeft="2dp"
6571
android:id="@+id/rave_phoneEt"
6672
android:layout_width="match_parent"
6773
android:layout_height="wrap_content"
@@ -72,13 +78,15 @@
7278
</android.support.design.widget.TextInputLayout>
7379

7480
<android.support.design.widget.TextInputLayout
81+
android:background="@null"
7582
android:id="@+id/rave_accountNumberTil"
7683
android:layout_width="match_parent"
7784
android:layout_height="wrap_content"
7885
android:layout_marginLeft="20dp"
7986
android:layout_marginRight="20dp">
8087

8188
<android.support.design.widget.TextInputEditText
89+
android:paddingLeft="2dp"
8290
android:id="@+id/rave_accountNumberEt"
8391
android:layout_width="match_parent"
8492
android:layout_height="wrap_content"
@@ -91,6 +99,7 @@
9199
</android.support.design.widget.TextInputLayout>
92100

93101
<android.support.design.widget.TextInputLayout
102+
android:background="@null"
94103
android:id="@+id/rave_bvnTil"
95104
android:layout_width="match_parent"
96105
android:layout_height="wrap_content"
@@ -99,6 +108,7 @@
99108
android:layout_marginRight="20dp">
100109

101110
<android.support.design.widget.TextInputEditText
111+
android:paddingLeft="2dp"
102112
android:id="@+id/rave_bvnEt"
103113
android:layout_width="match_parent"
104114
android:layout_height="wrap_content"

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
4+
xmlns:app="http://schemas.android.com/apk/res-auto"
45
android:orientation="vertical"
56
android:layout_width="match_parent"
67
android:layout_height="match_parent"
@@ -21,12 +22,14 @@
2122

2223

2324
<android.support.design.widget.TextInputLayout
25+
android:background="@null"
2426
android:layout_width="match_parent"
2527
android:id="@+id/rave_amountTil"
2628
android:visibility="gone"
2729
android:layout_height="wrap_content">
2830

2931
<android.support.design.widget.TextInputEditText
32+
android:paddingLeft="2dp"
3033
android:layout_width="match_parent"
3134
android:layout_height="wrap_content"
3235
android:hint="@string/amount"

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
6+
xmlns:app="http://schemas.android.com/apk/res-auto"
67
tools:context=".barter.BarterFragment">
78

89
<ScrollView
@@ -19,6 +20,7 @@
1920
android:paddingTop="10dp">
2021

2122
<android.support.design.widget.TextInputLayout
23+
android:background="@null"
2224
android:id="@+id/rave_amountTil"
2325
android:layout_width="match_parent"
2426
android:layout_height="wrap_content">

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
22
xmlns:tools="http://schemas.android.com/tools"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
android:descendantFocusability="beforeDescendants"
45
android:focusableInTouchMode="true"
56
android:layout_width="match_parent"
@@ -22,11 +23,13 @@
2223

2324

2425
<android.support.design.widget.TextInputLayout
26+
android:background="@null"
2527
android:layout_width="match_parent"
2628
android:id="@+id/rave_amountTil"
2729
android:layout_height="wrap_content">
2830

2931
<android.support.design.widget.TextInputEditText
32+
android:paddingLeft="2dp"
3033
android:layout_width="match_parent"
3134
android:layout_height="wrap_content"
3235
android:hint="@string/amount"
@@ -39,11 +42,13 @@
3942
</android.support.design.widget.TextInputLayout>
4043

4144
<android.support.design.widget.TextInputLayout
45+
android:background="@null"
4246
android:layout_width="match_parent"
4347
android:id="@+id/rave_emailTil"
4448
android:layout_height="wrap_content">
4549

4650
<android.support.design.widget.TextInputEditText
51+
android:paddingLeft="2dp"
4752
android:layout_width="match_parent"
4853
android:layout_height="wrap_content"
4954
android:hint="@string/email"
@@ -62,6 +67,7 @@
6267
android:orientation="vertical">
6368

6469
<android.support.design.widget.TextInputLayout
70+
android:background="@null"
6571
android:id="@+id/rave_cardNoTil"
6672
android:layout_width="match_parent"
6773
android:layout_height="wrap_content"
@@ -85,6 +91,7 @@
8591
android:orientation="horizontal">
8692

8793
<android.support.design.widget.TextInputLayout
94+
android:background="@null"
8895
android:id="@+id/rave_cardExpiryTil"
8996
android:layout_width="0dip"
9097
android:layout_height="match_parent"
@@ -93,6 +100,7 @@
93100
android:layout_weight="1">
94101

95102
<android.support.design.widget.TextInputEditText
103+
android:paddingLeft="2dp"
96104
android:id="@+id/rave_cardExpiryTv"
97105
android:layout_width="match_parent"
98106
android:layout_height="wrap_content"
@@ -107,6 +115,7 @@
107115
</android.support.design.widget.TextInputLayout>
108116

109117
<android.support.design.widget.TextInputLayout
118+
android:background="@null"
110119
android:id="@+id/rave_cvvTil"
111120
android:layout_width="0dip"
112121
android:layout_height="match_parent"
@@ -115,6 +124,7 @@
115124
android:layout_weight="1">
116125

117126
<android.support.design.widget.TextInputEditText
127+
android:paddingLeft="2dp"
118128
android:id="@+id/rave_cvvTv"
119129
android:layout_width="match_parent"
120130
android:layout_height="wrap_content"
@@ -148,12 +158,14 @@
148158
android:visibility="gone">
149159

150160
<android.support.design.widget.TextInputLayout
161+
android:background="@null"
151162
android:id="@+id/save_card_phoneNoTil"
152163
android:layout_width="match_parent"
153164
android:layout_height="wrap_content"
154165
android:layout_marginBottom="10dp">
155166

156167
<android.support.design.widget.TextInputEditText
168+
android:paddingLeft="2dp"
157169
android:id="@+id/save_card_phoneNoTV"
158170
android:layout_width="match_parent"
159171
android:layout_height="wrap_content"
@@ -164,12 +176,14 @@
164176
</android.support.design.widget.TextInputLayout>
165177

166178
<android.support.design.widget.TextInputLayout
179+
android:background="@null"
167180
android:id="@+id/save_card_emailTil"
168181
android:layout_width="match_parent"
169182
android:layout_height="wrap_content"
170183
android:layout_marginBottom="10dp">
171184

172185
<android.support.design.widget.TextInputEditText
186+
android:paddingLeft="2dp"
173187
android:id="@+id/save_card_emailTv"
174188
android:layout_width="match_parent"
175189
android:layout_height="wrap_content"

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

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

2525
<android.support.design.widget.TextInputLayout
26+
android:background="@null"
2627
android:id="@+id/rave_phoneTil"
2728
android:layout_width="match_parent"
2829
android:layout_height="wrap_content"
2930
android:layout_marginBottom="20dp">
3031

3132
<android.support.design.widget.TextInputEditText
33+
android:paddingLeft="2dp"
3234
android:id="@+id/rave_phoneEt"
3335
android:layout_width="match_parent"
3436
android:layout_height="wrap_content"
@@ -40,11 +42,13 @@
4042

4143

4244
<android.support.design.widget.TextInputLayout
45+
android:background="@null"
4346
android:id="@+id/rave_amountTil"
4447
android:layout_width="match_parent"
4548
android:layout_height="wrap_content">
4649

4750
<android.support.design.widget.TextInputEditText
51+
android:paddingLeft="2dp"
4852
android:id="@+id/rave_amountEt"
4953
android:layout_width="match_parent"
5054
android:layout_height="wrap_content"

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ tools:context="com.flutterwave.raveandroid.ghmobilemoney.GhMobileMoneyFragment">
4141

4242

4343
<android.support.design.widget.TextInputLayout
44+
android:background="@null"
4445
android:layout_width="match_parent"
4546
android:id="@+id/rave_amountTil"
4647
android:layout_marginBottom="10dp"
4748
android:layout_height="wrap_content">
4849

4950
<android.support.design.widget.TextInputEditText
51+
android:paddingLeft="2dp"
5052
android:layout_width="match_parent"
5153
android:layout_height="wrap_content"
5254
android:hint="@string/amount"
@@ -58,12 +60,14 @@ tools:context="com.flutterwave.raveandroid.ghmobilemoney.GhMobileMoneyFragment">
5860
</android.support.design.widget.TextInputLayout>
5961

6062
<android.support.design.widget.TextInputLayout
63+
android:background="@null"
6164
android:id="@+id/rave_phoneTil"
6265
android:layout_width="match_parent"
6366
android:layout_marginBottom="10dp"
6467
android:layout_height="wrap_content">
6568

6669
<android.support.design.widget.TextInputEditText
70+
android:paddingLeft="2dp"
6771
android:id="@+id/rave_phoneEt"
6872
android:layout_width="match_parent"
6973
android:layout_height="wrap_content"
@@ -74,12 +78,14 @@ tools:context="com.flutterwave.raveandroid.ghmobilemoney.GhMobileMoneyFragment">
7478
</android.support.design.widget.TextInputLayout>
7579

7680
<android.support.design.widget.TextInputLayout
81+
android:background="@null"
7782
android:id="@+id/rave_voucherTil"
7883
android:layout_width="match_parent"
7984
android:layout_marginBottom="20dp"
8085
android:layout_height="wrap_content">
8186

8287
<android.support.design.widget.TextInputEditText
88+
android:paddingLeft="2dp"
8389
android:id="@+id/rave_voucherEt"
8490
android:layout_width="match_parent"
8591
android:layout_height="wrap_content"

0 commit comments

Comments
 (0)