conradchen
d3ab6d7bf1
[CleanUp][TextField] Centralize accessibility event dispatching logic for drop-downs
...
This also fixes the bug that clients cannot use custom AccessibilityDelegate with drop-down mode.
PiperOrigin-RevId: 447748501
2022-05-10 15:04:34 -04:00
conradchen
a0e8c35470
[CleanUp][TextField] Create EndIconDelegate.deactivate() method and remove the relevant listener
...
PiperOrigin-RevId: 442846789
2022-04-19 13:57:46 -04:00
conradchen
26308d97d8
[CleanUp][TextField] Centralize EndIconDelegate listener logic
...
It provides better performance and memory management.
PiperOrigin-RevId: 441566824
2022-04-14 13:15:33 -04:00
conradchen
6cdf7b5155
[CleanUp][TextField] Extract end components from TextInputLayout
...
PiperOrigin-RevId: 435390505
2022-03-17 18:51:39 +00:00
conradchen
717774ec7f
[TextField] Do not load default drawable if custom end icon is being used
...
Resolves https://github.com/material-components/material-components-android/issues/2085
PiperOrigin-RevId: 382785324
2021-07-07 19:21:28 +00:00
leticiars
6e5ddcfb0e
Adding support for prefix and suffix in text fields.
...
Prefix text can be set via the prefixText attribute or via the setPrefixText(CharSequence) method.
Similarly, suffix text can be set via the suffixText attribute or via setSuffixText(CharSequence)
PiperOrigin-RevId: 269799139
2019-09-18 14:21:37 -04:00
leticiars
6f35a22359
Automated g4 rollback of changelist 268680301
...
PiperOrigin-RevId: 268740076
2019-09-18 13:53:59 -04:00
leticiars
55f85bcc6e
Adding support for prefix and suffix in text fields.
...
Prefix text can be set via the prefixText attribute or via the setPrefixText(CharSequence) method.
Similarly, suffix text can be set via the suffixText attribute or via setSuffixText(CharSequence)
PiperOrigin-RevId: 268680301
2019-09-12 14:26:15 -04:00
cketcham
440b6e7753
Add @NonNull and @Nullable annotations
...
PiperOrigin-RevId: 265057396
2019-08-29 10:30:58 -04:00
marianomartin
2241380dba
Internal cleanup
...
PiperOrigin-RevId: 259753640
2019-07-24 15:09:18 -04:00
marianomartin
164bf0fabd
Internal cleanup
...
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
leticiars
c71b6ccb13
Exposed Dropdown Menu ( https://material.io/design/components/menus.html#exposed-dropdown-menu ).
...
An AutoCompleteTextView should be used in the place of a TextInputEditText, along with with a Widget.MaterialComponents.TextInputLayout.(...).ExposedMenuDropdown style.
PiperOrigin-RevId: 246343749
2019-05-03 10:58:36 -04:00
leticiars
aa84ca93be
Creating EndIconDelegate abstract class and subclasses to refactor how TextInputLayout initialize its end icons.
...
PiperOrigin-RevId: 244058404
2019-04-19 21:35:40 -04:00