Hello everyone,
Recovering code addict. Haven't really done much programming in a year or two now. Python and PHP were my tools of trade. I just recently bought a VivoActive, yesterday, and wanted to make a couple custom watch faces.
I loaded the SDK and eclipse and started a new project. For my first test I just wanted to set a custom background with a simple digital clock over the top. I don't have the code with me, in fact I might have set it on fire after 3 hours of messing with it last night. But just wanted to ask what might have went wrong.
I created the background image, put it in the images folder. I setup the resources file to reference it. I created the variable, and loaded the resource in the code. The default template for a watch face included a call to a layout, which put a digital clock in the center of the page. If I had setLayout(Rez.Layouts.WatchFace(dc)); commented out, the background graphic would show, but the time wouldn't display. If I uncommented the layout the clock would show but not the background graphic.
I'm sure I made a noob mistake, and I know it would be a lot easier to diagnose if I had the code, but can anyone point me in the right direction? Is there a way to specify the background graphic in the layout.xml?
Thanks!