awtk/demos/assets/default/raw/ui/kb_ascii.xml

173 lines
8.9 KiB
XML
Raw Normal View History

<keyboard theme="keyboard" x="0" y="bottom" w="100%" h="40%">
<column style="placeholder" x="0" y="0" w="100%" h="30">
<button name="close" style="close" x="r:1" y="1" w="28" h="28" text="x" />
</column>
<pages x="0" y="30" w="100%" h="-30" active="0">
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=4)">
<group_box children_layout="default(r=1,c=10,s=2,m=4)">
<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=4)">
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=4)">
2018-07-17 11:27:14 +08:00
<button name="page:symnum" style="highlight" w="15%" text="123"/>
<button repeat="300" name="space" w="65%" 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=4)">
<group_box children_layout="default(r=1,c=10,s=2,m=4)">
<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=4)">
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=4)">
2018-07-17 11:27:14 +08:00
<button name="page:symnum" style="highlight" w="15%" text="123"/>
<button repeat="300" name="space" w="65%" 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=4)">
<group_box children_layout="default(r=1,c=10,s=2,m=4)">
<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=4)">
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=4)">
2018-07-17 11:27:14 +08:00
<button name="page:upper" style="highlight" w="15%" text="ABC"/>
<button repeat="300" name="space" w="65%" 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=4)">
<group_box children_layout="default(r=1,c=10,s=2,m=4)">
<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=4)">
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=">"/>
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=4)">
2018-07-17 11:27:14 +08:00
<button name="page:upper" style="highlight" w="15%" text="ABC"/>
<button repeat="300" name="space" w="65%" 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-06-19 16:29:23 +08:00
</pages>
2018-06-18 07:19:36 +08:00
</keyboard>