26 Commits

Author SHA1 Message Date
dsn5ft
22de817c30 [Docs] Internal change
PiperOrigin-RevId: 613673995
2024-03-07 20:52:14 +00:00
Material Design Team
5471b8d37a Internal change
PiperOrigin-RevId: 607976596
2024-02-26 13:44:54 -08:00
leticiars
46778db594 [Gradle] Update AppCompat dependency to 1.6.1
This fixes Proguard warnings about ShadowDrawableWrapper.

Resolves https://github.com/material-components/material-components-android/issues/3374

PiperOrigin-RevId: 530651081
2023-05-09 13:38:23 -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
Material Design Team
cfc00aa5a3 Update android core class definitions across material
PiperOrigin-RevId: 414839941
2021-12-08 14:56:25 +00:00
marianomartin
ef8ad4dff4 [BottomAppBar] Support fab with rounded corners in cradle
PiperOrigin-RevId: 364483537
2021-03-24 10:29:38 -04:00
marianomartin
049ad022a6 Delete components build.gradle files
PiperOrigin-RevId: 320944144
2020-07-15 09:38:31 -07:00
marianomartin
26fc10cfc9 [MaterialShapeDrawable] Fixed exception with int division
Resolves https://github.com/material-components/material-components-android/issues/937

PiperOrigin-RevId: 319778531
2020-07-06 11:10:33 -04:00
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
Material Design Team
073382034a Migrate android.support.v4.content.ContextCompat to androidx
Android X migration

PiperOrigin-RevId: 315791679
2020-06-11 17:27:51 -07:00
haodong
9f48006d62 [MaterialShapeDrawable] Fixed shadow paint not updating color while setting shadow color.
Resolves https://github.com/material-components/material-components-android/issues/909

PiperOrigin-RevId: 290750682
2020-01-21 09:11:11 -08:00
marianomartin
781e79f4b1 Disable MaterialCardView bitmap drawing
PiperOrigin-RevId: 281825046
2019-11-22 21:27:37 +00:00
cketcham
11755edd24 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264942383
2019-08-29 10:20:46 -04:00
dniz
cc73c2a630 Update TODOs
PiperOrigin-RevId: 259535844
2019-07-23 11:21:39 -04:00
dniz
0512f776c5 Remove sub-package AndroidManifest.xml files from lib directory
PiperOrigin-RevId: 258390736
2019-07-16 13:18:32 -04:00
cketcham
eeaf69da81 Remove ShadowDrawableWrapper as we now use MaterialShapeDrawable to handle shadows
PiperOrigin-RevId: 248769968
2019-05-21 11:12:29 -04:00
marianomartin
fd01672af5 Fix nullness in FAB
PiperOrigin-RevId: 238990635
2019-03-22 16:21:40 -04:00
dniz
11df79f95c Clean up Gradle build shorthands for appcompat/androidx libraries
PiperOrigin-RevId: 229369959
2019-01-18 14:13:26 -05:00
cketcham
dc72aaeed4 Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
isabellekim
2997b6995f Add shadow compat support for cut corners and triangle edge treatments, updating ShapePath to add extra shadow arcs when needed:
+ Updates LineShadowOperation to call drawEdgeShadow with a horizontal edge
+ ShapePath has a start & end shadow angle and will add shadow arcs to fill in gaps between shadow operations

PiperOrigin-RevId: 219686107
2018-11-01 16:22:14 -07:00
isabellekim
b07fdf2459 Remove anti-aliasing from cornerShadowPaint (to allow corner shadows to line up with edge shadows along angles)
PiperOrigin-RevId: 219575570
2018-11-01 16:20:43 -07:00
cketcham
ab1992a2ba Fix shadow rendering and add shadow rotation angle for MaterialShapeDrawable
PiperOrigin-RevId: 218576270
2018-10-28 19:13:20 -04:00
cketcham
b623595c7f Fix logic which determines when shadow should be drawn inside the bounds of an arc vs outside
PiperOrigin-RevId: 218525816
2018-10-28 19:12:19 -04:00
cketcham
2edfef1a6c Draw compatibility shadows if the shape is concave or native shadows aren't supported.
PiperOrigin-RevId: 217689320
2018-10-28 18:28:35 -04:00
dniz
b504d3fc3d Set up Gradle task for docs build
PiperOrigin-RevId: 194457377
2018-04-30 12:03:20 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00