2.2.1
This patch release brings several internal improvements, along with a pretty significant bug fix, and a couple of external upgrades for the ShadowsViewGroups.
-
Previously,
Viewshadows in theForegroundandBackgroundplanes ignored the parentViewGroup'sclipToPaddingstate, which would cause another kind of draw artifact for targets extending beyond the padded bounds of a parent withclipToPaddingenabled. This behavior has been corrected with the current release. -
Most of the built-in lint checks for the base
ViewGroups have been wrapped and augmented to work with the library classes, along with a custom check for some of the library's layout attributes. Details can be found on the ViewGroups wiki page. -
Each
ShadowsViewGroupnow registers its group attributes with the debug tooling, so they should show up in the layout inspector, per the documentation, though I've never seen any custom attributes there, even from Jetpack libraryViews.The individual attributes on the arbitrary child
<View>s are not handled as such, currently. I'm not sure that it's even possible to do this there without some severe hackery.