rightnao
0e1724824a
[NavigationView] Set navigation menu item's a11y role description so it doesn't default to 'radio button' due to being checkable
...
PiperOrigin-RevId: 830619106
2025-11-11 18:49:41 +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
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
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
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
pfthomas
5bf6831b14
[NavDrawer][a11y] Fix wrong item selected after click
...
PiperOrigin-RevId: 616214272
2024-03-20 18:47:11 +00:00
pfthomas
022e217770
[Navigation] Add itemTextAppearanceActiveBoldEnabled attr
...
Resolves https://github.com/material-components/material-components-android/issues/3191
Resolves https://github.com/material-components/material-components-android/issues/3293
PiperOrigin-RevId: 539977391
2023-06-14 15:14:24 +00:00
pfthomas
b1bd580d7e
[NavigationDrawer] Updated active text label to use a bold typeface.
...
PiperOrigin-RevId: 487600688
2022-11-18 16:53:12 -05:00
Material Design Team
cfc00aa5a3
Update android core class definitions across material
...
PiperOrigin-RevId: 414839941
2021-12-08 14:56:25 +00:00
Material Design Team
a487c89185
Internal change
...
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
hunterstich
e8c1d98b16
[NavigationView] Added support for changing item size, divider insets, label insets, and corner size.
...
PiperOrigin-RevId: 398261933
2021-09-23 19:23:44 +00:00
marianomartin
555356b03f
Internal cleanup
...
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
Material Design Team
6ad240dfc0
Pass the item ID through to the item view which is created by the RecyclerView if the ID is greater than zero.
...
PiperOrigin-RevId: 298611118
2020-03-05 13:00:06 -08:00
Material Design Team
4f21f83708
Automated g4 rollback of changelist 296479321
...
PiperOrigin-RevId: 296521978
2020-02-24 18:26:36 -05:00
Material Design Team
c5908974c6
Pass the item ID through to the item view which is created by the RecyclerView.
...
PiperOrigin-RevId: 296479321
2020-02-24 18:25:08 -05:00
cketcham
81e708e1bb
Add @NonNull and @Nullable annotations
...
PiperOrigin-RevId: 264745164
2019-08-26 11:19:28 -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
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
Material Design Team
18c93ad9ae
Allow setting the size for navigation view icons
...
PiperOrigin-RevId: 208214420
2018-08-17 17:09:59 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00