add dash and space at the phone number keyboard too

This commit is contained in:
tibbi 2023-02-18 13:34:47 +01:00
parent 81821cc23f
commit 038f9369f3
2 changed files with 20 additions and 19 deletions

View File

@ -2,8 +2,8 @@
<Keyboard xmlns:app="http://schemas.android.com/apk/res-auto"> <Keyboard xmlns:app="http://schemas.android.com/apk/res-auto">
<Row> <Row>
<Key <Key
app:keyLabel="1"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="1"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="2" app:keyLabel="2"
@ -12,16 +12,16 @@
app:keyLabel="3" app:keyLabel="3"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyIcon="@drawable/ic_clear_vector"
app:code="-5" app:code="-5"
app:isRepeatable="true" app:isRepeatable="true"
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyIcon="@drawable/ic_clear_vector"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
app:keyLabel="4"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="4"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="5" app:keyLabel="5"
@ -30,14 +30,14 @@
app:keyLabel="6" app:keyLabel="6"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="-"
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyLabel="-"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
app:keyLabel="7"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="7"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="8" app:keyLabel="8"
@ -46,15 +46,15 @@
app:keyLabel="9" app:keyLabel="9"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="␣"
app:code="32" app:code="32"
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyLabel="␣"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
app:keyLabel=","
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel=","
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="0" app:keyLabel="0"
@ -63,9 +63,9 @@
app:keyLabel="." app:keyLabel="."
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyIcon="@drawable/ic_enter_vector"
app:code="-4" app:code="-4"
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyIcon="@drawable/ic_enter_vector"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
</Keyboard> </Keyboard>

View File

@ -2,8 +2,8 @@
<Keyboard xmlns:app="http://schemas.android.com/apk/res-auto"> <Keyboard xmlns:app="http://schemas.android.com/apk/res-auto">
<Row> <Row>
<Key <Key
app:keyLabel="1"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="1"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="2" app:keyLabel="2"
@ -12,16 +12,16 @@
app:keyLabel="3" app:keyLabel="3"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyIcon="@drawable/ic_clear_vector"
app:code="-5" app:code="-5"
app:isRepeatable="true" app:isRepeatable="true"
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyIcon="@drawable/ic_clear_vector"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
app:keyLabel="4"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="4"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="5" app:keyLabel="5"
@ -31,12 +31,13 @@
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyLabel="-"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
app:keyLabel="7"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="7"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="8" app:keyLabel="8"
@ -45,29 +46,29 @@
app:keyLabel="9" app:keyLabel="9"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="abc" app:code="32"
app:code="-2"
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyLabel="␣"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
app:keyLabel="*"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="*"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyLabel="0" app:keyLabel="0"
app:topSmallNumber="+" app:keyWidth="25%p"
app:popupKeyboard="@xml/keyboard_popup_template"
app:popupCharacters="+-,." app:popupCharacters="+-,."
app:keyWidth="25%p" /> app:popupKeyboard="@xml/keyboard_popup_template"
app:topSmallNumber="+" />
<Key <Key
app:keyLabel="#" app:keyLabel="#"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
<Key <Key
app:keyIcon="@drawable/ic_enter_vector"
app:code="-4" app:code="-4"
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyIcon="@drawable/ic_enter_vector"
app:keyWidth="25%p" /> app:keyWidth="25%p" />
</Row> </Row>
</Keyboard> </Keyboard>