rkkr / tiny-keyboard

Apache License 2.0
31 stars 8 forks source link

Different layouts #8

Open licaon-kter opened 4 years ago

licaon-kter commented 4 years ago

Is QWERTY hardcoded (an Android or just a size constraint (one layout)?

If not hardcoded can this be made, eg. via a gradle flavor, to generate different packages (different appID) for other layouts? And keep the size, etc.

rkkr commented 4 years ago

Layouts are listed in https://github.com/rkkr/tiny-keyboard/blob/master/app/src/main/res/xml/method.xml . I only left one to keep the size minimal. You would need layout switching logic but that was available in the original source code that you can find in history or linked repository.

An easy way to add more layouts would be to use language specific targets. User would get the layout of the language that is set in his phone. Then size would stay the same, but you wouldn't have an ability to switch.

licaon-kter commented 4 years ago

I'm talking from the view of F-Droid, were we don't have such a target luxury. :)