marianomartin
e89564aadd
Internal cleanup
...
PiperOrigin-RevId: 265685660
2019-08-29 11:58:31 -04:00
leticiars
48d775dc0e
Adding OnLongClickListener setters for text field icons.
...
PiperOrigin-RevId: 263429758
2019-08-16 16:13:44 -04:00
leticiars
1c4f77c00e
Adding a frame wrapper for the TextInputLayout end icon so it simplifies the error icon implementation.
...
PiperOrigin-RevId: 260934634
2019-08-02 15:53:43 -04:00
leticiars
3f73804b57
Implementing error icon for text fields.
...
They are set by default when the text field is on error state, but can be disabled by setting the error icon drawable to null via the errorIconDrawable attribute or the setErrorIconDrawable method.
PiperOrigin-RevId: 260495196
2019-07-29 16:43:16 -04:00
leticiars
b89a91c710
Animating clear button end icon.
...
PiperOrigin-RevId: 253852706
2019-06-24 16:45:49 -04:00
cketcham
bff75f2d3e
Update to lamdas
...
PiperOrigin-RevId: 252846439
2019-06-18 13:21:02 -04:00
leticiars
5f8f60457a
Changing how password toggle end icon updates its checked state.
...
Now it will automatically change to checked or not checked depending if the EditText's transformation method is changed.
PiperOrigin-RevId: 248185643
2019-05-16 17:12:39 -04:00
leticiars
2642ff2697
Adding support for TextInputLayout start icon. It can be set to be just a drawable or, if a OnClickListener is set to it, a button.
...
For that reason, users should opt to use the start icon API instead of setting a start/left compound drawable on the text field's edit text.
PiperOrigin-RevId: 238984066
2019-03-22 16:19:36 -04:00
leticiars
5236a03fc4
Refactoring text field unit tests to test icons separately. Also adding tests for the custom end icon.
...
PiperOrigin-RevId: 235002414
2019-02-24 14:28:36 -05:00