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
Add `com.developer.kinda.TextFieldBoxes` that contains a `com.developer.kinda.ExtendedEditText` to your layout:
52
+
Add `com.developer.mtextfield.TextFieldBoxes` that contains a `com.developer.mtextfield.ExtendedEditText` to your layout:
53
53
54
54
```xml
55
55
...
56
-
<com.developer.kinda.TextFieldBoxes
56
+
<com.developer.mtextfield.TextFieldBoxes
57
57
android:id="@+id/text_field_boxes"
58
58
android:layout_width="match_parent"
59
59
android:layout_height="wrap_content"
60
60
app:labelText="Label">
61
61
62
-
<com.developer.kinda.ExtendedEditText
62
+
<com.developer.mtextfield.ExtendedEditText
63
63
android:id="@+id/extended_edit_text"
64
64
android:layout_width="wrap_content"
65
65
android:layout_height="wrap_content"/>
66
66
67
-
</com.developer.kinda.TextFieldBoxes>
67
+
</com.developer.mtextfield.TextFieldBoxes>
68
68
...
69
69
```
70
70
@@ -73,7 +73,7 @@ Add `com.developer.kinda.TextFieldBoxes` that contains a `com.developer.kinda.Ex
73
73
`app:enabled` in xml or `setEnabled(boolean enabled)` in Java.
74
74
75
75
```xml
76
-
<com.developer.kinda.TextFieldBoxes
76
+
<com.developer.mtextfield.TextFieldBoxes
77
77
...
78
78
app:enabled="false"
79
79
>
@@ -86,7 +86,7 @@ _**NOTE:** setting helper or error text to anything **not empty** will make the
86
86
helper text: `app:helperText` in xml or `setHelperText(String helperText)` in Java.
87
87
88
88
```xml
89
-
<com.developer.kinda.TextFieldBoxes
89
+
<com.developer.mtextfield.TextFieldBoxes
90
90
...
91
91
app:helperText="Helper is here"
92
92
>
@@ -111,14 +111,14 @@ Use `app:prefix` in xml or `setPrefix(String prefix)` in Java to set the unselec
111
111
Use `app:suffix` in xml or `setSuffix(String suffix)` in Java to set the unselectable suffix text at the end of the field.
112
112
113
113
```xml
114
-
<com.developer.kinda.ExtendedEditText
114
+
<com.developer.mtextfield.ExtendedEditText
115
115
...
116
116
app:prefix="$ "
117
117
>
118
118
```
119
119
120
120
```xml
121
-
<com.developer.kinda.ExtendedEditText
121
+
<com.developer.mtextfield.ExtendedEditText
122
122
...
123
123
app:suffix="\@gmail.com"
124
124
>
@@ -137,15 +137,15 @@ The color of the bottom line will turn to `errorColor` (red by default) when exc
137
137
*NOTE: Space and line feed will NOT count.*
138
138
139
139
```xml
140
-
<com.developer.kinda.TextFieldBoxes
140
+
<com.developer.mtextfield.TextFieldBoxes
141
141
...
142
142
app:maxCharacters="10"
143
143
app:minCharacters="5"
144
144
>
145
145
```
146
146
147
147
```xml
148
-
<com.developer.kinda.TextFieldBoxes
148
+
<com.developer.mtextfield.TextFieldBoxes
149
149
...
150
150
app:maxCharacters="5"
151
151
>
@@ -159,7 +159,7 @@ You can use `setIsResponsiveIconColor(boolean isrResponsiveIconColor)` in Java c
159
159
_**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`.**_
@@ -170,7 +170,7 @@ _**NOTE that if `true`, the icon's color will always be `HighlightColor` (the sa
170
170
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.
171
171
172
172
```xml
173
-
<com.developer.kinda.TextFieldBoxes
173
+
<com.developer.mtextfield.TextFieldBoxes
174
174
...
175
175
app:endIcon="@drawable/ic_mic_black_24dp"
176
176
>
@@ -195,7 +195,7 @@ Use `app:hasClearButton` in xml or `setHasClearButton(boolean hasClearButton)` t
195
195
If `true`, a clear button will be shown at the end when there are characters (**ANY** character) entered in the field.
196
196
197
197
```xml
198
-
<com.developer.kinda.TextFieldBoxes
198
+
<com.developer.mtextfield.TextFieldBoxes
199
199
...
200
200
app:hasClearButton="true"
201
201
>
@@ -214,7 +214,7 @@ If `true`, a clear button will be shown at the end when there are characters (**
214
214
*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.*
215
215
216
216
```xml
217
-
<com.developer.kinda.TextFieldBoxes
217
+
<com.developer.mtextfield.TextFieldBoxes
218
218
...
219
219
app:primaryColor="#1B5E20"
220
220
app:errorColor="#ddaa00"
@@ -233,7 +233,7 @@ If `true`, a clear button will be shown at the end when there are characters (**
233
233
234
234
then set this as the theme for your TextFieldBoxes:
235
235
```xml
236
-
<com.kinda.developer.TextFieldBoxes
236
+
<com.developer.mtextfield.TextFieldBoxes
237
237
...
238
238
android:theme="@style/TextFieldBoxes"
239
239
>
@@ -246,7 +246,7 @@ You can make the layout compact by using a dense verticle spacing to improve use
246
246
Use `app:useDenseSpacing` in xml or `setUseDenseSpacing(boolean useDenseSpacing)` to set whether the field uses a dense spacing between its elements.
247
247
248
248
```xml
249
-
<com.kinda.developer.TextFieldBoxes
249
+
<com.developer.mtextfield.TextFieldBoxes
250
250
...
251
251
app:useDenseSpacing="true"
252
252
>
@@ -259,7 +259,7 @@ Sometimes you may want the label and the hint to show different messages, but ne
259
259
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.
260
260
261
261
```xml
262
-
<com.kinda.developer.TextFieldBoxes
262
+
<com.developer.mtextfield.TextFieldBoxes
263
263
...
264
264
app:alwaysShowHint="true"
265
265
>
@@ -296,7 +296,7 @@ By default, the error state of the field is validated each time the text changes
296
296
Setting `app:manualValidateError` to `true` will make the field validate error only when `validate()` is called.
0 commit comments