pekingme
ef1e1cdbfc
[Button] Added corner morph.
...
PiperOrigin-RevId: 657325202
2024-07-30 09:14:03 -07:00
pekingme
e1a103e2e1
[Shape] Optimized getOutline().
...
PiperOrigin-RevId: 655217170
2024-07-24 15:32:02 +00:00
pekingme
8e63e7fc29
[Shape] Added state list support to shape appearance and corner size.
...
PiperOrigin-RevId: 653356021
2024-07-22 18:26:34 +00:00
pekingme
b9a2ce93c1
Automated g4 rollback of changelist 650718631
...
PiperOrigin-RevId: 651858394
2024-07-22 18:23:58 +00:00
pekingme
eb56238f46
[Shape] Moved unnecessary object from the drawable state.
...
PiperOrigin-RevId: 651118525
2024-07-22 18:20:56 +00:00
pekingme
2799892b5e
[Shape] Added state list support to shape appearance and corner size.
...
PiperOrigin-RevId: 650718631
2024-07-10 19:21:00 +00:00
Material Design Team
e4f00fda11
Automated g4 rollback of changelist 637051547
...
PiperOrigin-RevId: 637099379
2024-05-28 16:59:17 +00:00
pekingme
384d58fb98
[Button] Added responsive touch (corner morph).
...
PiperOrigin-RevId: 637051547
2024-05-25 02:19:11 +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
pekingme
e4fbb84f47
[Shape] Fixed stroke path calculation for custom interpolation start shape.
...
PiperOrigin-RevId: 629942322
2024-05-02 15:45:01 +00:00
pekingme
fb4761cc20
[ButtonToggleGroup] Added APIs to customize inside spacing and corner size between buttons.
...
PiperOrigin-RevId: 628469557
2024-04-29 19:03:54 +00:00
kendricku
cc125d9b47
[Shape] Add interpolation between default and an arbitrary corner radius for Android Material Views.
...
PiperOrigin-RevId: 626446451
2024-04-23 20:20:48 +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
pekingme
8204856dd4
[Token][Color] Upgraded to v0.170 for tonal surface colors.
...
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
rightnao
a16f180ce7
[Carousel] Fix issue with next carousel item not being masked properly
...
PiperOrigin-RevId: 551644125
2023-07-28 17:04:35 +00:00
pekingme
1562d0b64f
[ExposedDropdownMenu] Added attribute to set dropdown menu's container.
...
PiperOrigin-RevId: 528578402
2023-05-02 16:10:48 -04:00
hunterstich
c031144d26
[NavigationView] Updated NavigationView to use ViewOutlineProvider to handle corner clipping when possible and remove drawerLayoutCornerClippingEnabled attribute.
...
PiperOrigin-RevId: 527633449
2023-04-27 16:38:17 -04:00
pekingme
9f1caa2c64
[Tokens] Upgraded to v0.162.
...
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
hunterstich
733c9e08c2
[Carousel] Updated MaskableFrameLayout to clip more performantly.
...
Clipping is now handled differently depending on the shape being used and API level.
* 30+ always uses a ViewOutlineProvider
* 21+ uses a ViewOutlineProvider when the shape is a round rect
* All other API levels and cases fall back to canvas clipping
PiperOrigin-RevId: 516297199
2023-03-13 21:21:48 +00:00
conradchen
184be8a879
[Build] Internal change
...
PiperOrigin-RevId: 508758212
2023-02-10 23:33:46 +00:00
conradchen
25b3c2b15c
[TextField] Fix cutout not working when backgroundTint is set
...
When backgroundTint is set against the AutoCompleteTextView, since the background drawable of it is a LayerDrawable, which will try to get the constant states of its child drawables and create new drawables from them.
In CutoutDrawable we didn't implement that logic - so the constant state returned will be MaterialShapeDrawableState, and therefore the new drawables created are plain MaterialShapeDrawables, instead of CutoutDrawable.
Fixes this by correctly implement drawable state for CutoutDrawable.
Resolves https://github.com/material-components/material-components-android/issues/3041
PiperOrigin-RevId: 508664043
2023-02-10 16:20:37 +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
pubiqq
8cd2341a79
[Internal] Set the outline to a path whenever possible
...
Resolves https://github.com/material-components/material-components-android/pull/2934
GIT_ORIGIN_REV_ID=2ef0a3a6d9aa130e652fccbfc3d79f1345f2b32c
PiperOrigin-RevId: 478146360
2022-10-03 19:15:11 +00:00
pekingme
1ef53e2b37
[Tokens] Upgraded to v0.126 for 1p and 3p.
...
PiperOrigin-RevId: 475355503
2022-09-20 12:59:30 -04:00
pekingme
02327c3325
[Tokens] Updated to correctly convert shape tokens with asymmetric shape value.
...
PiperOrigin-RevId: 473036665
2022-09-08 14:25:16 -04:00
pubiqq
158d9f012a
[ShapeAppearance] Change relative corner size behavior for "vertical" shapes
...
Resolves https://github.com/material-components/material-components-android/pull/2929
GIT_ORIGIN_REV_ID=38438252c1d43d1ccbeb333bdfc7a76b469033f4
PiperOrigin-RevId: 471564817
2022-09-01 10:25:55 -07:00
Material Design Team
44cc9b745c
Add @CanIgnoreReturnValue to some APIs that return this.
...
PiperOrigin-RevId: 468721442
2022-08-22 15:22:27 -04:00
pubiqq
41eb6d0ff4
[ShapeAppearance] Fix rotation angle calculation
...
Resolves https://github.com/material-components/material-components-android/pull/2915
GIT_ORIGIN_REV_ID=4d738687c2023f2e9ec527c84ff0ec5ae9dba08e
PiperOrigin-RevId: 468608301
2022-08-19 11:01:53 -04:00
pekingme
ecb6284a8b
[Shape] Fixed overlapping of compat shadow of inner corners.
...
Resolves https://github.com/material-components/material-components-android/issues/1388
PiperOrigin-RevId: 454893622
2022-06-14 10:21:03 -07: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
pekingme
a1e83052d9
[Tokens] Regenerated token resources with <macro> type.
...
PiperOrigin-RevId: 449829080
2022-05-20 15:18:57 -04:00
conradchen
3fa48d4cd5
[Shape] Workaround the issue that Context.obtainStyledAttributes() doesn't handle @macro properly
...
Somehow Context.obtainStyledAttributes() with a provided style resource crashes if some attributes in the style are resolved to be macros. Using ContextThemeWrapper to wrap the context with the style doesn't have this issue. Workarounds this by always wrapping the context to retrieve attributes.
PiperOrigin-RevId: 445451176
2022-04-29 14:50:17 -04:00
pekingme
6217aa8581
[Shape] Added theme attributes and styles for new shape appearances.
...
PiperOrigin-RevId: 442925211
2022-04-20 12:55:55 -04:00
pubiqq
3ca41be8f0
[General] Fix typos
...
Resolves https://github.com/material-components/material-components-android/pull/2654
GIT_ORIGIN_REV_ID=b8f6728979875629f2c813ef90d2f671cf56b4eb
PiperOrigin-RevId: 442852630
2022-04-19 14:48:55 -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