awtk/demos/assets/raw/ui/list_view_d.xml
2019-05-22 18:05:44 +08:00

69 lines
3.4 KiB
XML

<window anim_hint="htranslate">
<list_view x="0" y="0" w="100%" h="-50" item_height="60">
<scroll_view name="view" x="0" y="0" w="-12" h="100%" children_layout="list_view(x_margin=5,spacing=10)">
<list_item style="odd_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="1.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="2.Hello AWTK !"/>
</list_item>
<list_item style="odd_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="3.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="4.Hello AWTK !"/>
</list_item>
<list_item style="odd_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="5.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="6.Hello AWTK !"/>
</list_item>
<list_item style="odd_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="7.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="8.Hello AWTK !"/>
</list_item>
<list_item style="odd_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="9.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="10.Hello AWTK !"/>
</list_item>
<list_item style="odd_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="11.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="12.Hello AWTK !"/>
</list_item>
<list_item style="odd_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="13.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" children_layout="default(r=1,c=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="14.Hello AWTK !"/>
</list_item>
<list_item style="even_clickable" name="clone_self" text="Clone Self" />
<list_item style="odd_clickable" name="clone_self" text="Clone Self" />
<list_item style="even_clickable" name="remove_self" text="Remove Self" />
<list_item style="odd_clickable" name="remove_self" text="Remove Self" />
</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>