pubiqq
78189012da
[BottomNavigation] Fix navigation item layout in non-compact windows
...
Resolves https://github.com/material-components/material-components-android/pull/4793
- 7277b3745c15b6058b59009380d3ce45533a76d2 by pubiqq <serj.ese@gmail.com>
PiperOrigin-RevId: 796946899
2025-08-20 14:53:17 +00:00
pekingme
e980f6018d
[BottomNav] Added Expressive styles.
...
PiperOrigin-RevId: 749114894
2025-04-21 16:06:50 +00:00
pekingme
02fcdf5fb4
[BottomNav] Migrated to new token sets.
...
PiperOrigin-RevId: 749087804
2025-04-21 15:56:00 +00:00
pekingme
d0194fb050
[BottomNav] Rearranged M3 styles.
...
PiperOrigin-RevId: 749071804
2025-04-21 15:37:59 +00:00
Material Design Team
f062532d6d
Fixed deprecated link in [LabelVisibilityMode.java]( https://developer.android.com/reference/com/google/android/material/bottomnavigation/LabelVisibilityMode ) source file.
...
PiperOrigin-RevId: 741255340
2025-03-31 14:44:14 +00:00
rightnao
37adad28af
[Tokens] Update tokens to 16.0.2
...
PiperOrigin-RevId: 739249542
2025-03-24 15:27:25 +00:00
pekingme
67b6dcebe5
[Tokens] Upgraded to 15.0.26
...
PiperOrigin-RevId: 731761144
2025-03-03 19:50:32 +00:00
pekingme
c39dc388b3
[Tokens] Upgraded to version 15.0.12.
...
PiperOrigin-RevId: 730510849
2025-02-25 19:32:33 +00:00
pekingme
7c5dce0f82
[Tokens] Updated to 14.0.0.
...
PiperOrigin-RevId: 728471950
2025-02-20 15:36:11 +00:00
rightnao
2ebf28fdb5
[BottomNavigationView] Consume all touch events in BottomNavigationView so touch events are not passed to the view underneath
...
PiperOrigin-RevId: 703309708
2024-12-10 17:58:41 +00:00
pekingme
4f7bf293ea
[Tokens] Updated token outputs to v13.2.0 and integrated new AppBar tokens.
...
PiperOrigin-RevId: 703208208
2024-12-10 17:57:50 +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
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
8c4da47b84
Automated g4 rollback of changelist 678336777
...
PiperOrigin-RevId: 679644812
2024-10-01 18:40:59 +00:00
rightnao
13dbcfcba5
[NavigationBar] Add new textviews for horizontal textview instead of moving it between layouts
...
PiperOrigin-RevId: 678336777
2024-09-25 14:27:34 +00:00
pubiqq
b77824fcc7
[Internal] Remove pre-Lollipop resources
...
Resolves https://github.com/material-components/material-components-android/pull/4280
GIT_ORIGIN_REV_ID=88ee02b5c93b51a154503b7a1f1b85ddeea3cb57
PiperOrigin-RevId: 676472901
2024-09-20 19:49:20 +00:00
pekingme
47cbd7e81a
[Tokens] Upgraded to 10.0.1
...
PiperOrigin-RevId: 676467444
2024-09-20 19:48:02 +00:00
rightnao
928522087b
[NavigationRail] Add submenu support
...
PiperOrigin-RevId: 670703103
2024-09-04 16:43:23 +00:00
pubiqq
23aca03255
[Internal] Remove pre-Lollipop checks
...
Resolves https://github.com/material-components/material-components-android/pull/4266
GIT_ORIGIN_REV_ID=1de7808e66dd6666c893217c76c7499afe2df6a3
PiperOrigin-RevId: 669688797
2024-09-03 13:31:29 +00:00
pekingme
87076dd20b
[Tokens] Upgraded to 8.0.0.
...
PiperOrigin-RevId: 669673113
2024-09-03 13:28:26 +00:00
pekingme
9188b8f6ab
[Tokens] Upgraded to 7.1.0.
...
PiperOrigin-RevId: 669087033
2024-08-30 18:49:53 +00:00
pekingme
b65df32b0f
[Tokens] Upgraded to 7.0.0
...
PiperOrigin-RevId: 668133320
2024-08-28 22:34:40 +00:00
pekingme
8731cad96a
[Tokens] Upgraded to v6.1.0.
...
PiperOrigin-RevId: 665569215
2024-08-21 17:24:43 +00:00
pekingme
da0b738679
[Tokens] Upgraded to v5.0.0.
...
PiperOrigin-RevId: 663358341
2024-08-16 17:33:16 +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
Material Design Team
3ea7709cff
[BottomNavigationView] Fixing bad link in class doc comment
...
PiperOrigin-RevId: 656464997
2024-07-30 09:04:02 -07:00
rightnao
3fbb198a1c
[BottomNavigationView] Update max item count to 6
...
PiperOrigin-RevId: 650353790
2024-07-08 20:34:03 +00:00
pekingme
61597e1aed
[Tokens] Refreshed tokens in version "4.0.0"
...
PiperOrigin-RevId: 641994522
2024-06-11 18:58:26 +00:00
rightnao
87ab6606fd
[NavigationRail] Add an attribute to control how we measure the bottom padding of the navigation item
...
PiperOrigin-RevId: 640992331
2024-06-11 18:57:33 +00:00
rightnao
abb6e91a0a
[NavigationBar] Add new itemIconGravity attribute
...
PiperOrigin-RevId: 638866190
2024-06-05 18:24:24 +00:00
rightnao
60a525a167
[BottomNavigationView][NavigationRailView] Modifying NavigationBarView to match more to specs and restructuring layout to prepare for expressive changes
...
Changes:
- minHeight for BottomNavigationView is actually a minimum height, not an exact height; the bar height now wraps content properly
- For BottomNavigationView, bottom item padding now counts from the bottom of the label group instead of from the lowest label baseline. The label TextViews also have a min height of the line height supplied by the provided TextAppearance. This aligns with our m3 specs
- Structural changes in navigation item layouts. Previously the label and the icon were not aware of each other in a FrameLayout and could potentially overlap; this is no longer the case as they are in a LinearLayout
- padding between icon and label is 4dp as per specs
- Centering logic changed to center the icon and label as a group, not separately
PiperOrigin-RevId: 635922505
2024-05-23 14:54:36 +00:00
pubiqq
510881a469
[Internal] Stop using deprecated androidx.core.view.* methods
...
Resolves https://github.com/material-components/material-components-android/pull/4117
GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00:00
Ga\u00ebtan Muller
b3fe6a7f61
[Cleanup] Remove redundant version checks for api <= 19.
...
Resolves https://github.com/material-components/material-components-android/pull/3849
GIT_ORIGIN_REV_ID=47bb2fcc8031740e5a7d4f741f1ada2af025e126
PiperOrigin-RevId: 632154861
2024-05-09 18:46:02 +00:00
rightnao
3880efefef
[Badge] Adjust badges to fit within the bounds of the first ancestor view that clips its children to avoid getting cut off
...
PiperOrigin-RevId: 629810011
2024-05-02 15:42:17 +00:00
pekingme
28cc2441d0
[Tokens] Updated to version 2.3.4.
...
PiperOrigin-RevId: 610835532
2024-02-29 08:36:02 -08:00
pekingme
ee7b4bddb4
[Tokens] Added formatting to break long lines and differentiate different comments.
...
PiperOrigin-RevId: 605684816
2024-02-12 18:03:59 +00:00
pekingme
89212044a9
[Tokens] Updated to v0.213.
...
PiperOrigin-RevId: 603749766
2024-02-06 14:30:16 +00:00
pekingme
08d7ded67b
[Tokens] Upgraded to v0.207.
...
PiperOrigin-RevId: 600947836
2024-01-24 21:05:53 +00:00
pekingme
4ccaaaa31d
[Tokens] Upgraded to v0.203
...
PiperOrigin-RevId: 579928128
2023-11-08 15:12:21 +00:00
pekingme
637362d597
[Tokens] Upgraded to v0.195
...
PiperOrigin-RevId: 579905417
2023-11-06 20:27:15 +00:00
pekingme
0463c507d7
[Tokens] Upgraded to v0.185
...
PiperOrigin-RevId: 579904837
2023-11-06 20:26:18 +00:00
pekingme
bfee8a74d7
[Tokens] Upgraded to v0.175.
...
PiperOrigin-RevId: 572648883
2023-10-12 11:04:28 -07:00
rightnao
78cc54b8c3
[Badge][NavRail][BottomNavBar] Adjust badge vertical offset for certain components to fit design requirements
...
PiperOrigin-RevId: 569527192
2023-10-02 13:41:39 +00:00
pekingme
8204856dd4
[Token][Color] Upgraded to v0.170 for tonal surface colors.
...
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
rightnao
e3b255b3a0
[Docs] Crosslink github docs in javadocs
...
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +00:00
rightnao
7bd9724078
[BottomNavigationView] Integrate tokens and add shape appearance support
...
PiperOrigin-RevId: 524919091
2023-04-19 13:53:26 -07:00
rightnao
b706506c3d
[Badge] Add attribute to automatically adjust badge so that it is within the anchor view's grandparent view's bounds
...
PiperOrigin-RevId: 523171594
2023-04-11 20:00:06 -07:00
pekingme
9f1caa2c64
[Tokens] Upgraded to v0.162.
...
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +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