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

216 lines
9.7 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-06-19 16:29:23 +08:00
<view name="upper" x="0" y="0" w="100%" h="100%" layout="rows:4 cols:1 spacing:2 margin:2">
<group_box layout="rows:1 cols:10 spacing:2 margin:2">
2018-06-17 07:56:44 +08:00
<button name="Q" text="Q"/>
<button name="W" text="W"/>
<button name="E" text="E"/>
<button name="R" text="R"/>
<button name="T" text="T"/>
<button name="Y" text="Y"/>
<button name="U" text="U"/>
<button name="I" text="I"/>
<button name="O" text="O"/>
<button name="P" text="P"/>
</group_box>
2018-06-17 12:03:18 +08:00
<group_box layout="rows:1 cols:9 spacing:2 x_margin:10 y_margin:2">
2018-06-17 07:56:44 +08:00
<button name="A" text="A"/>
<button name="S" text="S"/>
<button name="D" text="D"/>
<button name="F" text="F"/>
<button name="G" text="G"/>
<button name="H" text="H"/>
<button name="J" text="J"/>
<button name="K" text="K"/>
<button name="L" text="L"/>
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:9 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:lower"><image image="shifton" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-22 12:17:18 +08:00
<button name="Z" text="Z"/>
<button name="X" text="X"/>
<button name="C" text="C"/>
<button name="V" text="V"/>
<button name="B" text="B"/>
<button name="N" text="N"/>
<button name="M" text="M"/>
2018-06-19 16:29:23 +08:00
<button name="key:backspace" style="1:highlight"><image image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:0 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:symnum" style="1:highlight" w="15%" text="123"/>
<button name="page:chinese" style="1:highlight" w="10%"><image image="earth" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
<button name="space" w="55%" text="Space"/>
2018-06-20 17:41:55 +08:00
<button name="action" style="1:highlight" w="20%" text="Return"/>
2018-06-17 17:12:07 +08:00
</group_box>
</view>
2018-06-19 16:29:23 +08:00
<view name="lower" x="0" y="0" w="100%" h="100%" layout="rows:4 cols:1 spacing:2 margin:2">
<group_box layout="rows:1 cols:10 spacing:2 margin:2">
2018-06-17 17:12:07 +08:00
<button name="q" text="q"/>
<button name="w" text="w"/>
<button name="e" text="e"/>
<button name="r" text="r"/>
<button name="t" text="t"/>
<button name="y" text="y"/>
<button name="u" text="u"/>
<button name="i" text="i"/>
<button name="o" text="o"/>
<button name="p" text="p"/>
</group_box>
<group_box layout="rows:1 cols:9 spacing:2 x_margin:10 y_margin:2">
<button name="a" text="a"/>
<button name="s" text="s"/>
<button name="d" text="d"/>
<button name="f" text="f"/>
<button name="g" text="g"/>
<button name="h" text="h"/>
<button name="j" text="j"/>
<button name="k" text="k"/>
<button name="l" text="l"/>
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:9 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:upper" style="1:highlight"><image image="shift" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-22 12:17:18 +08:00
<button name="z" text="z"/>
<button name="x" text="x"/>
<button name="c" text="c"/>
<button name="v" text="v"/>
<button name="b" text="b"/>
<button name="n" text="n"/>
<button name="m" text="m"/>
2018-06-19 16:29:23 +08:00
<button name="key:backspace" style="1:highlight"><image image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:0 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:symnum" style="1:highlight" w="15%" text="123"/>
<button name="page:chinese" style="1:highlight" w="10%"><image image="earth" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
<button name="space" w="55%" text="Space"/>
2018-06-20 17:41:55 +08:00
<button name="action" style="1:highlight" w="20%" text="Return"/>
2018-06-17 17:12:07 +08:00
</group_box>
</view>
2018-06-19 16:29:23 +08:00
<view name="symnum" x="0" y="0" w="100%" h="100%" layout="rows:4 cols:1 spacing:2 margin:2">
<group_box layout="rows:1 cols:10 spacing:2 margin:2">
2018-06-17 17:12:07 +08:00
<button name="1" text="1"/>
<button name="2" text="2"/>
<button name="3" text="3"/>
<button name="4" text="4"/>
<button name="5" text="5"/>
<button name="6" text="6"/>
<button name="7" text="7"/>
<button name="8" text="8"/>
<button name="9" text="9"/>
<button name="0" text="0"/>
</group_box>
<group_box layout="rows:1 cols:10 spacing:2 x_margin:10 y_margin:2">
<button name="-" text="-"/>
<button name="/" text="/"/>
<button name=":" text=":"/>
<button name=";" text=";"/>
<button name="(" text="("/>
<button name=")" text=")"/>
<button name="$" text="$"/>
<button name="@" text="@"/>
<button name="'" text="'"/>
<button name="quota" text="&quota;"/>
2018-06-17 17:12:07 +08:00
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:10 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:symbol" style="1:highlight" text="#+="/>
2018-06-17 17:12:07 +08:00
<button name="." text="."/>
<button name="," text=","/>
<button name="\" text="\"/>
<button name="?" text="?"/>
<button name="!" text="!"/>
<button name="<" text="<"/>
<button name=">" text=">"/>
<button name="#" text="#"/>
2018-06-19 16:29:23 +08:00
<button name="key:backspace" style="1:highlight"><image image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:0 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:upper" style="1:highlight" w="15%" text="ABC"/>
<button name="page:chinese" style="1:highlight" w="10%"><image image="earth" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 17:12:07 +08:00
<button name="space" w="55%" text="Space"/>
2018-06-20 17:41:55 +08:00
<button name="action" style="1:highlight" w="20%" text="Return"/>
2018-06-17 18:34:12 +08:00
</group_box>
</view>
2018-06-19 16:29:23 +08:00
<view name="symbol" x="0" y="0" w="100%" h="100%" layout="rows:4 cols:1 spacing:2 margin:2">
<group_box layout="rows:1 cols:10 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="[" text="["/>
<button name="]" text="]"/>
<button name="{" text="{"/>
<button name="}" text="}"/>
<button name="#" text="#"/>
<button name="%" text="%"/>
<button name="^" text="^"/>
<button name="*" text="*"/>
<button name="+" text="+"/>
<button name="=" text="="/>
</group_box>
<group_box layout="rows:1 cols:9 spacing:2 x_margin:10 y_margin:2">
<button name="_" text="_"/>
<button name="\" text="\"/>
<button name="|" text="|"/>
<button name="~" text="~"/>
<button name="<" text="<"/>
<button name=">" text=">"/>
<button name="$" text="$"/>
<button name="@" text="@"/>
<button name="`" text="`"/>
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:8 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:symnum" style="1:highlight" text="123"/>
<button name="." text="."/>
<button name="," text=","/>
<button name="?" text="?"/>
<button name="!" text="!"/>
2018-06-22 12:17:18 +08:00
<button name="'" text="'"/>
<button name="&quota;" text="&quota;"/>
2018-06-19 16:29:23 +08:00
<button name="key:backspace" style="1:highlight"><image image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-17 18:34:12 +08:00
</group_box>
2018-06-19 16:29:23 +08:00
<group_box layout="rows:1 cols:0 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:upper" style="1:highlight" w="15%" text="ABC"/>
<button name="page:chinese" style="1:highlight" w="10%"><image image="earth" x="center" y="middle" w="100%" h="100%"/></button>
<button name="space" w="55%" text="Space"/>
2018-06-20 17:41:55 +08:00
<button name="action" style="1:highlight" w="20%" text="Return"/>
2018-06-17 17:12:07 +08:00
</group_box>
</view>
2018-06-19 16:29:23 +08:00
<view name="chinese" x="0" y="0" w="100%" h="100%" layout="rows:4 cols:1 spacing:2 margin:2">
<group_box layout="rows:1 cols:10 spacing:2 margin:2">
<button name="key:q" text="q"/>
<button name="key:w" text="w"/>
<button name="key:e" text="e"/>
<button name="key:r" text="r"/>
<button name="key:t" text="t"/>
<button name="key:y" text="y"/>
<button name="key:u" text="u"/>
<button name="key:i" text="i"/>
<button name="key:o" text="o"/>
<button name="key:p" text="p"/>
2018-06-17 17:12:07 +08:00
</group_box>
<group_box layout="rows:1 cols:9 spacing:2 x_margin:10 y_margin:2">
2018-06-19 16:29:23 +08:00
<button name="key:a" text="a"/>
<button name="key:s" text="s"/>
<button name="key:d" text="d"/>
<button name="key:f" text="f"/>
<button name="key:g" text="g"/>
<button name="key:h" text="h"/>
<button name="key:j" text="j"/>
<button name="key:k" text="k"/>
<button name="key:l" text="l"/>
</group_box>
<group_box layout="rows:1 cols:9 spacing:2 margin:2">
2018-06-17 18:34:12 +08:00
<button name="page:upper" style="1:highlight"><image image="shift" x="center" y="middle" w="100%" h="100%"/></button>
2018-06-22 12:17:18 +08:00
<button name="key:z" text="z"/>
<button name="key:x" text="x"/>
<button name="key:c" text="c"/>
<button name="key:v" text="v"/>
<button name="key:b" text="b"/>
<button name="key:n" text="n"/>
<button name="key:m" text="m"/>
2018-06-19 16:29:23 +08:00
<button name="key:backspace" style="1:highlight"><image image="backspace" x="center" y="middle" w="100%" h="100%"/></button>
</group_box>
<group_box layout="rows:1 cols:0 spacing:2 margin:2">
2018-06-18 07:19:36 +08:00
<button name="page:symnum" style="1:highlight" w="15%" text="123"/>
2018-06-23 18:02:33 +08:00
<button name="key:space" w="65%" text="Space"/>
2018-06-20 17:41:55 +08:00
<button name="action" style="1: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"/>
2018-06-18 07:19:36 +08:00
</keyboard>