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
1d4c076a0e
[LoadingIndicator] Added a new component.
...
PiperOrigin-RevId: 663371718
2024-08-16 17:35:28 +00:00
pekingme
da0b738679
[Tokens] Upgraded to v5.0.0.
...
PiperOrigin-RevId: 663358341
2024-08-16 17:33:16 +00:00
rightnao
b36919f203
[NavigationRail] Add expanded state
...
PiperOrigin-RevId: 660106312
2024-08-07 13:54:33 +00:00
hunterstich
a7c3e0b111
[Typography] Automated g4 rollback of changelist 651033811.
...
*** Reason for rollback ***
fontVariationSettings fix landed in AndroidX
*** Original change description ***
[Typography] Added workaround for fontVariationSettings being set through a TextAppearance
A bug in AppCompatTextView causes fontVariationSettings set through a TextAppearance in xml to not take effect. This is a temporary woraround that cycles the settings to force them to be re-set until the fix is made in appcompat.
Resolves https://github.com/material-components/material-components-android/pull/4235
PiperOrigin-RevId: 659534202
2024-08-07 05:10:40 +00:00
hunterstich
fa5224ef05
[Typography] Added workaround for fontVariationSettings being set through a TextAppearance
...
A bug in AppCompatTextView causes fontVariationSettings set through a TextAppearance in xml to not take effect. This is a temporary woraround that cycles the settings to force them to be re-set until the fix is made in appcompat.
PiperOrigin-RevId: 651033811
2024-07-10 19:22:57 +00:00
hunterstich
a9debc7a26
[Typography] Add variable font support to TextAppearance
...
PiperOrigin-RevId: 650200668
2024-07-08 20:33:22 +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
dsn5ft
9b6ceac72a
[i18n] Update string translations
...
PiperOrigin-RevId: 633623911
2024-05-14 17:16:18 +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
pfthomas
9b09b693d9
[Tokens] Update tokens to v4.0.0
...
PiperOrigin-RevId: 626141198
2024-04-19 21:18:49 +00:00
dsn5ft
25d189bb8d
[TextAppearance] Update font loading to load synchronously for system font families
...
Also avoids creating the Typeface twice because previously shouldLoadFontSynchronously() and getFont() would both create a Typeface in some cases
PiperOrigin-RevId: 625813788
2024-04-18 18:48:09 +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
pfthomas
bc5987379e
[NTC][ProgressIndicator] Internal changes
...
PiperOrigin-RevId: 581401427
2023-11-13 15:12:51 +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
pekingme
bc824b4344
[Ripple] Updated focused and pressed state from 0.12 to 0.10 to increase the contrast ratio with tonal surface color.
...
PiperOrigin-RevId: 566768258
2023-09-20 12:30:59 +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
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
pekingme
9f1caa2c64
[Tokens] Upgraded to v0.162.
...
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
dsn5ft
5689ce2608
[i18n] Update string translations
...
PiperOrigin-RevId: 513006191
2023-02-28 22:08:20 +00:00
pekingme
23dc14ca3a
[Tokens] Updated to v0.157.
...
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00:00
pekingme
2019bf90be
[Tokens] Upgraded to version v0.147.
...
PiperOrigin-RevId: 492551875
2022-12-02 18:34:12 -05:00
pekingme
17e3581642
[Tokens] Upgraded to v0.145
...
PiperOrigin-RevId: 492291163
2022-12-02 15:11:37 +00:00
pekingme
8ee6c00f73
[Tokens] Upgraded to v0.142
...
Added lStar CSLs for new neutral palettes in v31 and above.
PiperOrigin-RevId: 491693724
2022-11-30 17:31:11 -05:00
pekingme
12ef329276
[Tokens] Upgraded to v0.141
...
PiperOrigin-RevId: 490324728
2022-11-23 15:13:20 -05:00
pekingme
b2b546b205
[Tokens] Internal updates.
...
PiperOrigin-RevId: 490295053
2022-11-23 15:11:19 -05:00
afohrman
1d3e374387
[Adaptive Sheets][Side Sheets] Moved behavior_draggable attribute to the resources package.
...
PiperOrigin-RevId: 482590917
2022-10-21 16:28:01 +00:00
pekingme
1ef53e2b37
[Tokens] Upgraded to v0.126 for 1p and 3p.
...
PiperOrigin-RevId: 475355503
2022-09-20 12:59:30 -04:00
dsn5ft
2b1af84573
[TypefaceUtils] Add defensive null check for typeface passed in to util
...
PiperOrigin-RevId: 465333642
2022-08-04 14:49:13 -04:00
pekingme
d0c3ea0eb5
[Tokens] Upgraded token resources to v0.99.
...
PiperOrigin-RevId: 452574141
2022-06-02 15:41:39 -07:00
pekingme
c3406dc3ab
[Tokens] Upgrade resources to v0.95.
...
PiperOrigin-RevId: 449840889
2022-05-20 15:19:31 -04:00
conradchen
431e291b01
[Translation] Update string translations
...
PiperOrigin-RevId: 443191056
2022-04-20 17:19:02 -04:00
conradchen
2544c1f243
[Color] Fix MaterialColors cannot handle CSL issue
...
Resolves https://github.com/material-components/material-components-android/issues/955
PiperOrigin-RevId: 440358122
2022-04-08 11:01:05 -04:00
pekingme
c5284c6ce8
[Tokens] Upgraded to v0.87.
...
PiperOrigin-RevId: 439670161
2022-04-07 11:15:21 -04:00
pekingme
a878690a93
[Tokens] Upgraded to v0.86.
...
PiperOrigin-RevId: 435371390
2022-03-17 18:48:53 +00:00
pekingme
ccfc0eecdf
[Tokens] Upgraded to v0.79.
...
PiperOrigin-RevId: 434669243
2022-03-15 19:18:27 +00:00
pekingme
64c6d047a9
[Tokens] Updated copyright year.
...
PiperOrigin-RevId: 427833895
2022-02-11 15:47:03 +00:00
hunterstich
d66676fd6b
[NavigationBar][NavigationRail] Removed font scaling from NavigationBarView item labels.
...
PiperOrigin-RevId: 426264069
2022-02-03 20:20:31 -08:00
jeremymuhia
810541e7c0
[TypefaceUtils] clean up code smell
...
PiperOrigin-RevId: 426161045
2022-02-03 20:18:37 -08:00
jeremymuhia
2d90a7a508
[CollapsingTextHelper][TextAppearance] refactor how bold typefaces are created
...
PiperOrigin-RevId: 425988666
2022-02-02 18:17:01 -08:00