zftlive/res/xml/priceinputkeyboard.xml

39 lines
1.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- 可以直接输入的字符(如0-9,.)他们在键盘映射xml中的android:codes值必须配置为该字符的ASCII码 -->
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="34%p" android:horizontalGap="1px"
android:verticalGap="1px" android:keyHeight="@dimen/key_height">
<Row>
<Key android:codes="49" android:keyLabel="1"/>
<Key android:codes="50" android:keyLabel="2" />
<Key android:codes="51" android:keyLabel="3"/>
</Row>
<Row>
<Key android:codes="52" android:keyLabel="4" />
<Key android:codes="53" android:keyLabel="5" />
<Key android:codes="54" android:keyLabel="6" />
</Row>
<Row>
<Key android:codes="55" android:keyLabel="7" />
<Key android:codes="56" android:keyLabel="8" />
<Key android:codes="57" android:keyLabel="9" />
</Row>
<Row>
<Key android:codes="-3"
android:keyEdgeFlags="left"
android:keyIcon="@drawable/view_sym_keyboard_done"
android:keyWidth="16%p"
/>
<Key android:codes="46" android:keyLabel="."
android:keyWidth="34%p"/>
<Key android:codes="48" android:keyLabel="0"
android:keyWidth="34%p" />
<Key android:codes="-5" android:keyEdgeFlags="right"
android:isRepeatable="true"
android:keyIcon="@drawable/view_sym_keyboard_delete"
android:keyWidth="17%p"/>
</Row>
</Keyboard>