You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Version 16.4.19 is deprecated use latest version v4.0.19`
15
+
16
+
`Latest version of this library is migrated to androidx`
17
+
18
+
## Hire-Me
19
+
20
+
<palign="center">Are you having trouble in your android projects then let me help you with it just Email me. I love my users, so feel free to visit http://asm.life
Add `com.kinda.mtextfield.TextFieldBoxes` that contains a `com.kinda.mtextfield.ExtendedEditText` to your layout:
64
+
Add `com.developer.mtextfield.TextFieldBoxes` that contains a `com.developer.mtextfield.ExtendedEditText` to your layout:
52
65
53
66
```xml
54
67
...
55
-
<com.kinda.mtextfield.TextFieldBoxes
68
+
<com.developer.mtextfield.TextFieldBoxes
56
69
android:id="@+id/text_field_boxes"
57
70
android:layout_width="match_parent"
58
71
android:layout_height="wrap_content"
59
72
app:labelText="Label">
60
73
61
-
<com.kinda.mtextfield.ExtendedEditText
74
+
<com.developer.mtextfield.ExtendedEditText
62
75
android:id="@+id/extended_edit_text"
63
76
android:layout_width="wrap_content"
64
77
android:layout_height="wrap_content"/>
65
78
66
-
</com.kinda.mtextfield.TextFieldBoxes>
79
+
</com.developer.mtextfield.TextFieldBoxes>
67
80
...
68
81
```
69
82
@@ -72,7 +85,7 @@ Add `com.kinda.mtextfield.TextFieldBoxes` that contains a `com.kinda.mtextfield.
72
85
`app:enabled` in xml or `setEnabled(boolean enabled)` in Java.
73
86
74
87
```xml
75
-
<com.kinda.mtextfield.TextFieldBoxes
88
+
<com.developer.mtextfield.TextFieldBoxes
76
89
...
77
90
app:enabled="false"
78
91
>
@@ -85,7 +98,7 @@ _**NOTE:** setting helper or error text to anything **not empty** will make the
85
98
helper text: `app:helperText` in xml or `setHelperText(String helperText)` in Java.
86
99
87
100
```xml
88
-
<com.kinda.mtextfield.TextFieldBoxes
101
+
<com.developer.mtextfield.TextFieldBoxes
89
102
...
90
103
app:helperText="Helper is here"
91
104
>
@@ -110,14 +123,14 @@ Use `app:prefix` in xml or `setPrefix(String prefix)` in Java to set the unselec
110
123
Use `app:suffix` in xml or `setSuffix(String suffix)` in Java to set the unselectable suffix text at the end of the field.
111
124
112
125
```xml
113
-
<com.kinda.mtextfield.ExtendedEditText
126
+
<com.developer.mtextfield.ExtendedEditText
114
127
...
115
128
app:prefix="$ "
116
129
>
117
130
```
118
131
119
132
```xml
120
-
<com.kinda.mtextfield.ExtendedEditText
133
+
<com.developer.mtextfield.ExtendedEditText
121
134
...
122
135
app:suffix="\@gmail.com"
123
136
>
@@ -136,15 +149,15 @@ The color of the bottom line will turn to `errorColor` (red by default) when exc
136
149
*NOTE: Space and line feed will NOT count.*
137
150
138
151
```xml
139
-
<com.kinda.mtextfield.TextFieldBoxes
152
+
<com.developer.mtextfield.TextFieldBoxes
140
153
...
141
154
app:maxCharacters="10"
142
155
app:minCharacters="5"
143
156
>
144
157
```
145
158
146
159
```xml
147
-
<com.kinda.mtextfield.TextFieldBoxes
160
+
<com.developer.mtextfield.TextFieldBoxes
148
161
...
149
162
app:maxCharacters="5"
150
163
>
@@ -158,7 +171,7 @@ You can use `setIsResponsiveIconColor(boolean isrResponsiveIconColor)` in Java c
158
171
_**NOTE that if `true`, the icon's color will always be `HighlightColor` (the same as the bottomLine) that will turn gray when losing focus. If `false`, the icon will always be in `primaryColor`.**_
@@ -169,7 +182,7 @@ _**NOTE that if `true`, the icon's color will always be `HighlightColor` (the sa
169
182
Use `app:endIcon` in xml or `setEndIcon(Int resourceID)` to set the icon of the ImageButton that is shown at the end of the field if you want there to be one.
170
183
171
184
```xml
172
-
<com.kinda.mtextfield.TextFieldBoxes
185
+
<com.developer.mtextfield.TextFieldBoxes
173
186
...
174
187
app:endIcon="@drawable/ic_mic_black_24dp"
175
188
>
@@ -194,7 +207,7 @@ Use `app:hasClearButton` in xml or `setHasClearButton(boolean hasClearButton)` t
194
207
If `true`, a clear button will be shown at the end when there are characters (**ANY** character) entered in the field.
195
208
196
209
```xml
197
-
<com.kinda.mtextfield.TextFieldBoxes
210
+
<com.developer.mtextfield.TextFieldBoxes
198
211
...
199
212
app:hasClearButton="true"
200
213
>
@@ -208,16 +221,16 @@ If `true`, a clear button will be shown at the end when there are characters (**
208
221
209
222
*Error Color* will be used for the color that indicates error (e.g. exceeding max characters, `setError()`). You can use `app:errorColor` in xml or `setErrorColor(int colorRes)` in Java. `A400 red` by default.
210
223
211
-
*Helper Text Color* will be used for the color of the helper text. You can use `app:helperTextColor` in xml or `setHelperTextColor(int colorRes)` in Java. `54% black` by default.
224
+
*Helper Text Color* will be used for the color of the helper text. You can use `app:textHelperColor` in xml or `setHelperTextColor(int colorRes)` in Java. `54% black` by default.
212
225
213
226
*Panel Background Color* will be used for the color of panel at the back. You can use `app:panelBackgroundColor` in xml or `setPanelBackgroundColor(int colorRes)` in Java. `6% black` by default. *NOTE that the default color, as in the guideline, is the black (`#000000`) color with the transparency of 6%, so when you're customizing and want it to still be transparent you have to set a color with transparency.*
214
227
215
228
```xml
216
-
<com.kinda.mtextfield.TextFieldBoxes
229
+
<com.developer.mtextfield.TextFieldBoxes
217
230
...
218
231
app:primaryColor="#1B5E20"
219
232
app:errorColor="#ddaa00"
220
-
app:helperTextColor="#795548"
233
+
app:textHelperColor="#795548"
221
234
app:panelBackgroundColor="#ffe8e8"
222
235
>
223
236
```
@@ -232,7 +245,7 @@ If `true`, a clear button will be shown at the end when there are characters (**
232
245
233
246
then set this as the theme for your TextFieldBoxes:
234
247
```xml
235
-
<com.kinda.mtextfield.TextFieldBoxes
248
+
<com.developer.mtextfield.TextFieldBoxes
236
249
...
237
250
android:theme="@style/TextFieldBoxes"
238
251
>
@@ -245,7 +258,7 @@ You can make the layout compact by using a dense verticle spacing to improve use
245
258
Use `app:useDenseSpacing` in xml or `setUseDenseSpacing(boolean useDenseSpacing)` to set whether the field uses a dense spacing between its elements.
246
259
247
260
```xml
248
-
<com.kinda.mtextfield.TextFieldBoxes
261
+
<com.developer.mtextfield.TextFieldBoxes
249
262
...
250
263
app:useDenseSpacing="true"
251
264
>
@@ -258,7 +271,7 @@ Sometimes you may want the label and the hint to show different messages, but ne
258
271
Use `app:alwaysShowHint` in xml or `setAlwaysShowHint(boolean alwaysShowHint)` to set whether the label is fixed at top when there's a hint in the EditText.
259
272
260
273
```xml
261
-
<com.kinda.mtextfield.TextFieldBoxes
274
+
<com.developer.mtextfield.TextFieldBoxes
262
275
...
263
276
app:alwaysShowHint="true"
264
277
>
@@ -295,7 +308,7 @@ By default, the error state of the field is validated each time the text changes
295
308
Setting `app:manualValidateError` to `true` will make the field validate error only when `validate()` is called.
296
309
297
310
```xml
298
-
<com.kinda.mtextfield.TextFieldBoxes
311
+
<com.developer.mtextfield.TextFieldBoxes
299
312
...
300
313
app:manualValidateError="true"
301
314
>
@@ -337,8 +350,8 @@ textFieldBoxes.validate()
337
350
338
351
| Attribute | Description | Default |
339
352
| --- | --- | --- |
340
-
|`app:helperTextColor`| Helper text color | Current theme `textColorTertiary`|
341
-
|`app:counterTextColor`| Counter text color | Current theme `textColorTertiary`|
353
+
|`app:textHelperColor`| Helper text color | Current theme `textColorTertiary`|
354
+
|`app:textCounterColor`| Counter text color | Current theme `textColorTertiary`|
342
355
|`app:errorColor`| The color that is used to indicate error (e.g. exceeding max characters, `setError()`) |`A400 red`|
343
356
|`app:primaryColor`| The color for the underline, the floating label text and the icon signifier **when HAVING FOCUS**| Current theme `colorPrimary`|
344
357
|`app:secondaryColor`| The color for the underline, the floating label text and the icon signifier **when NOT HAVING FOCUS**| Current theme `textColorTertiary`|
0 commit comments