@@ -22,19 +22,6 @@ variants of badges.
2222
2323** Note:** Images use various dynamic color schemes.
2424
25- Before you can use Material badges, you need to add a dependency to the Material
26- components for Android library. For more information, go to the
27- [ Getting started] ( https://github.com/material-components/material-components-android/tree/master/docs/getting-started.md )
28- page.
29-
30- ** Note:** This component is still under development and may not support the full
31- range of customization Material Android components generally support, for
32- instance, themed attributes.
33-
34- A ` BadgeDrawable ` represents dynamic information such as a number of pending
35- requests in a [ ` BottomNavigationView ` ] ( BottomNavigation.md ) or
36- [ ` TabLayout ` ] ( Tabs.md ) .
37-
3825## Design & API documentation
3926
4027* [ Material 3 (M3) spec] ( https://m3.material.io/components/badges/overview )
@@ -77,6 +64,21 @@ label will be `app:badgeText`.
7764
7865## Code implementation
7966
67+ Before you can use Material badges, you need to add a dependency to the Material
68+ components for Android library. For more information, go to the
69+ [ Getting started] ( https://github.com/material-components/material-components-android/tree/master/docs/getting-started.md )
70+ page.
71+
72+ ** Note:** This component is still under development and may not support the full
73+ range of customization Material Android components generally support, for
74+ instance, themed attributes.
75+
76+ A ` BadgeDrawable ` represents dynamic information such as a number of pending
77+ requests in a [ ` BottomNavigationView ` ] ( BottomNavigation.md ) or
78+ [ ` TabLayout ` ] ( Tabs.md ) .
79+
80+ ### Adding badges
81+
8082![ Two variants of badges] ( assets/badge/badges_hero.png )
8183
82841 . Small badge on a navigation item
0 commit comments