awtk/design/default/ui/progress_circle.xml

19 lines
956 B
XML
Raw Normal View History

2018-11-10 18:20:49 +08:00
<window >
2018-12-20 11:01:37 +08:00
<view x="c" y="m" w="200" h="200" children_layout="default(r=2,c=2,s=5)">
2020-03-17 10:50:24 +08:00
<progress_circle max="360" show_text="true" line_cap="square"
2018-11-10 18:20:49 +08:00
animation="value(from=0, to=360, yoyo_times=1000, duration=3000, easing=sin_inout)" />
2021-01-18 12:19:08 +08:00
<progress_circle max="360" show_text="true" start_angle="90" line_cap="butt"
2018-11-10 18:20:49 +08:00
animation="value(from=0, to=300, yoyo_times=1000, duration=3000, easing=sin_inout)" />
2021-01-18 12:19:08 +08:00
<progress_circle style="image" max="360" show_text="true" start_angle="-213" line_cap="round"
2018-11-10 18:20:49 +08:00
animation="value(from=0, to=300, yoyo_times=1000, duration=3000, easing=sin_inout)" />
2018-11-13 11:35:33 +08:00
<progress_circle style="image" max="100" show_text="true" start_angle="90" start_angle="-225"
counter_clock_wise="true" unit="%"
animation="value(from=10, to=100, yoyo_times=1000, duration=3000, easing=sin_inout)" />
2018-11-10 18:20:49 +08:00
</view>
<button name="close" x="center" y="bottom:10" w="25%" h="30" text="Close"/>
</window>