awtk/demos/assets/raw/ui/progress_circle.xml

18 lines
847 B
XML
Raw Normal View History

2018-11-10 18:20:49 +08:00
<window >
<view x="10" y="10" w="200" h="200" layout="r:2 c:2 s:5">
<progress_circle max="360" show_text="true"
animation="value(from=0, to=360, yoyo_times=1000, duration=3000, easing=sin_inout)" />
<progress_circle max="360" show_text="true" start_angle="90"
animation="value(from=0, to=300, yoyo_times=1000, duration=3000, easing=sin_inout)" />
2018-11-11 12:16:44 +08:00
<progress_circle style="image" max="360" show_text="true" start_angle="-220"
2018-11-10 18:20:49 +08:00
animation="value(from=0, to=300, yoyo_times=1000, duration=3000, easing=sin_inout)" />
2018-11-11 12:16:44 +08:00
<progress_circle style="image" max="360" show_text="true" start_angle="90" start_angle="-220"
2018-11-10 18:20:49 +08:00
animation="value(from=0, to=300, yoyo_times=1000, duration=3000, easing=sin_inout)" />
</view>
<button name="close" x="center" y="bottom:10" w="25%" h="30" text="Close"/>
</window>