rightnao
c99cba6a76
[MaterialCardView] Add drawable states that MaterialCardView should still respect, even if duplicating its parent state
...
PiperOrigin-RevId: 800720830
2025-08-29 11:47:44 -07:00
rightnao
2f0935a706
[Card] Support StateListShapeAppearance in MaterialCardView
...
PiperOrigin-RevId: 785529211
2025-07-24 18:34:07 +00:00
rightnao
37adad28af
[Tokens] Update tokens to 16.0.2
...
PiperOrigin-RevId: 739249542
2025-03-24 15:27:25 +00:00
dsn5ft
0697f6fe89
[Gradle] Enable non transitive R classes (resource namespacing) and fix errors
...
PiperOrigin-RevId: 738871402
2025-03-20 18:34:33 +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
pubiqq
bc2fdeadaf
[Internal] Prefer platform methods to compat ones
...
Resolves https://github.com/material-components/material-components-android/pull/4532
GIT_ORIGIN_REV_ID=180dec736f2521579e483317a4d537629d8f247b
PiperOrigin-RevId: 715494344
2025-01-15 18:06:07 +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
pubiqq
c1c19c8b3a
[Internal] Update targetApi suppressions in resources
...
Resolves https://github.com/material-components/material-components-android/pull/4308
GIT_ORIGIN_REV_ID=8016db9460e4e1013e56a50e541406ff356e2837
PiperOrigin-RevId: 702111281
2024-12-04 23:58:23 +00:00
pekingme
47cbd7e81a
[Tokens] Upgraded to 10.0.1
...
PiperOrigin-RevId: 676467444
2024-09-20 19:48:02 +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
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
pfthomas
9b09b693d9
[Tokens] Update tokens to v4.0.0
...
PiperOrigin-RevId: 626141198
2024-04-19 21:18:49 +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
Material Design Team
31af945caa
[MaterialCardView] Support android:duplicateParentState.
...
MaterialCardView hasn't shown the pressed ripple effect if the parent view is
pressed and it has `android:duplicateParentState=true`, because its foreground
drawable is not a RippleDrawable. This CL fixes the issue.
PiperOrigin-RevId: 567117430
2023-09-21 14:46:51 +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
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
rightnao
dfb9e81eeb
[Motion] Motion tweaks
...
PiperOrigin-RevId: 493105642
2022-12-06 15:22:34 -05: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
8eb4aeb6f8
[Tokens] Internal update.
...
PiperOrigin-RevId: 492290020
2022-12-02 15:03:36 +00:00
pekingme
bf7b3c275f
[Card] Integrated M3 tokens.
...
PiperOrigin-RevId: 490569453
2022-11-28 17:16:16 -05:00
rightnao
3975a2e908
[MaterialCardView] Update motion specs for Z-shadow
...
PiperOrigin-RevId: 472535721
2022-09-08 13:40:46 -04:00
rightnao
7d129eae21
[MaterialCardView] Add fade animation for checked icon drawable
...
PiperOrigin-RevId: 471663189
2022-09-01 17:23:43 -07:00
conradchen
bfce84a27c
[Card] Migrated shape appearance to new shape system.
...
PiperOrigin-RevId: 445180046
2022-04-28 16:25:56 -04:00
conradchen
b4cab87015
[Card] Fix crash on Pre-Q devices when checked icon is null
...
LayerDrawable has this bug that if any of the provided drawables are null during creation, it crashes. The fix is only available on Q+. Fixes this by providing a dummy drawable when we find checked icon is null.
Resolves https://github.com/material-components/material-components-android/issues/2532
PiperOrigin-RevId: 426179927
2022-02-03 20:19:40 -08:00
Material Design Team
cfc00aa5a3
Update android core class definitions across material
...
PiperOrigin-RevId: 414839941
2021-12-08 14:56:25 +00:00
conradchen
bb23e2d6ad
[M3][Card] Update M3 card elevation according to the spec
...
Spec: https://m3.material.io/components/cards/specs
PiperOrigin-RevId: 412921858
2021-11-29 19:17:33 +00:00
Material Design Team
a487c89185
Internal change
...
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
conradchen
283715d348
[Card] Fix checked icon gravity issues
...
Re-measures the card when checked icon gravity changes in order to move the icon position. Also corrects the padding adjustment logic for pre-lolipop or when compat paddings are being used.
PiperOrigin-RevId: 408876717
2021-11-10 16:11:35 -05:00
conradchen
bc56d5b43b
[M3][Card] Change checkedIconGravity values to enum
...
PiperOrigin-RevId: 408415041
2021-11-10 16:00:52 -05:00
Gabriele Mariotti
250d56de4b
[MaterialCardView] Added option to set the checkedIcon gravity
...
Resolves https://github.com/material-components/material-components-android/pull/1679
GIT_ORIGIN_REV_ID=a35c862071d83ced72c4d7257f2b7bc93101bfbb
PiperOrigin-RevId: 407662373
2021-11-10 15:35:03 -05:00
dsn5ft
9ae56ceedd
[Javadocs] Remove all broken attr links from Javadocs
...
PiperOrigin-RevId: 404246710
2021-10-20 19:06:18 +00:00
conradchen
b40b782525
[M3][Card] Add filled card style to M3 themes
...
PiperOrigin-RevId: 398780149
2021-09-28 14:52:04 +00:00