2019-10-24 10:18:36 +08:00
|
|
|
<window anim_hint="htranslate" move_focus_prev_key="up" move_focus_next_key="down" text="Basic Controls">
|
2018-08-29 17:25:43 +08:00
|
|
|
<app_bar x="0" y="0" w="100%" h="30" >
|
2019-10-24 10:18:36 +08:00
|
|
|
<label x="0" y="0" w="100%" h="100%" text="up/down key change focus" style:font_size="24" style:text_color="green"/>
|
2018-08-29 17:25:43 +08:00
|
|
|
</app_bar>
|
2018-06-08 07:50:15 +08:00
|
|
|
|
2018-12-20 11:01:37 +08:00
|
|
|
<row x="0" y="40" w="100%" h="30" children_layout="default(r=1,c=3,xm=2,s=10)">
|
2019-05-21 16:23:10 +08:00
|
|
|
<button name="inc_value" text="Inc" focusable="true" focus="true"/>
|
|
|
|
<button name="close" text="Close" focusable="true"/>
|
2019-06-03 18:35:42 +08:00
|
|
|
<button name="dec_value" text="Dec" focusable="true" style:focused:text_color="red"/>
|
2018-08-29 17:25:43 +08:00
|
|
|
</row>
|
2018-06-08 07:50:15 +08:00
|
|
|
|
2018-12-20 11:01:37 +08:00
|
|
|
<row x="0" y="80" w="100%" h="30" children_layout="default(r=1,c=3,xm=2,s=10)">
|
2018-12-05 16:23:49 +08:00
|
|
|
<label style="left" name="left" text="Left"/>
|
|
|
|
<label style="center" name="center" text="Center"/>
|
|
|
|
<label style="right" name="right" text="Right"/>
|
2018-08-29 17:25:43 +08:00
|
|
|
</row>
|
|
|
|
|
2018-12-26 15:08:22 +08:00
|
|
|
|
2019-05-21 17:06:57 +08:00
|
|
|
<slider name="slider" x="10" y="116" w="240" h="20" value="40" focusable="true"/>
|
2019-03-04 17:08:14 +08:00
|
|
|
<progress_bar name="bar1" x="10" y="142" w="240" h="16" value="40" show_text="true"/>
|
2018-08-29 17:25:43 +08:00
|
|
|
<progress_bar name="bar2" x="280" y="128" w="30" h="118" value="20" vertical="true"/>
|
|
|
|
|
2019-03-07 15:53:59 +08:00
|
|
|
<column x="20" y="160" w="50%" h="90" children_layout="default(r=3,c=1,ym=2,s=10)" >
|
2019-05-21 16:23:10 +08:00
|
|
|
<check_button name="r1" text="Book" focusable="true"/>
|
|
|
|
<check_button name="r2" text="Food" focusable="true"/>
|
|
|
|
<check_button name="r3" text="Pencil" value="true" focusable="true"/>
|
2018-08-29 17:25:43 +08:00
|
|
|
</column>
|
|
|
|
|
2019-03-07 15:53:59 +08:00
|
|
|
<column x="20" y="260" w="50%" h="90" children_layout="default(r=3,c=1,ym=2,s=10)" >
|
2019-05-21 16:23:10 +08:00
|
|
|
<radio_button name="font_small" text="Small Font" focusable="true"/>
|
|
|
|
<radio_button name="font_normal" text="Normal Font" focusable="true"/>
|
|
|
|
<radio_button name="font_big" text="Big Font" focusable="true"/>
|
2018-08-29 17:25:43 +08:00
|
|
|
</column>
|
|
|
|
|
2018-12-20 11:01:37 +08:00
|
|
|
<row x="20" y="bottom:60" w="100" h="30" children_layout="default(r=1,c=4)">
|
2018-11-08 09:32:54 +08:00
|
|
|
<radio_button style="left"/>
|
|
|
|
<radio_button style="middle"/>
|
|
|
|
<radio_button style="right"/>
|
2018-11-07 18:17:07 +08:00
|
|
|
<check_button style="mute"/>
|
2018-11-08 09:32:54 +08:00
|
|
|
</grid>
|
|
|
|
|
2018-12-20 11:01:37 +08:00
|
|
|
<grid x="20" y="bottom:10" w="80%" h="40" children_layout="default(r=1,c=5,x=2,s=10)">
|
2019-04-03 13:46:31 +08:00
|
|
|
<image draw_type="icon" image="earth"
|
|
|
|
animation="rotation(from=0, to=6.28, repeat_times=0, duration=2000, easing=linear)"/>
|
2018-08-29 17:25:43 +08:00
|
|
|
<image draw_type="icon" image="rgba" />
|
|
|
|
<image draw_type="icon" image="rgb" />
|
|
|
|
<image draw_type="icon" image="message"/>
|
|
|
|
<image draw_type="icon" image="red_btn_n"/>
|
|
|
|
</grid>
|
2018-06-08 07:50:15 +08:00
|
|
|
|
|
|
|
</window>
|