awtk/demos/assets/raw/ui/list_view_m.xml
2018-11-29 14:27:01 +08:00

93 lines
3.5 KiB
XML

<window anim_hint="htranslate">
<list_view x="0" y="30" w="100%" h="-80" item_height="60">
<scroll_view name="view" x="0" y="0" w="100%" h="100%">
<list_item style="odd" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="1.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="even" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="2.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="odd" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="3.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="even" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="4.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="odd" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="5.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="even" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="6.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="odd" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="7.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="even" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="8.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="odd" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="9.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="even" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="10.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="odd" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="11.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="even" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="12.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="odd" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="13.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
<list_item style="even" layout="r1 c0">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="14.Hello AWTK !">
<switch x="r" y="m" w="80" h="20"/>
</label>
</list_item>
</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>