Assigned
Status Update
Comments
da...@google.com <da...@google.com>
di...@google.com <di...@google.com>
hu...@google.com <hu...@google.com>
jg...@google.com <jg...@google.com> #2
I tried adding screenshotTestImplementation(libs.androidx.window)
but it didn't fix it.
ph...@chefkoch.de <ph...@chefkoch.de> #3
This is likely a duplicate of libs.androidx.window
dependency to implementation
to see if it works?
Description
DESCRIBE THE ISSUE IN DETAIL:
While playing around a little bit more I encountered an issue when having an XML drawable with decimal places in its size values, e.g.
android:height="24.13dp"
. Important to say that this happens in conjunction with the Coil library. I used theAsyncImage
composable and configured some placeholder and error drawable for fallback. Since previews can't fetch network images, the fallback image is taken.STEPS TO REPRODUCE:
./gradlew updateDebugScreenshotTest
"html": "\"24,129974dp\" in attribute \"height\" is not a valid format. (<A HREF=\"editAttribute:height/24,129974dp\">Edit</A>)"
Additional info:
If you open
balance.xml
in thedrawable
folder and change back line 3. toandroid:height="24dp"
everything is working as expected.Studio Build: Build #AI-241.15989.150.2412.11822507, built on May 9, 2024
Version of Gradle Plugin: 8.6.0-alpha01
Version of Gradle: 8.7
Version of Java: Target: 1.8, JDK: 17, OpenJDK 64-Bit Server VM by JetBrains s.r.o.
OS: Mac OS Sonoma 14.5