yes that is totally normal, you'll get differences...
# compose
p
yes that is totally normal, you'll get differences even between emulators running on different platforms
j
I was expecting this indeed. I’m trying to find some way to test just a component. I’m working on Design System Components on top of Compose. So I’m trying to test and validate the shape, color, and visual information from this component. The component itself is okay. Just the background behind it, it has this difference.
p
can't you just force the same surface background from the test?
j
I tried with Box. But I guess with Surface will work. 🙂
Using Surface instead Box worked! 🙂 Thanks!
👍 1
Hahah, sorry, I jumped the gun. Still gives me different colors 😕 E5E5E5 on API 28 & E6E6E6 on API 30. Even with Surface. 😕 I’ll investigate more. But thanks for your help.