awtk/demos/assets/raw/ui/kb_default.xml

218 lines
12 KiB
XML
Raw Normal View History

2018-07-03 13:49:58 +08:00
<keyboard theme="keyboard" x="0" y="bottom" w="100%" h="40%">
2018-06-25 07:32:25 +08:00
<pages x="0" y="bottom" w="100%" h="-28" active="4">
2018-12-20 11:01:37 +08:00
<view name="upper" x="0" y="0" w="100%" h="100%" children_layout="default(r=4,c=1,s=2,m=2)">
<group_box children_layout="default(r=1,c=10,s=2,m=2)">
<button repeat="300" name="Q" text="Q"/>
<button repeat="300" name="W" text="W"/>
<button repeat="300" name="E" text="E"/>
<button repeat="300" name="R" text="R"/>
<button repeat="300" name="T" text="T"/>
<button repeat="300" name="Y" text="Y"/>
<button repeat="300" name="U" text="U"/>
<button repeat="300" name="I" text="I"/>
<button repeat="300" name="O" text="O"/>
<button repeat="300" name="P" text="P"/>
2018-06-17 07:56:44 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=9,s=2,xm=10,ym=2)">
<button repeat="300" name="A" text="A"/>
<button repeat="300" name="S" text="S"/>
<button repeat="300" name="D" text="D"/>
<button repeat="300" name="F" text="F"/>
<button repeat="300" name="G" text="G"/>
<button repeat="300" name="H" text="H"/>
<button repeat="300" name="J" text="J"/>
<button repeat="300" name="K" text="K"/>
<button repeat="300" name="L" text="L"/>
2018-06-17 07:56:44 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=9,s=2,m=2)">
2018-07-11 17:37:08 +08:00
<button name="page:lower"><image draw_type="icon" image="shifton" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="Z" text="Z"/>
<button repeat="300" name="X" text="X"/>
<button repeat="300" name="C" text="C"/>
<button repeat="300" name="V" text="V"/>
<button repeat="300" name="B" text="B"/>
<button repeat="300" name="N" text="N"/>
<button repeat="300" name="M" text="M"/>
2018-07-17 11:27:14 +08:00
<button repeat="300" name="key:backspace" style="highlight"><image draw_type="icon" image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=0,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:symnum" style="highlight" w="15%" text="123"/>
<button name="page:chinese" style="highlight" w="10%"><image draw_type="icon" image="zh" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="space" w="55%" text="Space"/>
2018-07-17 11:27:14 +08:00
<button name="action" style="highlight" w="20%" text="Return"/>
2018-06-17 17:12:07 +08:00
</group_box>
</view>
2018-12-20 11:01:37 +08:00
<view name="lower" x="0" y="0" w="100%" h="100%" children_layout="default(r=4,c=1,s=2,m=2)">
<group_box children_layout="default(r=1,c=10,s=2,m=2)">
<button repeat="300" name="q" text="q"/>
<button repeat="300" name="w" text="w"/>
<button repeat="300" name="e" text="e"/>
<button repeat="300" name="r" text="r"/>
<button repeat="300" name="t" text="t"/>
<button repeat="300" name="y" text="y"/>
<button repeat="300" name="u" text="u"/>
<button repeat="300" name="i" text="i"/>
<button repeat="300" name="o" text="o"/>
<button repeat="300" name="p" text="p"/>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=9,s=2,xm=10,ym=2)">
<button repeat="300" name="a" text="a"/>
<button repeat="300" name="s" text="s"/>
<button repeat="300" name="d" text="d"/>
<button repeat="300" name="f" text="f"/>
<button repeat="300" name="g" text="g"/>
<button repeat="300" name="h" text="h"/>
<button repeat="300" name="j" text="j"/>
<button repeat="300" name="k" text="k"/>
<button repeat="300" name="l" text="l"/>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=9,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:upper" style="highlight"><image draw_type="icon" image="shift" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="z" text="z"/>
<button repeat="300" name="x" text="x"/>
<button repeat="300" name="c" text="c"/>
<button repeat="300" name="v" text="v"/>
<button repeat="300" name="b" text="b"/>
<button repeat="300" name="n" text="n"/>
<button repeat="300" name="m" text="m"/>
2018-07-17 11:27:14 +08:00
<button repeat="300" name="key:backspace" style="highlight"><image draw_type="icon" image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=0,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:symnum" style="highlight" w="15%" text="123"/>
<button name="page:chinese" style="highlight" w="10%"><image draw_type="icon" image="zh" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="space" w="55%" text="Space"/>
2018-07-17 11:27:14 +08:00
<button name="action" style="highlight" w="20%" text="Return"/>
2018-06-17 17:12:07 +08:00
</group_box>
</view>
2018-12-20 11:01:37 +08:00
<view name="symnum" x="0" y="0" w="100%" h="100%" children_layout="default(r=4,c=1,s=2,m=2)">
<group_box children_layout="default(r=1,c=10,s=2,m=2)">
<button repeat="300" name="1" text="1"/>
<button repeat="300" name="2" text="2"/>
<button repeat="300" name="3" text="3"/>
<button repeat="300" name="4" text="4"/>
<button repeat="300" name="5" text="5"/>
<button repeat="300" name="6" text="6"/>
<button repeat="300" name="7" text="7"/>
<button repeat="300" name="8" text="8"/>
<button repeat="300" name="9" text="9"/>
<button repeat="300" name="0" text="0"/>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=10,s=2,xm=10,ym=2)">
<button repeat="300" name="-" text="-"/>
<button repeat="300" name="/" text="/"/>
<button repeat="300" name=":" text=":"/>
<button repeat="300" name=";" text=";"/>
<button repeat="300" name="(" text="("/>
<button repeat="300" name=")" text=")"/>
<button repeat="300" name="$" text="$"/>
<button repeat="300" name="@" text="@"/>
<button repeat="300" name="'" text="'"/>
<button repeat="300" name="quota" text="&quota;"/>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=10,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:symbol" style="highlight" text="#+="/>
<button repeat="300" name="." text="."/>
<button repeat="300" name="," text=","/>
<button repeat="300" name="\" text="\"/>
<button repeat="300" name="?" text="?"/>
<button repeat="300" name="!" text="!"/>
<button repeat="300" name="<" text="<"/>
<button repeat="300" name=">" text=">"/>
<button repeat="300" name="#" text="#"/>
2018-07-17 11:27:14 +08:00
<button repeat="300" name="key:backspace" style="highlight"><image draw_type="icon" image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=0,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:upper" style="highlight" w="15%" text="ABC"/>
<button repeat="300" name="page:chinese" style="highlight" w="10%"><image draw_type="icon" image="zh" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="space" w="55%" text="Space"/>
2018-07-17 11:27:14 +08:00
<button name="action" style="highlight" w="20%" text="Return"/>
2018-06-17 18:34:12 +08:00
</group_box>
</view>
2018-12-20 11:01:37 +08:00
<view name="symbol" x="0" y="0" w="100%" h="100%" children_layout="default(r=4,c=1,s=2,m=2)">
<group_box children_layout="default(r=1,c=10,s=2,m=2)">
<button repeat="300" name="[" text="["/>
<button repeat="300" name="]" text="]"/>
<button repeat="300" name="{" text="{"/>
<button repeat="300" name="}" text="}"/>
<button repeat="300" name="#" text="#"/>
<button repeat="300" name="%" text="%"/>
<button repeat="300" name="^" text="^"/>
<button repeat="300" name="*" text="*"/>
<button repeat="300" name="+" text="+"/>
<button repeat="300" name="=" text="="/>
2018-06-17 18:34:12 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=9,s=2,xm=10,ym=2)">
<button repeat="300" name="_" text="_"/>
<button repeat="300" name="\" text="\"/>
<button repeat="300" name="|" text="|"/>
<button repeat="300" name="~" text="~"/>
<button repeat="300" name="<" text="<"/>
<button repeat="300" name=">" text=">"/>
<button repeat="300" name="$" text="$"/>
<button repeat="300" name="@" text="@"/>
<button repeat="300" name="`" text="`"/>
2018-06-17 18:34:12 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=8,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:symnum" style="highlight" text="123"/>
<button repeat="300" name="." text="."/>
<button repeat="300" name="," text=","/>
<button repeat="300" name="?" text="?"/>
<button repeat="300" name="!" text="!"/>
<button repeat="300" name="'" text="'"/>
<button repeat="300" name="&quota;" text="&quota;"/>
2018-07-17 11:27:14 +08:00
<button repeat="300" name="key:backspace" style="highlight"><image draw_type="icon" image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 18:34:12 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=0,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:upper" style="highlight" w="15%" text="ABC"/>
<button name="page:chinese" style="highlight" w="10%"><image draw_type="icon" image="zh" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="space" w="55%" text="Space"/>
2018-07-17 11:27:14 +08:00
<button name="action" style="highlight" w="20%" text="Return"/>
2018-06-17 17:12:07 +08:00
</group_box>
</view>
2018-12-20 11:01:37 +08:00
<view name="chinese" x="0" y="0" w="100%" h="100%" children_layout="default(r=4,c=1,s=2,m=2)">
<group_box children_layout="default(r=1,c=10,s=2,m=2)">
<button repeat="300" name="key:q" text="q"/>
<button repeat="300" name="key:w" text="w"/>
<button repeat="300" name="key:e" text="e"/>
<button repeat="300" name="key:r" text="r"/>
<button repeat="300" name="key:t" text="t"/>
<button repeat="300" name="key:y" text="y"/>
<button repeat="300" name="key:u" text="u"/>
<button repeat="300" name="key:i" text="i"/>
<button repeat="300" name="key:o" text="o"/>
<button repeat="300" name="key:p" text="p"/>
2018-06-17 17:12:07 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=9,s=2,xm=10,ym=2)">
<button repeat="300" name="key:a" text="a"/>
<button repeat="300" name="key:s" text="s"/>
<button repeat="300" name="key:d" text="d"/>
<button repeat="300" name="key:f" text="f"/>
<button repeat="300" name="key:g" text="g"/>
<button repeat="300" name="key:h" text="h"/>
<button repeat="300" name="key:j" text="j"/>
<button repeat="300" name="key:k" text="k"/>
<button repeat="300" name="key:l" text="l"/>
2018-06-19 16:29:23 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=9,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:upper" style="highlight"><image draw_type="icon" image="shift" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="key:z" text="z"/>
<button repeat="300" name="key:x" text="x"/>
<button repeat="300" name="key:c" text="c"/>
<button repeat="300" name="key:v" text="v"/>
<button repeat="300" name="key:b" text="b"/>
<button repeat="300" name="key:n" text="n"/>
<button repeat="300" name="key:m" text="m"/>
2018-07-17 11:27:14 +08:00
<button repeat="300" name="key:backspace" style="highlight"><image draw_type="icon" image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-19 16:29:23 +08:00
</group_box>
2018-12-20 11:01:37 +08:00
<group_box children_layout="default(r=1,c=0,s=2,m=2)">
2018-07-17 11:27:14 +08:00
<button name="page:symnum" style="highlight" w="15%" text="123"/>
<button name="page:lower" style="highlight" w="10%"><image draw_type="icon" image="en" x="center" y="middle" w="100%" h="100%"/></button>
<button repeat="300" name="key:space" w="55%" text="Space"/>
2018-07-17 11:27:14 +08:00
<button name="action" style="highlight" w="20%" text="Return"/>
2018-06-17 07:56:44 +08:00
</group_box>
</view>
2018-06-19 16:29:23 +08:00
</pages>
2018-06-25 07:32:25 +08:00
<candidates x="0" y="0" w="100%" h="30"/>
<button name="close" style="close" self_layout="default(floating=true, x=r:2, y=2, w=20, h=20)" text="x" />
2018-06-18 07:19:36 +08:00
</keyboard>