adding some key popup characters
This commit is contained in:
parent
e0d4979865
commit
8ce069ca3b
|
@ -1157,8 +1157,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||||
}
|
}
|
||||||
|
|
||||||
if (coords[0] - me.x > mPopupMaxMoveDistance || // left
|
if (coords[0] - me.x > mPopupMaxMoveDistance || // left
|
||||||
me.x - (coords[0] + mMiniKeyboard!!.width) > mPopupMaxMoveDistance || // right
|
me.x - (coords[0] + mMiniKeyboard!!.width) > mPopupMaxMoveDistance // right
|
||||||
me.y > mPopupMaxMoveDistance // bottom
|
|
||||||
) {
|
) {
|
||||||
dismissPopupKeyboard()
|
dismissPopupKeyboard()
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,43 +22,43 @@
|
||||||
<Key
|
<Key
|
||||||
app:codes="101"
|
app:codes="101"
|
||||||
app:keyLabel="e"
|
app:keyLabel="e"
|
||||||
app:popupCharacters="3"
|
app:popupCharacters="3é"
|
||||||
app:popupKeyboard="@xml/keyboard_popup_template"
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
app:topSmallNumber="3" />
|
app:topSmallNumber="3" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="114"
|
app:codes="114"
|
||||||
app:keyLabel="r"
|
app:keyLabel="r"
|
||||||
app:popupCharacters="4"
|
app:popupCharacters="ř4ŕ"
|
||||||
app:popupKeyboard="@xml/keyboard_popup_template"
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
app:topSmallNumber="4" />
|
app:topSmallNumber="4" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="116"
|
app:codes="116"
|
||||||
app:keyLabel="t"
|
app:keyLabel="t"
|
||||||
app:popupCharacters="5"
|
app:popupCharacters="5ť"
|
||||||
app:popupKeyboard="@xml/keyboard_popup_template"
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
app:topSmallNumber="5" />
|
app:topSmallNumber="5" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="121"
|
app:codes="121"
|
||||||
app:keyLabel="y"
|
app:keyLabel="y"
|
||||||
app:popupCharacters="6"
|
app:popupCharacters="6ý"
|
||||||
app:popupKeyboard="@xml/keyboard_popup_template"
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
app:topSmallNumber="6" />
|
app:topSmallNumber="6" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="117"
|
app:codes="117"
|
||||||
app:keyLabel="u"
|
app:keyLabel="u"
|
||||||
app:popupCharacters="7"
|
app:popupCharacters="ű7üú"
|
||||||
app:popupKeyboard="@xml/keyboard_popup_template"
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
app:topSmallNumber="7" />
|
app:topSmallNumber="7" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="105"
|
app:codes="105"
|
||||||
app:keyLabel="i"
|
app:keyLabel="i"
|
||||||
app:popupCharacters="8"
|
app:popupCharacters="8í"
|
||||||
app:popupKeyboard="@xml/keyboard_popup_template"
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
app:topSmallNumber="8" />
|
app:topSmallNumber="8" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="111"
|
app:codes="111"
|
||||||
app:keyLabel="o"
|
app:keyLabel="o"
|
||||||
app:popupCharacters="9"
|
app:popupCharacters="őöó9ô"
|
||||||
app:popupKeyboard="@xml/keyboard_popup_template"
|
app:popupKeyboard="@xml/keyboard_popup_template"
|
||||||
app:topSmallNumber="9" />
|
app:topSmallNumber="9" />
|
||||||
<Key
|
<Key
|
||||||
|
@ -74,13 +74,19 @@
|
||||||
app:codes="97"
|
app:codes="97"
|
||||||
app:horizontalGap="5%"
|
app:horizontalGap="5%"
|
||||||
app:keyEdgeFlags="left"
|
app:keyEdgeFlags="left"
|
||||||
app:keyLabel="a" />
|
app:keyLabel="a"
|
||||||
|
app:popupCharacters="á"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="115"
|
app:codes="115"
|
||||||
app:keyLabel="s" />
|
app:keyLabel="s"
|
||||||
|
app:popupCharacters="š"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="100"
|
app:codes="100"
|
||||||
app:keyLabel="d" />
|
app:keyLabel="d"
|
||||||
|
app:popupCharacters="ď"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="102"
|
app:codes="102"
|
||||||
app:keyLabel="f" />
|
app:keyLabel="f" />
|
||||||
|
@ -98,7 +104,9 @@
|
||||||
app:keyLabel="k" />
|
app:keyLabel="k" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="108"
|
app:codes="108"
|
||||||
app:keyLabel="l" />
|
app:keyLabel="l"
|
||||||
|
app:popupCharacters="ĺľ"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
<Key
|
<Key
|
||||||
|
@ -108,13 +116,17 @@
|
||||||
app:keyWidth="15%p" />
|
app:keyWidth="15%p" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="122"
|
app:codes="122"
|
||||||
app:keyLabel="z" />
|
app:keyLabel="z"
|
||||||
|
app:popupCharacters="ž"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="120"
|
app:codes="120"
|
||||||
app:keyLabel="x" />
|
app:keyLabel="x" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="99"
|
app:codes="99"
|
||||||
app:keyLabel="c" />
|
app:keyLabel="c"
|
||||||
|
app:popupCharacters="č"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="118"
|
app:codes="118"
|
||||||
app:keyLabel="v" />
|
app:keyLabel="v" />
|
||||||
|
@ -123,7 +135,9 @@
|
||||||
app:keyLabel="b" />
|
app:keyLabel="b" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="110"
|
app:codes="110"
|
||||||
app:keyLabel="n" />
|
app:keyLabel="n"
|
||||||
|
app:popupCharacters="ňń"
|
||||||
|
app:popupKeyboard="@xml/keyboard_popup_template" />
|
||||||
<Key
|
<Key
|
||||||
app:codes="109"
|
app:codes="109"
|
||||||
app:keyLabel="m" />
|
app:keyLabel="m" />
|
||||||
|
|
Loading…
Reference in New Issue