Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/design/default/ui/gauge_h.xml
刘可亮 3b4064f334 v1.0.2
2023-11-30 19:48:02 +08:00

24 lines
1.1 KiB
XML

<window style="dark" anim_hint="htranslate" >
<view w="100%" h="100%" children_layout="default(r=1,c=2,s=5,m=5)">
<gauge image="gauge_bg" >
<image_value x="c" y="m" w="100" h="40" value="0" format="%02d" image="num_"
animation="value(from=10, to=100, yoyo_times=600, duration=1000)"/>
<gauge_pointer x="c" y="m" w="24" h="120" value="-128" image="meter_pointer"
animation="value(from=-128, to=128, yoyo_times=10, duration=3000, delay=1000, auto_destroy=false)"/>
</gauge>
<gauge image="gauge_bg">
<image_value x="c" y="m" w="100" h="40" value="0" format="%02d" image="num_"
animation="value(from=10, to=100, yoyo_times=600, duration=1000)"/>
<gauge_pointer x="c" y="m" w="24" h="120" value="-128" image="pointer"
animation="value(from=-128, to=128, yoyo_times=10, duration=3000, delay=1000, auto_destroy=false)"/>
</gauge>
</view>
<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>
</window>