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

21 lines
711 B
XML
Raw Normal View History

2019-03-14 10:52:25 +08:00
<window text="Custom Soft Keyboard" anim_hint="htranslate" >
2019-08-22 11:38:23 +08:00
<edit x="c" y="10" w="90%" h="30" focused="true" input_type="custom" text="" tips="custom"/>
2019-03-14 10:52:25 +08:00
<view y="60" x="c" w="90%" h="-60" is_keyboard="true"
children_layout="default(r=4,c=4,m=5,s=5)" >
<button name="key" text="0" />
<button name="key" text="1" />
<button name="key" text="2" />
<button name="key" text="3" />
<button name="key" text="4" />
<button name="key" text="5" />
<button name="key" text="6" />
<button name="key" text="7" />
<button name="key" text="8" />
<button name="key" text="9" />
<button name="key" text="#" />
<button name="backspace" text="<=" />
</view>
</window>