I've used the following technique to write out labels and values to a data field, with a variety of background and font colors and font sizes. Seems to work ok. But, for example, I can't write a value string that is black, with some RED characters for emphasis. I think if I generate the content by drawing, I'll have more flexibility.
bgView.setColor(bgColor);
labelView.setFont(lFont); labelView.setColor(lColor); labelView.setText(lStr);
valueView.setFont(vFont); valueView.setColor(vColor); valueView.setText(vStr);
I started to experiment with a direct draw instead. But if I set the data field background color, or setText, it seems to wipe out anything I've drawn to the display.
Anyone have a simple example of setting the data field's background color, drawing a simple shape (circle or line) and writing a Hello World (Hello is black, World is red)? That is really all I need to update my onUpdate function to be more flexible.
Thanks for any examples or tips!
-- Dave