pekingme
8204856dd4
[Token][Color] Upgraded to v0.170 for tonal surface colors.
...
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
rightnao
8b016a0e8b
[NavigationRail][Badge] Added bigger padding in between items on the navigation rail when font scale is large so there is more room for the badges when they are forced inside the view bounds
...
Also fixed bug with navigation rail items moving when there is a badge vs when there is no longer a badge, and adds 4dp padding between icon container/active indicator and label text as per specs https://m3.material.io/components/navigation-rail/overview
PiperOrigin-RevId: 540349399
2023-06-14 12:47:57 -07: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
hunterstich
c031144d26
[NavigationView] Updated NavigationView to use ViewOutlineProvider to handle corner clipping when possible and remove drawerLayoutCornerClippingEnabled attribute.
...
PiperOrigin-RevId: 527633449
2023-04-27 16:38:17 -04:00
rightnao
3b2b827597
[NavigationRail] Integrate tokens and add shapeAppearance attribute
...
PiperOrigin-RevId: 525551069
2023-04-24 15:28:56 -04:00
pekingme
9f1caa2c64
[Tokens] Upgraded to v0.162.
...
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
hunterstich
e3b493f5eb
[NavigationView] Removed canvas clipping by default and added an option to enabled/disable manually
...
Clipping was used to clip navigation view and its children to a shape appearace. This is primarily useful when using a headerLayout that contains full bleed content that would obscure the top end corner shape. Material3 does not use as much imagery/color in the NavigationView header and disabling clipping by default is a nice performace improvement.
PiperOrigin-RevId: 513301639
2023-03-01 23:08:28 +00:00
pekingme
23dc14ca3a
[Tokens] Updated to v0.157.
...
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00:00
pekingme
355702f954
[BottomNavigation] Integrated tokens.
...
Created a new copy of CSL of icon/text/ripple tint for navigation bar. Before this change, they are shared with navigation rail.
Changed item text appearance from textAppearanceTitleSmall to textAppearanceLabelMedium
PiperOrigin-RevId: 503210110
2023-01-24 16:45:31 +00:00
pekingme
8c8db7e874
[NavigationView] Integrated tokens.
...
Changed the width from 280dp to 360dp
PiperOrigin-RevId: 499479992
2023-01-05 12:51:35 -05:00
pekingme
cfeb31a3f2
[Shape][NavView] Migrate M3 NavigationView style to new shape system.
...
PiperOrigin-RevId: 448042553
2022-05-11 15:01:26 -04:00
pubiqq
3ca41be8f0
[General] Fix typos
...
Resolves https://github.com/material-components/material-components-android/pull/2654
GIT_ORIGIN_REV_ID=b8f6728979875629f2c813ef90d2f671cf56b4eb
PiperOrigin-RevId: 442852630
2022-04-19 14:48:55 -04:00
jeremymuhia
cfc307ed4e
[NavigationView] fix navigation view item ripple
...
PiperOrigin-RevId: 434516655
2022-03-14 18:55:40 +00:00
hunterstich
d0edb45893
[M3][NavigationView] Added Material 3 styles for navigation view.
...
PiperOrigin-RevId: 398719344
2021-09-24 17:51:53 +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
hunterstich
c6d0f7c785
[M3][NavigationRail] Added new navigation rail styles.
...
PiperOrigin-RevId: 397846116
2021-09-21 08:35:12 -07:00
conradchen
5d092b75a6
[Color] Internal change
...
PiperOrigin-RevId: 372355438
2021-05-07 12:14:33 -04:00
hunterstich
7eea2b25bc
[Navigation bar] Add active indicator.
...
PiperOrigin-RevId: 368261456
2021-04-16 12:42:14 -04:00
raajkumars
e13610e589
[Navigation Rail] Added Navigation Rail component to the library.
...
PiperOrigin-RevId: 355235369
2021-02-04 20:49:41 -05:00
raajkumars
aca5bfb6f7
[Bottom Navigation] Extracted common logic from bottom navigation component into navigation package.
...
PiperOrigin-RevId: 345029590
2020-12-02 09:55:26 -05:00
Gabriele Mariotti
e6f05bca7e
[NavigationView] Support for shapeAppearance and shapeAppearanceOverlay attributes
...
Resolves https://github.com/material-components/material-components-android/pull/1535
GIT_ORIGIN_REV_ID=f676794634c788fb906bc36c0feadb1628e36fb4
PiperOrigin-RevId: 323783155
2020-07-29 10:39:14 -04:00
ldjesper
297f0d8913
Day Selection Styles for MaterialCalendar
...
PiperOrigin-RevId: 249456817
2019-05-24 14:17:18 -04:00
afohrman
ab87dd51fb
Add shaped selected item background to NavigationView and update the item background color.
...
PiperOrigin-RevId: 247490949
2019-05-16 12:38:14 -04:00
afohrman
56efa7f634
Add elevation overlay support for NavigationView.
...
PiperOrigin-RevId: 245312138
2019-04-29 15:49:56 -07:00
afohrman
6b055ffbeb
Automated g4 rollback of changelist 243898425
...
PiperOrigin-RevId: 244049761
2019-04-19 21:29:34 -04:00
afohrman
9dfecb6e36
Support elevation overlays for Navigation Drawers.
...
This sets the default elevation for Widget.MaterialComponents.NavigationView to 16dp instead of 0dp.
PiperOrigin-RevId: 243898425
2019-04-19 21:23:04 -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
Material Design Team
a13ff980a5
Automated g4 rollback of changelist 241720142
...
PiperOrigin-RevId: 241804673
2019-04-05 15:48:38 -04:00
Material Design Team
264e816f56
* Add selected (Active) item default background to NavigationView - introducing seven itemShape* attributes for this purpose
...
PiperOrigin-RevId: 241720142
2019-04-05 15:43:56 -04:00
Material Design Team
c5aea4d74f
Automated g4 rollback of changelist 232310103
...
PiperOrigin-RevId: 232890148
2019-02-11 11:17:51 -08:00
marianomartin
85512ef943
Remove attr definition and setting fitSystemWindows from NavigationView since view already handles that.
...
PiperOrigin-RevId: 232310103
2019-02-11 11:12:35 -08:00
marianomartin
c20c2a4330
Fix DrawerLayout with NavigationView insetForeground
...
PiperOrigin-RevId: 230398984
2019-01-22 17:06:01 -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
afohrman
0518a3d651
Add missing public attributes.
...
Looks like some styles and component style attributes slipped by.
PiperOrigin-RevId: 198762794
2018-05-31 16:35:29 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00