https://kotlinlang.org logo
Title
r

romainguy

04/05/2022, 9:49 PM
@enighma What do you need? Dithering should be automatically applied where necessary
:thread-please: 1
e

enighma

04/05/2022, 9:53 PM
I’ll create a thread to make ppl happier 🙂 This is to combat banding of gradients created with a
Brush
r

romainguy

04/05/2022, 9:55 PM
Gradients should be dithered by default, but I know there was a regression in a recent version of Android
Which should be fixed now
e

enighma

04/05/2022, 9:56 PM
That’s good to know. Let me test on the physical device as well (TV). The emulator (API28) do show banding, but maybe it’s tied to scaling it, rather than dithering not being applied.
r

romainguy

04/05/2022, 10:05 PM
28 might have been the API level with the issue 🙂
e

enighma

04/05/2022, 11:53 PM
Haha lucky me then!
luckily our prod device is > 28, but that is the “newest” emulator I can actually root.