nightkr / flickboard

Flicking keyboard for Android
GNU Affero General Public License v3.0
121 stars 25 forks source link

Serbian Cyrillic and Latin (the English+ĐĆČŠŽ) #234

Open dimovj opened 2 weeks ago

dimovj commented 2 weeks ago

Language

Serbian

Kind of request

New Layout

More details

Hi, I am a new converted member from MessagEase. I would like to contribute but I need detailed descriptions how because I am not a git user but I have basic knowledge in programming ad can be explained in how-to...

I would like to request two layouts for Serbian language.

  1. Latin : English+ĐĆČŠŽ (already existing on MessagEase as is)
  2. Cyrillic : custom made by me, with consideration to Dvorak and letter usage, it is based on Russian phonetic cyrrilic from MessagEase with some deleted/added keys.

How can I help you add the custom one I made in MessagEase?

Acknowledgements

nightkr commented 21 hours ago

Hey, sorry about the slow response! Adding a new layout basically has two steps:

  1. Create a new layout file in https://github.com/nightkr/flickboard/tree/175f7191cae0425148033383af0cabf57b158833/app/src/main/java/se/nullable/flickboard/model/layouts, by copying an existing one and modifying the values. If you use Android Studio then it should pop up a preview of how it will be rendered in a sidebar.
  2. Add the layout to LetterLayerOption (https://github.com/nightkr/flickboard/blob/main/app/src/main/java/se/nullable/flickboard/ui/Settings.kt#L1466) so that it will show up as an option in the settings panel.