awtk/demos/res/raw/ui/list_view_vh.xml

65 lines
2.6 KiB
XML
Raw Normal View History

2018-07-05 15:22:04 +08:00
<window name="main" anim_hint="htranslate">
<list_view x="0" y="0" w="100%" h="-50" default_item_height="60">
<scroll_view name="view" x="0" y="0" w="-12" h="100%">
<list_item h="128" style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="1.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="2.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="3.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="4.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="5.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="6.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="7.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="8.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="9.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
2018-07-10 14:04:00 +08:00
<label w="-30" text="10.Hello AWTK !"/>
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="11.Hello AWTK !"/>
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="12.Hello AWTK !"/>
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="13.Hello AWTK !"/>
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="14.Hello AWTK !"/>
2018-07-05 15:22:04 +08:00
</list_item>
</scroll_view>
<scroll_bar_d name="bar" x="right" y="0" w="12" h="100%" value="0"/>
</list_view>
<button name="close" x="center" y="bottom:10" w="50%" h="30" text="close"/>
</window>