awtk/demos/res/raw/ui/dialog1.xml
2018-04-21 07:43:02 +08:00

6 lines
395 B
XML

<dialog name="" anim_hint="center_scale" style="1:default1" icon="info" x="10" y="120" w="300" h="160" text="Dialog">
<label name="" x="center" y="middle:-20" w="200" h="30" text="Are you ready?"/>
<button name="ok" style="1:green_btn" x="10" y="bottom:10" w="40%" h="30" text="Yes"/>
<button name="cancel" style="2:red_btn" x="right:10" y="bottom:10" w="40%" h="30" text="No"/>
</dialog>