awtk/demos/assets/raw/ui/htranslate.xml
2019-05-18 19:07:10 +08:00

38 lines
1.6 KiB
XML

<window anim_hint="htranslate" children_layout="default(c=1,r=2,s=5)">
<view children_layout="default(c=1,h=24,m=5,s=5)">
<slider value="10" bar_size="5"/>
<slider style="img" value="20" focus="true"/>
<slider style="img" value="30" min="5" max="50" step="5"/>
<progress_bar value="10" show_text="true"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
<progress_bar value="10" style="round" show_text="true"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
<progress_bar style ="img" value="30" show_text="true"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
<progress_bar style ="img" value="30"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
</view>
<view children_layout="default(w=30,r=1,m=5,s=5)">
<slider value="10" vertical="true" bar_size="5"/>
<slider style="img_v" value="20" vertical="true" />
<slider style="img_v" value="30" min="5" max="50" step="5" vertical="true"/>
<progress_bar value="10" vertical="true" show_text="true"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
<progress_bar style="round" value="10" vertical="true"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
<progress_bar style="img_v" value="20" vertical="true"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
<progress_bar style ="img_v" value="30" vertical="true"
animation="value(from=0, to=100, yoyo_times=1000, duration=6000)"/>
</view>
</window>