Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/design/default/ui/value_anim.xml
2025-09-30 11:56:06 +08:00

30 lines
1.8 KiB
XML

<window name="value_anim">
<view x="0" y="0" w="100%" h="100%">
<slide_view x="0" y="0" w="100%" h="100%" loop="true" style:normal:bg_color="#383838">
<view x="0" y="0" w="100%" h="100%">
<progress_bar name="bind_value:slider" x="c" y="m:-50" w="200" h="15" style="blue" animate:value="40" max="100">
<label x="-32" y="m" w="32" h="32" style="white" text="0"/>
<label x="r:-32" y="m" w="32" h="32" style="white" text="100"/>
</progress_bar>
<slider name="bind_value:slider" x="c" y="m:50" w="200" h="30" animate:animating_time="200" animate:value="40" dragger_size="10" slide_with_bar="true" min="0" max="100">
<label x="-32" y="m" w="32" h="32" style="white" text="0"/>
<label x="r:-32" y="m" w="32" h="32" style="white" text="100"/>
</slider>
<slider name="slider" x="c:30" y="b:20" w="200" h="16" style="img" min="0" max="100" value="40">
<label x="-75" y="m" w="75" h="32" style="white" text="move here:"/>
</slider>
</view>
<view x="0" y="0" w="100%" h="100%">
<gauge x="c" y="0" w="240" h="240" image="gauge_bg" disg:custom="container">
<gauge_pointer name="bind_value:../slider" x="c" y="50" w="24" h="140" image="gauge_pointer" animate:value="40" disg:custom="container"/>
</gauge>
<progress_circle name="bind_value:slider" x="c" y="b:50" w="180" h="180" line_width="16" animate:animating_time="200" animate:value="40" style="blue" max="360"/>
<slider name="slider" x="c:30" y="b:20" w="200" h="16" style="img" min="0" max="360" value="40">
<label x="-75" y="m" w="75" h="32" style="white" text="move here:"/>
</slider>
</view>
</slide_view>
<slide_indicator x="0" y="bottom" w="100%" h="10" style="blue"/>
</view>
</window>