举一个稍微完整的例子吧:
<scenes>
<scene>
<name>示例场景</name>
<props>
<prop name="width">200</prop>
<prop name="height">80</prop>
<prop name="text">示例</prop>
<prop name="startPosition">CenterScreen</prop>
</props>
<units>
<unit type="LABEL">
<name>文字</name>
<props>
<prop name="text">我是字符串</prop>
<prop name="dock">Fill</prop>
<prop name="textAlign">MiddleCenter</prop>
</props>
</unit>
</units>
</scene>
</scenes>
这个例子将在场景中创建一个充满的字符串控件,显示“我是字符串”,并且内容显示在正中间。