Open KuroiKoyani opened 3 months ago
Adapted from OpenBoard, added degree sign on 'х' like in Gboard. This should overall be much better experience than empty symbol rows for anyone who used Gboard or OpenBoard in the past.
java/res/xml/rowkeys_east_slavic1.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res-auto"
>
<!-- U+0439: "й" CYRILLIC SMALL LETTER SHORT I -->
<Key
latin:keySpec="й"
latin:keyHintLabel="1"
latin:additionalMoreKeys="1,\\%" />
<!-- U+0446: "ц" CYRILLIC SMALL LETTER TSE -->
<Key
latin:keySpec="ц"
latin:keyHintLabel="2"
latin:additionalMoreKeys="2,\\\\" />
<!-- U+0443: "у" CYRILLIC SMALL LETTER U -->
<Key
latin:keySpec="у"
latin:keyHintLabel="3"
latin:additionalMoreKeys="3,|"
latin:moreKeys="!text/morekeys_cyrillic_u" />
<!-- U+043A: "к" CYRILLIC SMALL LETTER KA -->
<Key
latin:keySpec="к"
latin:keyHintLabel="4"
latin:additionalMoreKeys="4,="
latin:moreKeys="!text/morekeys_cyrillic_ka" />
<!-- U+0435: "е" CYRILLIC SMALL LETTER IE -->
<Key
latin:keySpec="е"
latin:keyHintLabel="5"
latin:additionalMoreKeys="5,!text/keyspec_left_square_bracket"
latin:moreKeys="!text/morekeys_cyrillic_ie" />
<!-- U+043D: "н" CYRILLIC SMALL LETTER EN -->
<Key
latin:keySpec="н"
latin:keyHintLabel="6"
latin:additionalMoreKeys="6,!text/keyspec_right_square_bracket"
latin:moreKeys="!text/morekeys_cyrillic_en" />
<!-- U+0433: "г" CYRILLIC SMALL LETTER GHE -->
<Key
latin:keySpec="г"
latin:keyHintLabel="7"
latin:additionalMoreKeys="7,!text/keyspec_less_than"
latin:moreKeys="!text/morekeys_cyrillic_ghe" />
<!-- U+0448: "ш" CYRILLIC SMALL LETTER SHA -->
<Key
latin:keySpec="ш"
latin:keyHintLabel="8"
latin:additionalMoreKeys="8,!text/keyspec_greater_than" />
<Key
latin:keySpec="!text/keyspec_east_slavic_row1_9"
latin:keyHintLabel="9"
latin:additionalMoreKeys="9,!text/keyspec_left_curly_bracket" />
<!-- U+0437: "з" CYRILLIC SMALL LETTER ZE -->
<Key
latin:keySpec="з"
latin:keyHintLabel="0"
latin:additionalMoreKeys="0,!text/keyspec_right_curly_bracket" />
<!-- U+0445: "х" CYRILLIC SMALL LETTER HA -->
<Key
latin:keySpec="х"
latin:additionalMoreKeys="°" />
</merge>
java/res/xml/rowkeys_east_slavic2.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res-auto"
>
<!-- U+0444: "ф" CYRILLIC SMALL LETTER EF -->
<Key
latin:keySpec="ф"
latin:keyHintLabel="\@"
latin:additionalMoreKeys="\\@" />
<Key
latin:keySpec="!text/keyspec_east_slavic_row2_2"
latin:keyHintLabel="#"
latin:additionalMoreKeys="#"
latin:moreKeys="!text/morekeys_east_slavic_row2_2" />
<!-- U+0432: "в" CYRILLIC SMALL LETTER VE -->
<Key
latin:keySpec="в"
latin:keyHintLabel="$"
latin:additionalMoreKeys="$" />
<!-- U+0430: "а" CYRILLIC SMALL LETTER A -->
<Key
latin:keySpec="а"
latin:moreKeys="!text/morekeys_cyrillic_a"
latin:keyHintLabel="%"
latin:additionalMoreKeys="%" />
<!-- U+043F: "п" CYRILLIC SMALL LETTER PE -->
<Key
latin:keySpec="п"
latin:keyHintLabel="&"
latin:additionalMoreKeys="&" />
<!-- U+0440: "р" CYRILLIC SMALL LETTER ER -->
<Key
latin:keySpec="р"
latin:keyHintLabel="_"
latin:additionalMoreKeys="_" />
<!-- U+043E: "о" CYRILLIC SMALL LETTER O -->
<Key
latin:keySpec="о"
latin:keyHintLabel="/"
latin:additionalMoreKeys="/"
latin:moreKeys="!text/morekeys_cyrillic_o" />
<!-- U+043B: "л" CYRILLIC SMALL LETTER EL -->
<Key
latin:keySpec="л"
latin:keyHintLabel="-"
latin:additionalMoreKeys="-" />
<!-- U+0434: "д" CYRILLIC SMALL LETTER DE -->
<Key
latin:keySpec="д"
latin:keyHintLabel="+"
latin:additionalMoreKeys="+" />
<!-- U+0436: "ж" CYRILLIC SMALL LETTER ZHE -->
<Key
latin:keySpec="ж"
latin:keyHintLabel="("
latin:additionalMoreKeys="(" />
<Key
latin:keySpec="!text/keyspec_east_slavic_row2_11"
latin:moreKeys="!text/morekeys_east_slavic_row2_11"
latin:keyHintLabel=")"
latin:additionalMoreKeys=")" />
</merge>
java/res/xml/rowkeys_east_slavic3.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res-auto"
>
<!-- U+044F: "я" CYRILLIC SMALL LETTER YA -->
<Key
latin:keySpec="я"
latin:keyHintLabel="*"
latin:additionalMoreKeys="*" />
<!-- U+0447: "ч" CYRILLIC SMALL LETTER CHE -->
<Key
latin:keySpec="ч"
latin:keyHintLabel="""
latin:additionalMoreKeys=""" />
<!-- U+0441: "с" CYRILLIC SMALL LETTER ES -->
<Key
latin:keySpec="с"
latin:keyHintLabel="'"
latin:additionalMoreKeys="'" />
<!-- U+043C: "м" CYRILLIC SMALL LETTER EM -->
<Key
latin:keySpec="м"
latin:keyHintLabel=":"
latin:additionalMoreKeys=":" />
<Key
latin:keySpec="!text/keyspec_east_slavic_row3_5"
latin:keyHintLabel=";"
latin:additionalMoreKeys=";" />
<!-- U+0442: "т" CYRILLIC SMALL LETTER TE -->
<Key
latin:keySpec="т"
latin:keyHintLabel="!"
latin:additionalMoreKeys="!" />
<!-- U+044C: "ь" CYRILLIC SMALL LETTER SOFT SIGN -->
<Key
latin:keySpec="ь"
latin:moreKeys="!text/morekeys_cyrillic_soft_sign"
latin:keyHintLabel="\?"
latin:additionalMoreKeys="\\?" />
<!-- U+0431: "б" CYRILLIC SMALL LETTER BE -->
<Key
latin:keySpec="б"
latin:keyHintLabel="<"
latin:additionalMoreKeys="<" />
<!-- U+044E: "ю" CYRILLIC SMALL LETTER YU -->
<Key
latin:keySpec="ю"
latin:keyHintLabel=">"
latin:additionalMoreKeys=">" />
</merge>
Screenshots of a local build:
Please add showing symbols hints to East slavic keyboard. Thanks a lot!