Assigned
Status Update
Comments
an...@gmail.com <an...@gmail.com> #2
Can you attach / share a project that reproduces the issue?
gi...@gmail.com <gi...@gmail.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.
Description
<path
android:name="ellipse"
android:pathData="M 0 -247.5 C 136.69 -247.5 247.5 -136.69 247.5 0 C 247.5 136.69 136.69 247.5 0 247.5 C -136.69 247.5 -247.5 136.69 -247.5 0 C -247.5 -136.69 -136.69 -247.5 0 -247.5 Z"
android:strokeWidth="48"
android:strokeAlpha="1"
android:strokeColor="#01adcd"
android:strokeLineCap="round"
android:strokeLineJoin="miter"
android:strokeMiterLimit="4"
android:trimPathStart="0"
android:trimPathEnd="0"
android:trimPathOffset="0" />
After that, I created .apk using aapt2 to load the above resource using ResourcesLoader.
But in the output, I am getting the wrong display with a dot inside (screenshot attached).
On the other hand, adding the source drawable to a sample project and compiling it via Android Studio with no explicit usage of ResourcesLoader, then drawable represents fine, with no mistakes (no dot in the middle).
This problem is repeated for strokeLineCap = ”round” and “square” when trimPathStart and trimPathEnd = 0.
Component used: ResourcesLoader, ResourcesProvider, VectorDrawable
Version used: 30
Devices/Android versions reproduced on: Android 11
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).