Hello,
I'm working on a widget to display the forecast from the current location.
I'm targeting severals watches, and I've noticed a problem between the Fenix 3 and the Fenix 5X, at least on the simulator (I don't have access to real world watch).
I'm using the following code to display mandatories OpenWeatherMap Credits :
/* mandatory OpenWeather credits. */
dc.setColor(Graphics.COLOR_DK_GRAY, Graphics.COLOR_WHITE);
dc.drawText(width/2, dc.getHeight()-43 , Graphics.FONT_XTINY, "Powered by", Graphics.TEXT_JUSTIFY_CENTER | Graphics.TEXT_JUSTIFY_VCENTER);
dc.setColor(Graphics.COLOR_PURPLE, Graphics.COLOR_WHITE);
dc.drawText(width/2, dc.getHeight()-23 , Graphics.FONT_XTINY, "OpenWeatherMap!", Graphics.TEXT_JUSTIFY_CENTER | Graphics.TEXT_JUSTIFY_VCENTER);
On the Fenix 3, it looks like this :
On the Fenix5X, it looks like this :
What am I doing wrong ?
Thanks for your help.