Assigned
Status Update
Comments
al...@gmail.com <al...@gmail.com> #2
Can you attach / share a project that reproduces the issue?
ni...@google.com <ni...@google.com> #3
Now i sure this is viewpager2's bug.
because just occur recyclerview inside viewpager2 with constraintlayout, if paging3 use Independently with viewpage2 it's not problem.
because just occur recyclerview inside viewpager2 with constraintlayout, if paging3 use Independently with viewpage2 it's not problem.
ni...@google.com <ni...@google.com>
ni...@google.com <ni...@google.com> #5
deleted
ap...@google.com <ap...@google.com> #6
deleted
ni...@google.com <ni...@google.com> #7
ca...@google.com <ca...@google.com>
sp...@google.com <sp...@google.com> #8
What is the point of supporting clip-path with android:fillType="evenOdd" in VecorDrawableCompat if it not rendered the same way by the platform? By running the attached application on the emulator you can see that clip-path with android:fillType="evenOdd" works correctly on API 21, but not on 24 and 29.
sp...@google.com <sp...@google.com> #9
Clarification. clip-path with android:fillType="evenOdd" is rendered correctly on emulator only on API 21 and when vectorDrawables.useSupportLibrary is not specified in the build.gradle file.
sp...@google.com <sp...@google.com> #10
ag/8641889 demonstrates how clip-path with android:fillType="evenOdd" could work in Studio when the problems with the platform rendering are solved.
sp...@google.com <sp...@google.com> #11
Studio SVG to vector drawable conversion now fully supports clipPath with clip-rule="evenodd". The remaining problem is that the framework doesn't render such drawables correctly. See also b/138141209 .
Description
However, clipPaths don't currently support this attribute, meaning that they will always be drawn using the default fillType of "nonZero".
Without the ability to specify fillType on a clipPath, it is impossible to convert certain SVGs to VectorDrawable (specifically those that contain clip-path elements with fill-rule="evenodd").