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

22 lines
809 B
XML
Raw Normal View History

2018-12-01 18:30:03 +08:00
<window anim_hint="htranslate">
2018-12-20 11:01:37 +08:00
<view x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=3)">
2018-12-04 15:54:10 +08:00
<image_value value="0" image="battery_"
animation="value(from=0, to=5, duration=10000)"/>
2018-12-01 18:30:03 +08:00
<image_value value="0" image="battery_"
animation="value(from=0, to=5, duration=10000)"/>
<image_value value="0" format="%02d" image="num_"
animation="value(from=10, to=100, duration=100000)"/>
<image_value value="0" format="%04d" image="num_"
animation="value(from=10, to=10000, duration=100000)"/>
<image_value value="0" format="%02.2f" image="num_"
animation="value(from=0, to=100, duration=1000000)"/>
2018-12-04 15:54:10 +08:00
<image_value value="0" format="%.4f" image="num_"
2018-12-01 18:30:03 +08:00
animation="value(from=0, to=100, duration=1000000)"/>
</view>
</window>