Material Design Team
2b29a266ad
[Docs] Updated docs with Expressive code/info.
...
PiperOrigin-RevId: 798982415
2025-08-27 13:38:19 -07:00
Material Design Team
2921b9c311
[Navigation rail ] Updated Navigation Rail doc to make it more user friendly
...
PiperOrigin-RevId: 788282805
2025-07-29 19:50:22 +00:00
huajiqaq
a54e07e4c4
[Docs] Fix expanded attr and method references in NavigationRail and BottomNavigation
...
Resolves https://github.com/material-components/material-components-android/pull/4778
- 97c543c07056bbc03f6482bb470bf5114f5d3d05 by huajiqaq <huajicloud@gmail.com>
PiperOrigin-RevId: 767130479
2025-06-05 18:38:51 +00:00
rightnao
a798a82e0b
[NavigationRail] Add attributes for expanded active indicator padding
...
PiperOrigin-RevId: 715573480
2025-01-15 20:07:23 +00:00
rightnao
94966194fa
[NavigationRail] Add divider functionality for expanded nav rail
...
PiperOrigin-RevId: 708103452
2024-12-20 18:45:43 +00:00
rightnao
5a8c39a1bf
[NavigationRail][BottomNavigation] Add attributes for scaling label text to font size and for the max lines for the label
...
PiperOrigin-RevId: 700052136
2024-12-02 19:43:03 +00:00
rightnao
0e9ab6616d
[NavigationRail] Integrate tokens
...
PiperOrigin-RevId: 699328711
2024-12-02 19:41:20 +00:00
rightnao
5f44dbcf4b
[NavigationRail][Docs] Update navigation rail docs to include mentions of the expanded nav rail
...
PiperOrigin-RevId: 699270265
2024-12-02 19:40:30 +00:00
rightnao
ebcfcd18a9
[NavigationRail][BottomNavigation] Add horizontal spacing attribute for space in between the icon and the text when the item is in the start icon gravity configuration
...
PiperOrigin-RevId: 688222363
2024-10-22 20:12:15 +00:00
rightnao
cc09ce8d55
[NavigationRail] Add scrollingEnabled attribute and update NavigationRail to have unlimited items when expanded while keeping the limit of 7 items while collapsed, and add demo to catalog
...
PiperOrigin-RevId: 676208760
2024-09-20 19:42:33 +00:00
rightnao
f19ab5e9ce
[NavSuite] Token integration
...
PiperOrigin-RevId: 668568578
2024-08-28 22:37:21 +00:00
rightnao
b34fff342b
[NavigationBar] Add item gravity attribute and setter/getter
...
PiperOrigin-RevId: 660062964
2024-08-07 13:52:06 +00:00
rightnao
b184df6848
[NavigationBar] Add active indicator attributes to change active indicator height, width, and horizontal margins when it is in an expanded state (ie. when start icon gravity is set to 'start')
...
PiperOrigin-RevId: 657266378
2024-07-30 09:12:47 -07:00
rightnao
99e8044f85
[NavigationRail] Add item spacing attribute
...
PiperOrigin-RevId: 639835301
2024-06-05 18:29:56 +00:00
rightnao
abb6e91a0a
[NavigationBar] Add new itemIconGravity attribute
...
PiperOrigin-RevId: 638866190
2024-06-05 18:24:24 +00:00
rightnao
801ccab0c0
[NavigationRail] Add new attributes for NavigationRail to control the top margin of the nav rail content, and the margin in between the optional header and the menu items
...
PiperOrigin-RevId: 637957360
2024-06-05 18:22:06 +00:00
pubiqq
9a39e222d8
[Docs] Fix anchors.
...
Resolves https://github.com/material-components/material-components-android/pull/4015
GIT_ORIGIN_REV_ID=0b4097653df971659ed1526e450bc40030f502e3
PiperOrigin-RevId: 634017580
2024-05-16 14:03:41 +00:00
rightnao
1785bbfabe
[Docs] Cross-reference m.io and DAC in Github docs
...
PiperOrigin-RevId: 546035020
2023-07-07 17:50:11 +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
pubiqq
c1ef52b8ea
[Badge] Allow text strings in badges
...
Resolves https://github.com/material-components/material-components-android/pull/2978
GIT_ORIGIN_REV_ID=39c9f60cff607fba1e9ca57ae8bc155c5919e503
Co-authored-by: imhappi
PiperOrigin-RevId: 520368686
2023-03-29 19:18:22 +00:00
hunterstich
3b2b56ec5d
[NavigationRail] Updated documentation to include window inset attributes.
...
PiperOrigin-RevId: 431462467
2022-03-01 08:55:06 -08:00
dsn5ft
a01323072c
[Docs] Fixed formatting of multiline tables in dev docs
...
PiperOrigin-RevId: 400731284
2021-10-05 08:57:06 -04:00
Material Design Team
0691344726
[M3][Docs] Update Navigation Rail developer documentation
...
PiperOrigin-RevId: 398716331
2021-09-24 14:54:15 +00:00
hunterstich
b762fbc2dd
[Docs][NavigationRail] Updated documentation to Material 3 and added new styles/attrs to res-public
...
PiperOrigin-RevId: 398481584
2021-09-23 19:38:38 +00:00
nickrout
95a769c373
[Documentation] Improving navigation rail documentation.
...
PiperOrigin-RevId: 369436073
2021-04-20 15:18:22 -04:00
Material Design Team
a200a5ef17
[NavigationRail] Moves OnNavigationItem listeners to the NavigationBarView class
...
to be easier used by developers and other libraries
An example of where the current implementation fails is in Jetpack Navigation component where we rely on setOnNavigationItemSelectedListener and the similar methods in NavigationBarView (setOnItemSelectedListener) are protected.
PiperOrigin-RevId: 367467206
2021-04-08 20:43:35 -04:00
raajkumars
b8ed2dac59
[Navigation Rail] Updated navigation rail documentation to update images and related example code.
...
PiperOrigin-RevId: 360730108
2021-03-09 12:09:05 -08:00
raajkumars
853c695148
[Navigation Rail] Added documentation for navigation rail view component.
...
PiperOrigin-RevId: 358834724
2021-02-22 10:14:00 -08:00