16 Commits

Author SHA1 Message Date
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