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

49 lines
1.9 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"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="1:odd_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</list_item>
<list_item style="2:even_clickable" layout="r1 c0">
<image w="30" image="earth"/>
<label w="-30" text="Hello AWTK !"/>
</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>