<drawable-list id="background" x="0" y="0" background="Gfx.COLOR_BLACK">
<shape type="rectangle" x="5" y="5" width="30" height="30" cornerRadius="8" color="Gfx.COLOR_YELLOW" />
</drawable-list>
This replaces the following view code:
dc.setColor(Gfx.COLOR_YELLOW, Gfx.COLOR_TRANSPARENT);
dc.fillRoundedRectangle(5, 5, 30, 30, 8);
However, the cornerRadius attribute in the layout is not having any effect on the shape as drawn. Is there something I am missing?