Is it possible to set the datafield transparent, to put it into the map view. I always get a background. I already set following to transparent:
View.findDrawableById("Background").setColor(Graphics.COLOR_TRANSPARENT); var value = View.findDrawableById("value"); value.setBackgroundColor(Graphics.COLOR_TRANSPARENT); value.setColor(Graphics.COLOR_WHITE);
and
<layouts> <!-- A generic, centered layout. --> <layout id="MainLayout" background="Gfx.COLOR_TRANSPARENT"> <drawable class="Background" /> <label background="Gfx.COLOR_TRANSPARENT" id="value" x="center" y="center" color="Graphics.COLOR_BLACK" justification="Graphics.TEXT_JUSTIFY_CENTER" font="Graphics.FONT_LARGE" /> </layout> </layouts>