awtk/demos/assets/default/raw/ui/guage.xml

22 lines
962 B
XML
Raw Normal View History

2018-09-05 15:48:58 +08:00
<window style="dark" anim_hint="htranslate" >
2018-11-15 10:00:03 +08:00
<guage x="c" y="10" w="240" h="240" image="guage_bg" >
2018-11-14 16:23:11 +08:00
<guage_pointer x="c" y="50" w="24" h="140" value="-128" image="guage_pointer"
2019-11-07 09:29:54 +08:00
animation="value(from=-128, to=128, yoyo_times=6, duration=3000, delay=1000, auto_destroy=false)"/>
2018-11-15 10:00:03 +08:00
</guage>
<guage x="c" y="bottom:60" w="240" h="240" image="guage_bg" >
<guage_pointer x="c" y="50" w="12" h="140" value="-128"
animation="value(from=-128, to=128, yoyo_times=1000, duration=3000, delay=1000)"/>
2018-11-20 17:06:57 +08:00
<guage_pointer x="c" y="50" w="12" h="140" value="-128" image="pointer"
animation="value(from=-128, to=128, yoyo_times=1000, duration=3000)"/>
2018-11-15 10:00:03 +08:00
</guage>
2019-07-03 13:46:39 +08:00
<view x="0" y="bottom:10" w="100%" h="40" children_layout="default(r=1,c=4,s=5,m=5)">
<button name="start" text="Start"/>
<button name="pause" text="Pause"/>
<button name="stop" text="Stop"/>
<button name="close" text="Close"/>
</view>
2018-09-05 15:48:58 +08:00
</window>