awtk/design/default/ui/list_view_m.xml
2022-09-09 16:28:01 +08:00

107 lines
4.8 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%" slide_limit_ratio="0.5">
<list_item style="odd" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="1.Hello AWTK !">
<button x="r" y="m" w="100" h="30"
name="open:dialog1" style="round" enable_long_press="true" text="Long Press"/>
</label>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="2.Hello AWTK !">
<switch x="r" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="odd" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="3.Hello AWTK !">
<switch x="r" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="4.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="odd" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="5.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="6.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="odd" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="7.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="8.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="odd" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="9.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="10.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="odd" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="11.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="12.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="odd" children_layout="default(rows=1,cols=0)">
<image draw_type="icon" w="30" image="earth"/>
<label w="-30" text="13.Hello AWTK !">
<switch x="r:10" y="m" w="60" h="20"/>
</label>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=1,m=15)">
<edit text="zlg awtk"/>
</list_item>
<list_item style="odd" children_layout="default(rows=1,cols=1,m=15)">
<slider value="50"/>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=1,m=15)">
<combo_box readonly="true" tr_text="ok" options="1:ok;2:cancel;"/>
</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" />
<list_item style="empty" h="60" children_layout="default(r=1,c=0,ym=1)">
<edit w="70%" tips="desc" action_text="next" text=""/>
</list_item>
<list_item style="even" children_layout="default(rows=1,cols=1,m=15)">
<edit w="70%" tips="desc" action_text="next" text=""/>
</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>