Closed PhilipDukhov closed 1 year ago
False positive "Useless resource element" ignoring fillAlpha
Sample code to reproduce:
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="56dp" android:height="56dp" android:viewportWidth="56" android:viewportHeight="56"> <path android:pathData="h56v56h-56v-56" android:fillColor="#ffffff" android:fillAlpha="0.16"/> <path android:pathData="h56v56h-56v-56" android:fillColor="#ffffff" android:fillAlpha="0.16"/> </vector>
Second path is marked as "invisible" and suggested to be removed. But it's visible because of first path fillAlpha parameter, which seems to be ignored during this inspection.
fillAlpha
Thank you, nice catch!
False positive "Useless resource element" ignoring fillAlpha
Sample code to reproduce:
Second path is marked as "invisible" and suggested to be removed. But it's visible because of first path
fillAlpha
parameter, which seems to be ignored during this inspection.