Releases: HITGIF/TextFieldBoxes
1.3.5
-
add
giveFocus
param insetError()
for setting whether the field will gain focus when set error on. -
add
secondaryColor
for setting the color of the underline, the floating label text and the icon signifier when NOT HAVING focus (opposite toprimaryColor
). -
add
counterColor
for setting the color of the counter text.
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
-
the "EditText" part is now seperated from the TextFieldBoxes. TextFieldBoxes is now a container (just like a
TextInputLayout
) that should and should only contain oneExtendedEditText
that inherents theTextInputEditText
. -
Prefix
andSuffix
attributes are now belonging to theExtendedEditText
. -
Text
,hint
,SingleLine
andMaxLines
attributes are now removed. Instead, one should set them in theExtendedEditText
with originalandroid:
attributes. -
the bottom view which contains helper and counter labels will now be hidden when it's empty.
1.2.1
1.2.0
-
fix the bug of when height (or width) is set to
wrap_content
yet fills up the whole space. -
old
hint
attribute is renamed tolabelText
. -
current
hint
attribute is for the placeholder text that is shown in the field when there is no text and is on focus. -
add Clear Button, can be activated with
app:hasClearButton
in xml orsetHasClearButton(boolean hasClearButton)
in Java code. -
add End Icon, can be activated with
app:endIcon
in xml orsetEndIcon(Int resourceID)
in Java code. UsegetEndIconImageButton()
to do something useful with it.