Complete
over 1 year ago

bar drawing with using drawText on summer some devices work less colors (instruct, fr55...)

When using no transparent colour as background color in setColor than drawText, no text only usually rectangle. It's looks like system uses foreground color as background color in 4.2.1. 

  • this bug has  been already  fixed in the sdk update... see another bug report

  • Is this a problem in the simulator or on the actual device? I tried reproducing this in the simulator, but the text was displayed on a black rectangle as expected on the Forerunner 55 and Instinct 2. 

            dc.setColor(Graphics.COLOR_WHITE, Graphics.COLOR_BLACK);
            dc.drawText(dc.getWidth()/2, dc.getHeight()/2, Graphics.FONT_SYSTEM_TINY, "Foreground Test", Graphics.TEXT_JUSTIFY_CENTER);

  • bad drawing with using drawText on some devices with less colors (instruct, fr55...)

    When using no transparent colour as background color in setColor than drawText, no text only usually rectangle. It's looks like system uses foreground color as background color in 4.2.1 so text is invisible.