31 Commits

Author SHA1 Message Date
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
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
Material Design Team
2b29a266ad [Docs] Updated docs with Expressive code/info.
PiperOrigin-RevId: 798982415
2025-08-27 13:38:19 -07:00
Material Design Team
b7918715d4 [Docs] Updated Search doc to make it more user friendly
PiperOrigin-RevId: 787905462
2025-07-28 14:25:54 +00:00
Material Design Team
e249abfd9b [Docs] Updated Search Bar doc to make it more user friendly
PiperOrigin-RevId: 767925134
2025-06-10 19:31:07 +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
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
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
0641ee59e1 [Searchbar] Add textCentered attribute
PiperOrigin-RevId: 733486317
2025-03-11 17:43:47 +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
dsn5ft
cb5dc7f5a0 [Docs][Search] Update doc with more info on SearchView EditText and nested content
Resolves https://github.com/material-components/material-components-android/issues/4189

PiperOrigin-RevId: 636998698
2024-05-25 02:07:42 +00:00
pubiqq
9a39e222d8 [Docs] Fix anchors.
Resolves https://github.com/material-components/material-components-android/pull/4015

GIT_ORIGIN_REV_ID=0b4097653df971659ed1526e450bc40030f502e3
PiperOrigin-RevId: 634017580
2024-05-16 14:03:41 +00:00
dsn5ft
90d6583577 [Search] Update demos and doc to use AppBarLayout app:statusBarForeground in order to avoid overlap between SearchBar and status bar content
Resolves https://github.com/material-components/material-components-android/issues/3103
Resolves https://github.com/material-components/material-components-android/issues/3358
Resolves https://github.com/material-components/material-components-android/pull/3914
Resolves https://github.com/material-components/material-components-android/pull/3875

PiperOrigin-RevId: 590953070
2023-12-14 18:21:06 +00:00
dsn5ft
dfa474fdc7 [Docs] Remove broken link from Search doc
Resolves https://github.com/material-components/material-components-android/issues/3872

PiperOrigin-RevId: 585651225
2023-11-27 17:35:51 -05:00
pekingme
2114a11378 [Docs] Updated dev doc for tonal surface colors in affected components.
PiperOrigin-RevId: 556901517
2023-08-14 20:55:38 +00:00
rightnao
1785bbfabe [Docs] Cross-reference m.io and DAC in Github docs
PiperOrigin-RevId: 546035020
2023-07-07 17:50:11 +00:00
dsn5ft
82a91c8455 [Predictive Back] Minor dev doc edits
PiperOrigin-RevId: 534176825
2023-05-24 14:28:35 +00:00
dsn5ft
47c307d889 [Predictive Back] Update dev docs
PiperOrigin-RevId: 533443345
2023-05-22 18:35:56 +00:00
afohrman
0bcb57074d [Search][Docs] Revise version guidance for Search usage.
Now that 1.8.0 has reached stable, version guidance no longer needs to point to an alpha version.

PiperOrigin-RevId: 532898434
2023-05-22 18:33:47 +00:00
raajkumars
e157608050 [M3][Search][Docs] Adds Search class definition link to Search documentation.
PiperOrigin-RevId: 530386856
2023-05-09 13:14:14 -04:00
pekingme
cf006c5e10 [Search] Made SearchBar and SearchView's container colors configurable in XML style.
PiperOrigin-RevId: 522468493
2023-04-10 15:03:01 +00:00
pekingme
ef57f699cb [Search] Formatted tables in the eng doc.
PiperOrigin-RevId: 522035453
2023-04-10 14:46:27 +00:00
Wahyu Koco
122ab7a6be [SearchBar] FIX anatomy search bar documentation
Resolves https://github.com/material-components/material-components-android/pull/3156
Resolves https://github.com/material-components/material-components-android/pull/3161

GIT_ORIGIN_REV_ID=d3fe2668cdef3b75de2c576e7f6517e41d55ccb8
PiperOrigin-RevId: 508143526
2023-02-08 19:57:33 +00:00
raajkumars
5c23affc74 [M3][SearchBar] Updated developer documentation.
PiperOrigin-RevId: 499267936
2023-01-05 12:46:02 -05:00
afohrman
dcf24875d9 [Docs][Search][Side Sheet] Add note about the minimum library version required to use the Search and Side Sheets components.
Resolves https://github.com/material-components/material-components-android/issues/3159.

Also removed a broken link to Search's class definition (https://developer.android.com/reference/com/google/android/material/search/SearchView) that will only work once 1.8.0 stable is released.

The notes should be removed and the class definition should be added once 1.8.0 stable is released.

PiperOrigin-RevId: 498424372
2022-12-29 15:06:16 -05:00
RoneyThomas
ee5240620e [SearchBar][SearchView] Fixed package path in developer documentation.
Resolves https://github.com/material-components/material-components-android/issues/3108
Resolves https://github.com/material-components/material-components-android/pull/3109

GIT_ORIGIN_REV_ID=0ffbcd8845e38f396da6355f43e81815b1eb3a5b
PiperOrigin-RevId: 492313989
2022-12-02 16:00:26 +00:00
conradchen
3dbffd3f22 [Doc] Internal change
PiperOrigin-RevId: 491990430
2022-12-01 16:04:38 -05:00
raajkumars
978ffdf0aa [M3][SearchBar][SearchView] Renamed search style attributes to add "material" prefix.
PiperOrigin-RevId: 490260853
2022-11-22 12:36:54 -05:00
raajkumars
4d4a2e25ab [M3][SearchBar][SearchView] Added developer documentation.
PiperOrigin-RevId: 487595100
2022-11-18 16:52:31 -05:00