dsn5ft
015e0534e1
[Toolbar] Add support for navigation button with circle background
...
PiperOrigin-RevId: 790777821
2025-08-04 20:30:43 +00:00
kendricku
1501d08876
[Extended FAB][AppBar] Fix Extended FAB behavior demo to shrink and extend as expected.
...
Also:
- Library fix to the AppBarLayout calculations for extended FAB versus FAB visibility.
- Removed the M3 Expressive toolbar min heights in favor of actionBarSize.
Resolves https://github.com/material-components/material-components-android/issues/4751
PiperOrigin-RevId: 764380548
2025-05-28 22:50:57 +00:00
pekingme
1adc50110e
[AppBarLayout] Fixed the bug that setBackground will reset the internal MaterialShapeDrawable for lift-on-scroll feature.
...
PiperOrigin-RevId: 760744509
2025-05-21 17:55:04 +00:00
pekingme
0b578fd7a0
[SearchBar] Added Expressive styles.
...
PiperOrigin-RevId: 752568935
2025-04-30 17:47:53 +00:00
rightnao
dcfbdff79c
[TopAppBar] Add attribute to center based on whole container
...
PiperOrigin-RevId: 747496721
2025-04-17 23:56:54 +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
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
c9bfe62464
[TopAppBar] Added Expressive styles
...
PiperOrigin-RevId: 726115787
2025-02-18 10:09:19 -08:00
Material Design Team
cfe822097b
Automated g4 rollback of changelist 715031294
...
PiperOrigin-RevId: 717977309
2025-01-21 18:57:52 +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
d4ac3d593e
[TopAppBar] Fixed the toolbar not snap when switch to freeform windowing.
...
PiperOrigin-RevId: 715031294
2025-01-14 18:30:22 +00:00
pekingme
32633a6ff4
[TopAppBar] Applied formatting only.
...
PiperOrigin-RevId: 713744692
2025-01-10 15:26:13 +00:00
pekingme
57297ae59d
[CollapsingToolbarLayout] Added multiple subtitle support.
...
PiperOrigin-RevId: 713365011
2025-01-09 13:49:55 +00:00
pekingme
8598aa6ae9
[CollapsingToolbarLayout] Fixed incorrect title and subtitle positioning.
...
PiperOrigin-RevId: 712776905
2025-01-07 14:33:47 +00:00
pekingme
782d2607da
[Collapsing Toolbar] Removed the gravity APIs for subtitle (subtitle shares same gravity as title).
...
PiperOrigin-RevId: 704844851
2024-12-16 13:01:25 +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
pekingme
73b577dd6a
[TopAppBar] Added collapsing subtitle.
...
PiperOrigin-RevId: 700042153
2024-12-02 19:42:27 +00:00
rightnao
7f01739644
[TextInputLayout] Add hintMaxLines attribute
...
PiperOrigin-RevId: 685884472
2024-10-15 16:51:14 +00:00
pubiqq
b77824fcc7
[Internal] Remove pre-Lollipop resources
...
Resolves https://github.com/material-components/material-components-android/pull/4280
GIT_ORIGIN_REV_ID=88ee02b5c93b51a154503b7a1f1b85ddeea3cb57
PiperOrigin-RevId: 676472901
2024-09-20 19:49:20 +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
rightnao
b36919f203
[NavigationRail] Add expanded state
...
PiperOrigin-RevId: 660106312
2024-08-07 13:54:33 +00:00
dsn5ft
5371290913
[CollapsingToolbarLayout] Refactor multiline rotation fix to address related issue caused by keyboard
...
PiperOrigin-RevId: 645057096
2024-06-20 18:19:59 +00:00
dsn5ft
2bc1a2f344
[CollapsingToolbarLayout] Fix issues related to rotating multiline collapsing toolbars
...
PiperOrigin-RevId: 636597914
2024-05-24 15:33:53 +00:00
pubiqq
510881a469
[Internal] Stop using deprecated androidx.core.view.* methods
...
Resolves https://github.com/material-components/material-components-android/pull/4117
GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00:00
Ga\u00ebtan Muller
b3fe6a7f61
[Cleanup] Remove redundant version checks for api <= 19.
...
Resolves https://github.com/material-components/material-components-android/pull/3849
GIT_ORIGIN_REV_ID=47bb2fcc8031740e5a7d4f741f1ada2af025e126
PiperOrigin-RevId: 632154861
2024-05-09 18:46:02 +00:00
pfthomas
9b09b693d9
[Tokens] Update tokens to v4.0.0
...
PiperOrigin-RevId: 626141198
2024-04-19 21:18:49 +00:00
Material Design Team
3e866b8715
[AppBarLayout] Allow scrolling up when the app bar is lifted.
...
1. Suppose the view is large enough to scroll down
2. After scrolling down, you hide a child view, which reduces the height to a value which means it would have been unscrollable in step 1
3. Now you can’t scroll back up
PiperOrigin-RevId: 623883120
2024-04-11 20:08:04 +00:00
hunterstich
17855c116b
[TopAppBar] Fixed compress effect when toolbar is set as a support action bar and hiddin/shown.
...
getSupportActionBar.show/hide uses visibility to show/hide the toolbar which conflicted with the compress effect's use of Visibility to remove the toolbar when completely masked. This updates the compress effect to use alpha instead of visibility.
PiperOrigin-RevId: 619253990
2024-03-26 21:39:03 +00:00
pekingme
28cc2441d0
[Tokens] Updated to version 2.3.4.
...
PiperOrigin-RevId: 610835532
2024-02-29 08:36:02 -08:00
pekingme
ee7b4bddb4
[Tokens] Added formatting to break long lines and differentiate different comments.
...
PiperOrigin-RevId: 605684816
2024-02-12 18:03:59 +00:00
Material Design Team
8a71e7741a
[AppBarLayout] Use an accessibility delegate to add and perform actions
...
This replaces the use of `ViewCompat#add/removeAccessibilityAction`
Both are valid strategies, but each call to `remove` or `add` triggers an accessibility event. Since this check is done in layout (originally to fix a11y scroll state) it's sending a high number of events that create noise for accessibility services.
To avoid this, we move this code to the delegate `onInitialize` and `performAction` methods. Instead of the view dynamically adding and removing actions to itself, the node is initialized with actions only when an a11y service sends a request with a new node (likely due to some UI change).
The flow here would look like:
1. UI is scrolled/page is loaded
2. TalkBack gets a scroll event/content change event
3. TalkBack requests new snapshot of the screen
4. ABL populates the node with the actions
For a simple scroll, this change reduces the events from ~40 to ~10.
We also add the Truth library for clearer assertions.
PiperOrigin-RevId: 605333170
2024-02-12 16:14:44 +00:00
pekingme
89212044a9
[Tokens] Updated to v0.213.
...
PiperOrigin-RevId: 603749766
2024-02-06 14:30:16 +00:00
pekingme
08d7ded67b
[Tokens] Upgraded to v0.207.
...
PiperOrigin-RevId: 600947836
2024-01-24 21:05:53 +00:00
pekingme
4ccaaaa31d
[Tokens] Upgraded to v0.203
...
PiperOrigin-RevId: 579928128
2023-11-08 15:12:21 +00:00
pekingme
637362d597
[Tokens] Upgraded to v0.195
...
PiperOrigin-RevId: 579905417
2023-11-06 20:27:15 +00:00
pekingme
0463c507d7
[Tokens] Upgraded to v0.185
...
PiperOrigin-RevId: 579904837
2023-11-06 20:26:18 +00:00
hunterstich
2ac8c1cbf6
[TopAppBar] Fixed compress effect clipping on API 21-24
...
Partially resolves https://github.com/material-components/material-components-android/issues/3603
PiperOrigin-RevId: 576102714
2023-10-26 20:37:38 +00:00
pekingme
bfee8a74d7
[Tokens] Upgraded to v0.175.
...
PiperOrigin-RevId: 572648883
2023-10-12 11:04:28 -07:00