Hello,
I have a watchface where the user can change the color of the different parts: hours, minutes, date and battery level.
Today I have changed the programming to expand the number of colors. In the simulator everything has gone well but in the clock I have been changing the colors and from a moment when I chose some colors the element did not appear on the screen. If I change to one of the initial colors it reappears.
This is the program:
if (HourcolorNum == 0) { dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_BLACK); } else if (HourcolorNum == 1) { dc.setColor(Gfx.COLOR_YELLOW, Gfx.COLOR_BLACK); } else if (HourcolorNum == 2) { dc.setColor(Gfx.COLOR_RED, Gfx.COLOR_BLACK); } else if (HourcolorNum == 3) { dc.setColor(Gfx.COLOR_GREEN, Gfx.COLOR_BLACK); } else if (HourcolorNum == 4) { dc.setColor(Gfx.COLOR_BLUE, Gfx.COLOR_BLACK); } else if (HourcolorNum == 5) { dc.setColor(Gfx.COLOR_LT_GRAY, Gfx.COLOR_BLACK); } else if (HourcolorNum == 6) { dc.setColor(Gfx.COLOR_ORANGE, Gfx.COLOR_BLACK); } else if (HourcolorNum == 7) { dc.setColor(Gfx.COLOR_DK_BLUE, Gfx.COLOR_BLACK); } else if (HourcolorNum == 8) { dc.setColor(0x5500AA, Gfx.COLOR_BLACK); } else if (HourcolorNum == 9) { dc.setColor(Gfx.COLOR_PINK, Gfx.COLOR_BLACK); }
My device is Vivoactive 3.
Initially they were the first 5 colors.
Does anyone know what could have happened?
Thanks