Why is my text on my watch flickering when I add an image?

Why is my text on my watch flickering when I add an image?

BY 20 Feb 2018 Native Application Development

 

Heres my image part from the EDC. 

 

    part {

            name: “brain”;

            type: IMAGE;

            description {

               state: “default” 0;

               align: 0.5 0.5;

               min: 25 25;

               rel1 { relative: 0.2 200/360 ; to: “bg”; }

               rel2 { relative: 0.2 200/360 ; to: “bg”; }

              // color : 0 204 77 255;

               image {

               normal: “brain.png”;

               middle: DEFAULT;

            }    

           visible: 0;        

         }

 

I update the text with view_set_text(s_info.layout, “text.main.task”,”example”);

My app is a countdown timer and it works well no flickering when I remove the part “brain” from the EDC

When I put it back into the code and I set visible to 0 it still flickers.

When I change visible 0 to visible 1, it still flickers.

 

Any one knows how to fix it?

Written by