I do use a checkerboard png for amoled devices to avoid burn ins in low power mode.
Current solution
Generate a fitting checkerboard png for each device resolution and simply draw it once over the watchface like following:
if (checkerboard != null) {
dc.drawBitmap(0, minutes % 3, checkerboard);
}
Problem
Whenever I add new device I need to check the resolution and may need to create a new fitting checkerboard png.
Question
Does anyone use a more flexible solution? In the past I surely was thinking a 2x2 pixel png would solve the issue as well and then loop over the screen size and draw the 100s of small pngs. I assume in the past I did decide to use the large png solution as it works more efficiently but now I want to reevalute that.
Is there a better and more flexibel way to integrate the checkerboard png overlay solution for amoled devices? Like using a 100x100 png and draw it a few times depending on the device resolution to get a good compromise? What solution do you use?