awtk/demos/res/raw/ui/button.xml

16 lines
681 B
XML
Raw Normal View History

2018-06-28 16:01:28 +08:00
<window name="button" anim_hint="htranslate">
<button x="c" y="10" w="128" h="30" text="Text"/>
2018-07-17 11:27:14 +08:00
<button style="red_btn" x="c" y="50" w="128" h="30" text="Text"/>
<button style="earth" x="c" y="90" w="128" h="30" text="Text"/>
2018-06-28 16:01:28 +08:00
<button x="c" y="130" w="128" h="30">
<label y="0" x="0" w="100%" h="100%" text="Text"/>
2018-07-12 11:45:59 +08:00
<image image="earth" draw_type="icon" y="0" x="right" w="30" h="100%"/>
2018-06-28 16:01:28 +08:00
</button>
2018-07-17 11:27:14 +08:00
<button style="earth" x="c" y="170" w="60" h="60" text="Text"/>
<button style="earth" x="c" y="240" w="60" h="60"/>
<button style="image" x="c" y="310" w="30" h="30"/>
2018-06-28 16:01:28 +08:00
<button name="close" x="center" y="bottom:10" w="25%" h="30" text="Close"/>
</window>