pekingme
981877d06d
[ButtonGroup] Added overflow feature.
...
PiperOrigin-RevId: 762686060
2025-05-27 18:47:43 +00:00
rightnao
05f8c52342
[FloatingToolbar] Add inset handling
...
PiperOrigin-RevId: 712737242
2025-01-07 14:32:21 +00:00
rightnao
20f92dfb51
[NavigationDrawer] Notify each adapter item of a potential change in case there are any item changes
...
Resolves https://github.com/material-components/material-components-android/issues/4168
PiperOrigin-RevId: 646154192
2024-06-25 14:53:10 +00:00
rightnao
99e8044f85
[NavigationRail] Add item spacing attribute
...
PiperOrigin-RevId: 639835301
2024-06-05 18:29:56 +00:00
pubiqq
8edae9b8cc
[NavigationView] Fix section label alignment in RTL.
...
Resolves https://github.com/material-components/material-components-android/pull/4119
Resolves https://github.com/material-components/material-components-android/issues/4178
GIT_ORIGIN_REV_ID=8bb965ac42ed085a6a3d5541ca846ee263d7d5be
PiperOrigin-RevId: 635461461
2024-05-20 21:18:18 +00:00
pubiqq
26bfdd2257
[NavigationView] Fix subheader and divider insets and use relative listPreferredItemPaddings.
...
Resolves https://github.com/material-components/material-components-android/pull/4122
Resolves https://github.com/material-components/material-components-android/pull/4123
GIT_ORIGIN_REV_ID=911d1af88c0d10c6894bf38546b870430e86b6f9
PiperOrigin-RevId: 634517597
2024-05-16 21:30:24 +00:00
hunterstich
3f993923b2
[NavigationRailView] Added attribute to control the application of start window inset padding.
...
PiperOrigin-RevId: 516904093
2023-03-15 21:10:53 +00:00
jeremymuhia
cfc307ed4e
[NavigationView] fix navigation view item ripple
...
PiperOrigin-RevId: 434516655
2022-03-14 18:55:40 +00:00
serniebanders
185a0f9c92
[BottomSheetBehavior] Add margin flags to BottomSheetBehavior for system inset bars.
...
Updates bottom sheet styles to default to left and right margins, top and bottom padding.
Resolves: https://github.com/material-components/material-components-android/issues/2221
PiperOrigin-RevId: 410580245
2021-11-29 16:46:09 +00:00
serniebanders
d5729d5935
Automated g4 rollback of changelist 409212345
...
PiperOrigin-RevId: 409279906
2021-11-16 12:34:36 -05:00
serniebanders
022a05f526
[BottomSheetBehavior] Add margin flags to BottomSheetBehavior for system inset bars.
...
Updates bottom sheet styles to default to left and right margins, top and bottom padding.
Resolves: https://github.com/material-components/material-components-android/issues/2221
PiperOrigin-RevId: 409212345
2021-11-16 12:29:43 -05:00
raajkumars
cd9e6204d8
[Dialog] Added support for full width buttons in dialogs.
...
PiperOrigin-RevId: 368853063
2021-04-16 18:21:25 -04:00
cketcham
28c3254d2a
[BottomSheet] Allow opting out of edge to edge on the top
...
PiperOrigin-RevId: 359525223
2021-03-03 12:40:48 -05:00
raajkumars
be616abf49
[internal] Moved common ids from bottom navigation to central location so that it can be reused.
...
PiperOrigin-RevId: 340255767
2020-11-03 11:11:54 -05:00
connieshi
4ffc1efebc
Add comment explaining why certain attributes should remain private.
...
PiperOrigin-RevId: 293816051
2020-02-10 09:34:59 -05:00
Material Design Team
253cdc2114
Add CollectionInfos and CollectionItemInfos to ChipGroup and Chip for accessibility.
...
PiperOrigin-RevId: 288944549
2020-01-10 09:05:36 -08:00
Material Design Team
6405635df4
Handle horizontal system insets for BottomAppBar.
...
Previously only the bottom inset (navigation bar) would add extra padding to the BottomAppBar which avoided overlapping with the bottom inset when drawing edge-to-edge. A problem arises if the device is rotated horizontally. The FAB (or sometimes the ActionMenuView in RtL layouts) would overlap with the right inset, making usage impossible.
This CL adjusts the FAB and ActionMenuView X translations when necessary to avoid the horizontal system insets. Two new stylable attributes have been added to enable/disable this behavior, analogous to the existing attribute for bottom padding.
PiperOrigin-RevId: 286419669
2019-12-19 15:45:44 -05:00
cketcham
b9f8ee94b3
Adding option to enable and disable bottom inset padding for BottomAppBar
...
Resolves https://github.com/material-components/material-components-android/issues/580
This adds the paddingBottomSystemWindowInsets attribute which is a databinding extension that will probably be part of https://github.com/chrisbanes/insetter
PiperOrigin-RevId: 277139485
2019-11-01 13:28:40 -07:00
marianomartin
115313c0c0
Expose a class for themeoverlay in style
...
This moves functionality from ThemeEnforcement into a stand alone class.
Resolves https://github.com/material-components/material-components-android/issues/665
PiperOrigin-RevId: 275481343
2019-10-21 10:24:19 -04:00
marianomartin
5a5d311a36
Check more lint warnings, show warnings as errors.
...
PiperOrigin-RevId: 252822573
2019-06-18 13:20:15 -04:00
Material Design Team
6096d60959
Roll Forward of CL 242858439
...
PiperOrigin-RevId: 243197143
2019-04-19 15:48:51 -04:00
Material Design Team
3666e15298
Automated g4 rollback of changelist 242858439
...
PiperOrigin-RevId: 242907738
2019-04-19 15:30:07 -04:00
Material Design Team
3f12bd50e2
Add a itemMaxLines Attribute to NavigationView
...
Add a itemMaxLines attr to NavigationView and propagate it down to the internal CheckedTextView.
Also, make a slight change to design_navigation_item.xml layout to accommodate multiple lines of text. Without the layout change, the layout_height of the item is set to "?attr/listPreferredItemHeightSmall" so it can't contain an arbitrary number of lines. It can also chop lines in the middle.
To fix this, we change layout_height to "wrap_content" and add a minHeight attribute set to "?attr/listPreferredItemHeightSmall". This results in the same behavior for single line items but expands appropriately to contain items with multiple rows.
PiperOrigin-RevId: 242858439
2019-04-19 15:15:23 -04:00
ldjesper
831ad7dde7
a11y for selection control touch targets
...
PiperOrigin-RevId: 222898711
2018-12-06 11:24:17 -05:00
cketcham
655b3dc1b0
Add materialThemeOverlay attribute
...
PiperOrigin-RevId: 212665868
2018-09-14 10:58:21 -04:00
connieshi
36c01edeb2
Switch ChipGroup to inherit from FlowLayout.
...
PiperOrigin-RevId: 204296714
2018-07-12 16:18:34 -04:00
cketcham
e22213ba58
Automated g4 rollback of changelist 204005581
...
PiperOrigin-RevId: 204142484
2018-07-11 15:22:03 -04:00
connieshi
602a9b63a4
Switch ChipGroup to inherit from FlowLayout.
...
PiperOrigin-RevId: 204005581
2018-07-11 15:17:56 -04:00
gauthams
670787be83
Update button to use textappearance theme attributes, and enforce textappearance check
...
PiperOrigin-RevId: 198609334
2018-05-30 17:45:15 -04:00
dniz
80a6fbe0af
Namespace FlexboxLayout styleable
...
PiperOrigin-RevId: 194788079
2018-04-30 15:12:00 -04:00
gauthams
224a7e8b4a
Add textAppearance check to ThemeEnforcement
...
PiperOrigin-RevId: 193254833
2018-04-30 11:28:13 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00