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
0a0bff1489
Automated g4 rollback of changelist 515410464
...
PiperOrigin-RevId: 517409678
2023-03-20 21:21:59 +00:00
hunterstich
0c62df4a60
Automated g4 rollback of changelist 515343383
...
PiperOrigin-RevId: 515410464
2023-03-13 21:20:02 +00:00
hunterstich
1d2a59ba37
[NavigationRail][NavigationBar] Fixed active item focused state color not being visible.
...
The color state list used for the ripple to indicate focal/hover state was being set as the background of an item and being obscured by the active indicator. It is now the foreground and visible on top of the active indicator.
PiperOrigin-RevId: 515343383
2023-03-13 21:17:13 +00:00
pfthomas
11e98f2d11
[BottomNavigationView][NavigationRailView] Updated active text label to use a bold typeface.
...
PiperOrigin-RevId: 476415508
2022-09-26 22:11:51 +00:00
hunterstich
11578b34f3
[NavigationBar][NavigationRail] Updated item ripple to be contained within active indicator shape when enabled.
...
PiperOrigin-RevId: 453449225
2022-06-07 18:49:19 -07:00
hunterstich
1995438305
[NavigationBar][NavigationRail] Updated active indicator to use new motion system.
...
PiperOrigin-RevId: 447463375
2022-05-09 14:48:11 -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
hunterstich
d66676fd6b
[NavigationBar][NavigationRail] Removed font scaling from NavigationBarView item labels.
...
PiperOrigin-RevId: 426264069
2022-02-03 20:20:31 -08:00
conradchen
b3db1cc028
[Badge] Prevent multiple badges being attached to a menu item at the same time
...
Fixes the logic in NavigationBarMenuView.restoreBadgeDrawables(), which may override the newly created badges with the restored drawables incorrectly. Also adds a safe guard that removes the previously attached badges if any, before attaching a new badge.
PiperOrigin-RevId: 424923078
2022-01-31 18:12:50 -08: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
fd23c6b0ad
[NavigationRail] Added support for unlabeled items to automatically resize their active indicator.
...
PiperOrigin-RevId: 399689605
2021-09-29 11:19:59 -04:00
dsn5ft
478ca74a00
[M3][NavigationBar] Update active indicator initialization to skip animator if view not attached to window yet
...
PiperOrigin-RevId: 398719690
2021-09-24 17:53:11 +00:00
hunterstich
619c95c2f8
[NavigationBar] Fixed menu visibility changes causing active indicator flashing.
...
PiperOrigin-RevId: 393365926
2021-08-27 15:04:47 -04:00
hunterstich
166d9f6471
[NavigationBar] Updated indicator and label to use motion theming.
...
PiperOrigin-RevId: 368684603
2021-04-16 17:54:00 -04:00
hunterstich
7eea2b25bc
[Navigation bar] Add active indicator.
...
PiperOrigin-RevId: 368261456
2021-04-16 12:42:14 -04:00
raajkumars
585e0ff0ff
[Navigation Rail] Fixed spacing issue between destination icon and label.
...
PiperOrigin-RevId: 357997380
2021-02-18 14:34:17 -08:00
connieshi
da2d8264d1
[Tabs][BottomNav] Do not show tooltip on long press for L and M devices to avoid freezing devices on repeated long press.
...
PiperOrigin-RevId: 355428951
2021-02-04 20:54:30 -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