adding a couple extra popup characters at long pressing

This commit is contained in:
tibbi 2022-02-02 16:20:24 +01:00
parent 44ac4ad7f9
commit c4c2431894
2 changed files with 15 additions and 12 deletions

View File

@ -5,7 +5,7 @@ const val SHIFT_ON_ONE_CHAR = 1
const val SHIFT_ON_PERMANENT = 2 const val SHIFT_ON_PERMANENT = 2
// limit the count of alternative characters that show up at long pressing a key // limit the count of alternative characters that show up at long pressing a key
const val MAX_KEYS_PER_MINI_ROW = 5 const val MAX_KEYS_PER_MINI_ROW = 8
// shared prefs // shared prefs
const val VIBRATE_ON_KEYPRESS = "vibrate_on_keypress" const val VIBRATE_ON_KEYPRESS = "vibrate_on_keypress"

View File

@ -14,7 +14,7 @@
app:topSmallNumber="2" /> app:topSmallNumber="2" />
<Key <Key
app:keyLabel="e" app:keyLabel="e"
app:popupCharacters="" app:popupCharacters="éè3êëē"
app:popupKeyboard="@xml/keyboard_popup_template" app:popupKeyboard="@xml/keyboard_popup_template"
app:topSmallNumber="3" /> app:topSmallNumber="3" />
<Key <Key
@ -29,22 +29,22 @@
app:topSmallNumber="5" /> app:topSmallNumber="5" />
<Key <Key
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: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: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:keyLabel="o" app:keyLabel="o"
app:popupCharacters="őöó" app:popupCharacters="őöóôòõ9ō"
app:popupKeyboard="@xml/keyboard_popup_template" app:popupKeyboard="@xml/keyboard_popup_template"
app:topSmallNumber="9" /> app:topSmallNumber="9" />
<Key <Key
@ -59,17 +59,20 @@
app:horizontalGap="5%" app:horizontalGap="5%"
app:keyEdgeFlags="left" app:keyEdgeFlags="left"
app:keyLabel="a" app:keyLabel="a"
app:popupCharacters="á" app:popupCharacters="áàâãäåāæ"
app:popupKeyboard="@xml/keyboard_popup_template" /> app:popupKeyboard="@xml/keyboard_popup_template" />
<Key <Key
app:keyLabel="s" app:keyLabel="s"
app:popupCharacters="š" app:popupCharacters="šßš"
app:popupKeyboard="@xml/keyboard_popup_template" /> app:popupKeyboard="@xml/keyboard_popup_template" />
<Key <Key
app:keyLabel="d" app:keyLabel="d"
app:popupCharacters="ď" app:popupCharacters="ďđ"
app:popupKeyboard="@xml/keyboard_popup_template" />
<Key
app:keyLabel="f"
app:popupCharacters="₣"
app:popupKeyboard="@xml/keyboard_popup_template" /> app:popupKeyboard="@xml/keyboard_popup_template" />
<Key app:keyLabel="f" />
<Key app:keyLabel="g" /> <Key app:keyLabel="g" />
<Key app:keyLabel="h" /> <Key app:keyLabel="h" />
<Key app:keyLabel="j" /> <Key app:keyLabel="j" />
@ -77,7 +80,7 @@
<Key <Key
app:keyEdgeFlags="right" app:keyEdgeFlags="right"
app:keyLabel="l" app:keyLabel="l"
app:popupCharacters="ĺľ" app:popupCharacters="ĺľλ"
app:popupKeyboard="@xml/keyboard_popup_template" /> app:popupKeyboard="@xml/keyboard_popup_template" />
</Row> </Row>
<Row> <Row>
@ -93,7 +96,7 @@
<Key app:keyLabel="x" /> <Key app:keyLabel="x" />
<Key <Key
app:keyLabel="c" app:keyLabel="c"
app:popupCharacters="č" app:popupCharacters="çčć¢"
app:popupKeyboard="@xml/keyboard_popup_template" /> app:popupKeyboard="@xml/keyboard_popup_template" />
<Key app:keyLabel="v" /> <Key app:keyLabel="v" />
<Key app:keyLabel="b" /> <Key app:keyLabel="b" />