I started creating watchfaces today. I read a lot and start to create my own simple watchface. Now I have a problem. The activity bar won't be drawn. Nearly the same code I used for my battery bar which works fine.
<snip>
var activity = ActivityMonitor.getInfo();
var actStat = (activity.steps/activity.stepGoal)*100;
var actBar = (dc.getWidth()/100)*actStat;
var ActPosY = (dc.getHeight()-3);
dc.setColor(Gfx.COLOR_RED,Gfx.COLOR_WHITE);
dc.drawRectangle(0,ActPosY,actBar,3);
dc.fillRectangle(0,ActPosY,actBar,3);
<snip>
The activity bar I want to create on the bottum of the screen won't be drawed. Some Ideas?
Sorry about my english.
Best regards
Ronny