Material Design Team
db3298e449
[Search] Implement M3E styles for SearchView
...
This change implements the Material 3 Expressive styles for SearchView, which includes updated toolbar shape, background color, and paddings.
PiperOrigin-RevId: 861835368
2026-02-03 20:21:29 +00:00
pekingme
57f3cdbda3
[Tokens] Updated token version to 31.0.0
...
PiperOrigin-RevId: 859699661
2026-01-22 19:49:30 +00:00
Material Design Team
81373b774d
[Search] Hide search view divider for M3E
...
This change hides the divider on search view between the toolbar and content. It prepares for the contained style in Material 3 Expressive.
PiperOrigin-RevId: 859185807
2026-01-21 21:20:15 +00:00
dsn5ft
00e5edac88
[i18n] Update string translations
...
(copyright year + snackbar close button content description)
PiperOrigin-RevId: 853819674
2026-01-12 16:16:19 +00:00
rightnao
f30777111e
[SearchView] Make SearchView root unfocusable
...
PiperOrigin-RevId: 833520163
2025-11-19 08:30:34 -08:00
rightnao
235e8cfe71
Automated g4 rollback of changelist 816428327
...
PiperOrigin-RevId: 831030528
2025-11-17 21:04:30 +00:00
rightnao
d35634cfd2
Automated g4 rollback of changelist 814296973
...
PiperOrigin-RevId: 816428327
2025-10-10 18:08:04 +00:00
rightnao
9366a84020
[Search] Block keyboard focus on other views when SearchView is open
...
PiperOrigin-RevId: 814296973
2025-10-07 19:51:36 +00:00
rightnao
d06eed1429
[Search][A11y] Allow keyboard navigation between searchbar and other components
...
PiperOrigin-RevId: 811869184
2025-09-30 18:24:09 +00:00
rightnao
ef95e93400
[SearchView] Set touchscreenBlocksFocus to false to enable keyboard navigation between searchview
...
PiperOrigin-RevId: 775363522
2025-06-27 16:10:32 +00:00
rightnao
43f2b908a1
[SearchBar] Add attribute to control when to impose max width based on a percentage of available width in parent
...
PiperOrigin-RevId: 758280412
2025-05-14 19:14:06 +00:00
rightnao
4070bef87a
[SearchBar] Updating centered search bar text to have 8dp content start and end padding
...
PiperOrigin-RevId: 753361934
2025-05-02 15:56:18 +00:00
rightnao
5a600a86d5
[Search] Added a clip bounds animation for searchview edit text
...
PiperOrigin-RevId: 753331382
2025-05-02 15:54:25 +00:00
rightnao
be09936c88
[Search] Add a placeholder textview to Searchbar that keeps track of searchview edit text in order to gracefully fade it out in searchview collapse animation
...
PiperOrigin-RevId: 752904135
2025-04-30 17:51:14 +00:00
pekingme
0b578fd7a0
[SearchBar] Added Expressive styles.
...
PiperOrigin-RevId: 752568935
2025-04-30 17:47:53 +00:00
rightnao
c2c660b8bc
[SearchBar] Update centering layout logic to account for padding and content insets
...
PiperOrigin-RevId: 751477468
2025-04-28 15:14:45 +00:00
rightnao
53616ad822
[SearchBar] Add cutout insets to SearchView toolbar
...
PiperOrigin-RevId: 745270784
2025-04-17 23:54:16 +00:00
rightnao
44eabe31b8
[SearchBar] Fix animation calculations for predictive back
...
PiperOrigin-RevId: 743652844
2025-04-07 14:34:18 +00:00
rightnao
917022188b
[SearchBar] Fix long centered text overlapping with menu items
...
PiperOrigin-RevId: 743214367
2025-04-07 14:31:08 +00:00
rightnao
548c15cb40
[SearchBar][SearchView] Add maxWidth attribute and fix SearchBar/SearchView animations to be more flexible in hierarchy
...
PiperOrigin-RevId: 742311708
2025-04-03 19:23:16 +00:00
rightnao
04c56f6eb3
[SearchBar] Fix issue with a custom center view pushing out centered text
...
PiperOrigin-RevId: 741587300
2025-03-31 14:46:16 +00:00
rightnao
36b285c9e3
[SearchBar] Add a lift on scroll color to SearchBar when used with AppBarLayout
...
PiperOrigin-RevId: 740478154
2025-03-26 16:20:02 +00:00
rightnao
37adad28af
[Tokens] Update tokens to 16.0.2
...
PiperOrigin-RevId: 739249542
2025-03-24 15:27:25 +00:00
dsn5ft
09d2566f32
[MaterialToolbar][SearchBar] Update AppCompat dependency to 1.7.0 stable and remove inflateMenu dispatch pausing now that the fix has landed in AppCompat
...
PiperOrigin-RevId: 738894593
2025-03-21 17:01:11 +00:00
dsn5ft
0697f6fe89
[Gradle] Enable non transitive R classes (resource namespacing) and fix errors
...
PiperOrigin-RevId: 738871402
2025-03-20 18:34:33 +00:00
rightnao
e035f386bf
[SearchBar][SearchView] Set alpha for toolbar button directly rather than setting through a FadeThroughDrawable
...
PiperOrigin-RevId: 735925620
2025-03-17 18:51:35 +00:00
rightnao
ea01f2ac1f
[Searchbar] Fix centering text when set by the search view
...
PiperOrigin-RevId: 735817759
2025-03-17 18:38:07 +00:00
rightnao
f7ba9c6f19
[Searchbar][Searchview] Fix animation when searchbar doesn't cover whole screen
...
PiperOrigin-RevId: 733852521
2025-03-11 17:49:30 +00:00
rightnao
0641ee59e1
[Searchbar] Add textCentered attribute
...
PiperOrigin-RevId: 733486317
2025-03-11 17:43:47 +00:00
pekingme
67b6dcebe5
[Tokens] Upgraded to 15.0.26
...
PiperOrigin-RevId: 731761144
2025-03-03 19:50:32 +00:00
pekingme
c39dc388b3
[Tokens] Upgraded to version 15.0.12.
...
PiperOrigin-RevId: 730510849
2025-02-25 19:32:33 +00:00
pekingme
7c5dce0f82
[Tokens] Updated to 14.0.0.
...
PiperOrigin-RevId: 728471950
2025-02-20 15:36:11 +00:00
pekingme
9a2890c249
[Resources] Updated translated string resources.
...
Resolves https://github.com/material-components/material-components-android/issues/4553
PiperOrigin-RevId: 720282586
2025-01-28 19:47:24 +00:00
pubiqq
b8af5185c9
[Search] Expose toolbar customization attributes
...
Resolves https://github.com/material-components/material-components-android/pull/4337
GIT_ORIGIN_REV_ID=c3c917f7bfcaab9e3a36424898cd45951ab06f32
PiperOrigin-RevId: 719283825
2025-01-24 18:41:03 +00:00
pubiqq
bc2fdeadaf
[Internal] Prefer platform methods to compat ones
...
Resolves https://github.com/material-components/material-components-android/pull/4532
GIT_ORIGIN_REV_ID=180dec736f2521579e483317a4d537629d8f247b
PiperOrigin-RevId: 715494344
2025-01-15 18:06:07 +00:00
pekingme
4f7bf293ea
[Tokens] Updated token outputs to v13.2.0 and integrated new AppBar tokens.
...
PiperOrigin-RevId: 703208208
2024-12-10 17:57:50 +00:00
pubiqq
c1c19c8b3a
[Internal] Update targetApi suppressions in resources
...
Resolves https://github.com/material-components/material-components-android/pull/4308
GIT_ORIGIN_REV_ID=8016db9460e4e1013e56a50e541406ff356e2837
PiperOrigin-RevId: 702111281
2024-12-04 23:58:23 +00:00
dsn5ft
97d957c6c6
[SearchBar] Fix a11y issue where SearchBar darkens when focused with TalkBack
...
PiperOrigin-RevId: 679614664
2024-10-01 18:40:14 +00:00
dsn5ft
3ce7c2bb18
[SearchBar] Update predictive back device corner logic to handle each corner independently to fix issue where bottom corners are incorrectly rounded after canceling back gesture
...
PiperOrigin-RevId: 677788624
2024-09-23 15:10:54 +00:00
pekingme
47cbd7e81a
[Tokens] Upgraded to 10.0.1
...
PiperOrigin-RevId: 676467444
2024-09-20 19:48:02 +00:00
pubiqq
23aca03255
[Internal] Remove pre-Lollipop checks
...
Resolves https://github.com/material-components/material-components-android/pull/4266
GIT_ORIGIN_REV_ID=1de7808e66dd6666c893217c76c7499afe2df6a3
PiperOrigin-RevId: 669688797
2024-09-03 13:31:29 +00:00
pekingme
87076dd20b
[Tokens] Upgraded to 8.0.0.
...
PiperOrigin-RevId: 669673113
2024-09-03 13:28:26 +00:00
pekingme
9188b8f6ab
[Tokens] Upgraded to 7.1.0.
...
PiperOrigin-RevId: 669087033
2024-08-30 18:49:53 +00:00
pekingme
b65df32b0f
[Tokens] Upgraded to 7.0.0
...
PiperOrigin-RevId: 668133320
2024-08-28 22:34:40 +00:00
pekingme
8731cad96a
[Tokens] Upgraded to v6.1.0.
...
PiperOrigin-RevId: 665569215
2024-08-21 17:24:43 +00:00
pekingme
da0b738679
[Tokens] Upgraded to v5.0.0.
...
PiperOrigin-RevId: 663358341
2024-08-16 17:33:16 +00:00
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
dsn5ft
34adcb0fa1
[SearchView] Restore modal for accessibility and back handling state in onAttachedToWindow() and remove modal for accessibility state in onDetachedFromWindow()
...
Fixes an issue where nothing is focusable in TalkBack after removing SearchView, due to the modal for accessibility behavior
Resolves https://github.com/material-components/material-components-android/issues/4176
PiperOrigin-RevId: 644038017
2024-06-20 18:02:41 +00:00
dsn5ft
d13bfdf3cd
[Predictive Back] Update SearchView and NavigationView to unregister back callbacks when detached from window
...
Resolves https://github.com/material-components/material-components-android/issues/4176
PiperOrigin-RevId: 633969673
2024-05-15 16:58:34 +00:00
dsn5ft
9b6ceac72a
[i18n] Update string translations
...
PiperOrigin-RevId: 633623911
2024-05-14 17:16:18 +00:00