mistamek / Android-drawable-preview-plugin

Android studio plugin for preview drawables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: found a problematic VectorDrawable icon

AndroidDeveloperLB opened this issue · comments

Here's what I see:

image

Attached the problematic file.

ic_call_end_white_24dp.zip

Hi, I am terribly sorry for the long answer. For rendering vector icons, I use the JetBrains library. I will look at what could be the problem, but I do not guarantee that I can fix it.

I think it's an IDE issue. Reported here too about a similar file:

https://issuetracker.google.com/issues/122785997

If it's JetBrains , maybe you could give them more information, here:

https://youtrack.jetbrains.com/newIssue?draftId=25-2224393

No, this is not an IDE problem. Most likely the problem is that the vector is rendered to a small icon and, because of this, a tint comes out. Tomorrow I will try to render the vector in higher resolution, and then compress it.

Why would a black tint come out for a vectorized image that has only red/white color ?
And only in some part of it...
It's a vector. It should look fine no matter how small/large it is.
And since it occurs outside of the scope of your plugin, I think it is related to the IDE in one way or another.

Well, I have no idea why :) But definitely agree that it should look the same in different sizes. Btw did not notice that the same problem was in the xml layout. In that case, let's wait for a response from Google / JetBrains.

OK thank you.
Maybe we should close it, then?
Your choice :)

Ok, let's close it for now. If additional actions will be required, I will correct it.

OK thank you.
Could you please report about it on the Jetbrains forum, though? I only wrote about it on the issue tracker...