pubiqq
204811089d
[Internal] Replace deprecated androidx.core.view.* methods
...
Resolves https://github.com/material-components/material-components-android/pull/4180
GIT_ORIGIN_REV_ID=8e4ec29abacc33cde748b8f07f0ba5c251cef395
PiperOrigin-RevId: 656004130
2024-07-25 19:09:36 +00:00
raajkumars
673cefc714
[TextInputLayout] Fix for TextInputLayout leak via AccessibilityManager.
...
Resolves https://github.com/material-components/material-components-android/issues/2615
PiperOrigin-RevId: 449517571
2022-05-18 21:12:36 -04:00
conradchen
ac74bc3bfd
[CleanUp][TextField] Centralize icon view state handling logic
...
Note that there are a slight behavior changes - when a new end icon mode is set, the state will always be reset, if applicable. This should be logically more consistent and correct than the current behavior.
PiperOrigin-RevId: 449027939
2022-05-16 16:09:50 -04:00
conradchen
86b512a81c
[CleanUp][TextField] Move end icon and content description logic to the layout class
...
PiperOrigin-RevId: 448036109
2022-05-11 14:59:46 -04:00
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