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

49 lines
1.9 KiB
XML
Raw Normal View History

2018-07-05 11:46:38 +08:00
<window name="main" anim_hint="htranslate">
2018-07-05 15:22:04 +08:00
<list_view x="0" y="0" w="100%" h="-50" item_height="60">
2018-07-05 11:46:38 +08:00
<scroll_view name="view" x="0" y="0" w="100%" h="100%">
2018-07-05 15:22:04 +08:00
<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>
<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>
2018-07-05 11:46:38 +08:00
</scroll_view>
<scroll_bar_m name="bar" x="right" y="0" w="6" h="100%" value="0"/>
</list_view>
<button name="close" x="center" y="bottom:10" w="50%" h="30" text="close"/>
</window>