pubiqq
a3a7d86cba
[FloatingActionButton] Fix the width calculation in the wrap_content extend strategy
...
Resolves https://github.com/material-components/material-components-android/pull/4695
Resolves https://github.com/material-components/material-components-android/issues/4630
- 1561cbdaa20738e6c57c8f70a2f4a3f75f4086b4 by pubiqq <serj.ese@gmail.com>
PiperOrigin-RevId: 759607074
2025-05-16 17:01:31 +00:00
leticiars
2749544dce
[OverflowLinearLayout] Add filterTouchesWhenObscured=true to button layout.
...
PiperOrigin-RevId: 758795342
2025-05-15 17:10:16 +00:00
leticiars
914900e342
[OverflowLinearLayout] Added OverflowLinearLayout to support adaptive behavior of the floating and docked toolbars.
...
When wrapping the floating/docked toolbar's children in a OverflowLinearLayout, the toolbar will automatically move children to an overflow menu when there's not enough screen space for all the items to fit in the toolbar.
The children moved to an overflow menu will always be the ones at the end of the toolbar that do not fit the max toolbar size. An overflow button will be automatically placed as the last child of the toolbar when overflow happens.
PiperOrigin-RevId: 758661471
2025-05-14 19:16:20 +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
pubiqq
6b35213c6b
[TabLayoutMediator] Don't try to detach an already detached TabLayout
...
Resolves https://github.com/material-components/material-components-android/pull/4547
GIT_ORIGIN_REV_ID=15c001c9fed1a70c0dc8adbe1477687c2b0a97ed
PiperOrigin-RevId: 757914288
2025-05-13 16:43:22 +00:00
pubiqq
8d044c4ae8
[HideViewOnScrollBehavior] Add a method to get the HideViewOnScrollBehavior associated with the view
...
Resolves https://github.com/material-components/material-components-android/pull/4768
GIT_ORIGIN_REV_ID=9471abba29b6c63aaeadf6cb4708480e8e8cc0b8
PiperOrigin-RevId: 757874866
2025-05-13 16:42:33 +00:00
Material Design Team
de11797e3b
Automated g4 rollback of changelist 757750540
...
PiperOrigin-RevId: 757786848
2025-05-12 18:41:35 +00:00
leticiars
a12f17a93f
[OverflowLinearLayout] Added OverflowLinearLayout to support adaptive behavior of the floating and docked toolbars.
...
When wrapping the floating/docked toolbar's children in a OverflowLinearLayout, the toolbar will automatically move children to an overflow menu when there's not enough screen space for all the items to fit in the toolbar.
The children moved to an overflow menu will always be the ones at the end of the toolbar that do not fit the max toolbar size. An overflow button will be automatically placed as the last child of the toolbar when overflow happens.
PiperOrigin-RevId: 757750540
2025-05-12 18:40:49 +00:00
pubiqq
def80c54ab
[HideViewOnScrollBehavior] Fix the target position of the view when sliding it off the screen without animation
...
Resolves https://github.com/material-components/material-components-android/pull/4767
GIT_ORIGIN_REV_ID=2e119cfc7fac044568f4116366a0fc20d2ef9480
PiperOrigin-RevId: 756858576
2025-05-12 18:29:07 +00:00
Ga\u00ebtan Muller
65e5f1aba1
[Internal] Remove the internal ViewOverlay compat layer
...
Resolves https://github.com/material-components/material-components-android/pull/4736
GIT_ORIGIN_REV_ID=9eced1439e9503f5cc88cc3f2834f55e5466448c
PiperOrigin-RevId: 756779136
2025-05-12 18:15:01 +00:00
pubiqq
23957e0d7f
[Slider] Fix label bounds for vertical slider in RTL
...
Resolves https://github.com/material-components/material-components-android/pull/4760
Resolves https://github.com/material-components/material-components-android/issues/4759
GIT_ORIGIN_REV_ID=b7ca68735a77733f621c8be87b8e5e85a57ab325
PiperOrigin-RevId: 755915079
2025-05-07 19:32:14 +00:00
Material Design Team
aaa40dbc4e
Automated g4 rollback of changelist 754982643
...
PiperOrigin-RevId: 755433180
2025-05-07 19:31:37 +00:00
rightnao
1b58f5ff5e
[Dialog] Add m3 styles for floating toolbar and docked toolbar for dialog
...
PiperOrigin-RevId: 755376708
2025-05-07 19:29:44 +00:00
pekingme
0c5b17a406
[Button] Fixed a bug that checked state in XML was not respected.
...
PiperOrigin-RevId: 755123809
2025-05-07 19:28:26 +00:00
hunterstich
603f1ef9d5
[BottomSheet] Deprecated enableEdgeToEdge for bottom sheet dialogs on API 35+.
...
enableEdgeToEdge no longer takes effect on API 35 and above where edge-to-edge is now enforced. Use paddingLeft|Right|BottomSystemWindowInsets to automatically inset dialog content.
Resolves https://github.com/material-components/material-components-android/issues/4749
Resolves https://github.com/material-components/material-components-android/issues/4732
Resolves https://github.com/material-components/material-components-android/issues/4367
PiperOrigin-RevId: 754982643
2025-05-07 19:26:30 +00:00
leticiars
771119111e
[Checkbox] Update translations.
...
PiperOrigin-RevId: 754935262
2025-05-07 19:22:53 +00:00
pekingme
7ae12b5ab0
[ButtonGroup] Updated to only draw surface color under the button's stroke when the buttons are actually overlapped.
...
PiperOrigin-RevId: 753629476
2025-05-02 15:58:36 +00:00
rightnao
12fad1d489
[NavigationRail] Force NavigationFrameLayout to be the available size at the minimum
...
PiperOrigin-RevId: 753364953
2025-05-02 15:57:12 +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
571a196d39
[Button] Test improve memory usage when materialSizeOverlay is used.
...
PiperOrigin-RevId: 752787092
2025-04-30 17:50:24 +00:00
Material Design Team
af7f254bf6
[Bottom Sheet] Prevent ACTION_DOWN events on the BottomSheetHandleDragView from setting touchingScrollChild to true.
...
Previously, a BottomSheetHandleDragView overlapping the nestedScrollingChildRef would not always be able to resize/drag the bottom sheet.
PiperOrigin-RevId: 752730372
2025-04-30 17:49:40 +00:00
pekingme
0b578fd7a0
[SearchBar] Added Expressive styles.
...
PiperOrigin-RevId: 752568935
2025-04-30 17:47:53 +00:00
kendricku
2aadbd1ff1
[Button][Split Button] Update split button styles to lessen maker specification requirements and support consistency.
...
PiperOrigin-RevId: 752444738
2025-04-30 17:47:20 +00:00
hunterstich
0c1a914549
[Typography] Added emphasized typescale to public attributes
...
PiperOrigin-RevId: 752370865
2025-04-30 17:36:54 +00:00
Material Design Team
a0b4dfa876
[BottomSheet] Fix keyboard animation on Android 14
...
PiperOrigin-RevId: 752302187
2025-04-28 15:18:37 +00:00
pekingme
34853f1617
[ProgressIndicator] Added Expressive styles.
...
PiperOrigin-RevId: 751582890
2025-04-28 15:15:36 +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
pekingme
4f55422744
[ButtonGroup] Add a demo to programmatically add/remove buttons in a button group.
...
PiperOrigin-RevId: 751060643
2025-04-25 16:58:30 +00:00
pekingme
0bd1749898
[Dialog] Added Expressive styles.
...
PiperOrigin-RevId: 750744509
2025-04-25 16:55:20 +00:00
pekingme
3a2969935f
[Slider] Added Expressive styles.
...
PiperOrigin-RevId: 750463306
2025-04-23 19:49:00 +00:00
pfthomas
781d344142
[Slider] Centered Slider Expressive updates
...
- update the Centered Slider to show the track starting from the center
PiperOrigin-RevId: 750301810
2025-04-22 20:39:48 +00:00
pubiqq
7c6242924e
[Color] ColorResourcesTableCreator: Fix length encoding for utf8 strings
...
Resolves https://github.com/material-components/material-components-android/pull/4710
GIT_ORIGIN_REV_ID=93cfc26eaac6aff2e6ec1e80123f4eb2d98b42b7
PiperOrigin-RevId: 750282052
2025-04-22 20:37:28 +00:00
pekingme
de1f5e1952
[ProgressIndicator] Reorganized styles.
...
PiperOrigin-RevId: 749841349
2025-04-22 20:18:17 +00:00
pekingme
72d011d48a
[Slider] Reorganized styles.
...
PiperOrigin-RevId: 749840827
2025-04-22 20:16:58 +00:00
pekingme
56a96a8f82
[NavRail] Added Expressive styles.
...
PiperOrigin-RevId: 749159805
2025-04-21 16:08:59 +00:00
pekingme
12a136c56a
[NavRail] Migrated to new token sets.
...
PiperOrigin-RevId: 749147576
2025-04-21 16:07:49 +00:00
pekingme
e980f6018d
[BottomNav] Added Expressive styles.
...
PiperOrigin-RevId: 749114894
2025-04-21 16:06:50 +00:00
pekingme
02fcdf5fb4
[BottomNav] Migrated to new token sets.
...
PiperOrigin-RevId: 749087804
2025-04-21 15:56:00 +00:00
pekingme
9fc00e8f90
[NavRail] Reorganized styles.
...
PiperOrigin-RevId: 749087459
2025-04-21 15:55:15 +00:00
pekingme
a28f0e0d7b
[Dialog] Reorganized styles.
...
PiperOrigin-RevId: 749086083
2025-04-21 15:54:30 +00:00
rightnao
4b9df08511
[FloatingToolbar][DockedToolbar] Added m3 styles for buttons and theme overlays
...
PiperOrigin-RevId: 749086012
2025-04-21 15:53:43 +00:00
rightnao
834ce09d71
[DockedToolbar][FloatingToolbar] Include IME in insets
...
PiperOrigin-RevId: 749085039
2025-04-21 15:52:25 +00:00
pekingme
d0194fb050
[BottomNav] Rearranged M3 styles.
...
PiperOrigin-RevId: 749071804
2025-04-21 15:37:59 +00:00
pekingme
6c7354a368
[ButtonGroups] Added expressive styles.
...
PiperOrigin-RevId: 748866556
2025-04-21 15:36:02 +00:00
pekingme
d791fad4cc
[ButtonGroup] Fixed the bug of size morph not working with layout_weight.
...
PiperOrigin-RevId: 748859113
2025-04-18 00:17:04 +00:00
pubiqq
443eaa59c0
[Color] ColorResourcesTableCreator: Fix resource entry names
...
Resolves https://github.com/material-components/material-components-android/pull/4708
Resolves https://github.com/material-components/material-components-android/pull/4707
Resolves https://github.com/material-components/material-components-android/issues/4472
Resolves https://github.com/material-components/material-components-android/issues/4706
GIT_ORIGIN_REV_ID=b03d6db74d066a1be47a18d242b646db8b568afb
PiperOrigin-RevId: 748477063
2025-04-18 00:15:02 +00:00
kendricku
2667e098db
[Button] Added optical center feature.
...
ORIGINAL_AUTHOR=pekingme
PiperOrigin-RevId: 748415083
2025-04-18 00:14:04 +00:00
pekingme
696a48a5b1
[Button] Added expressive styles in M3 expressive dialog themes.
...
PiperOrigin-RevId: 748364177
2025-04-18 00:05:20 +00:00