AnySoftKeyboard / LanguagePack

[deprecated]
Apache License 2.0
117 stars 188 forks source link

Info for New Layout #319

Closed si6ned closed 4 years ago

si6ned commented 4 years ago

Hi all,

i would like to do my own Version of the german layout. For that i'm following Kertase's Commit https://github.com/AnySoftKeyboard/LanguagePack/pull/314/files

Since I only want to add an xml and make minor changes I don't need Gradle or Android Studio, right? I'm struggeling with the new id in languages/german/pack/src/main/res/xml/german_keyboards.xml though, how do I get it?

<Keyboard nameResId="@string/de_keyboard_neo2" iconResId="@drawable/ic_status_german" layoutResId="@xml/de_neo2" id="ad1b5ffa-15cc-4ba4-abb7-68df2c0874e7"

Any help appreciated!

martholomew commented 4 years ago

Generate a random new id here. Hope that helps. Forgot to add, if you wish to create an apk for this change, and not to commit it to the repo, you are going to need Android Studio/Gradle to be able to build it.

si6ned commented 4 years ago

All right, thanks!

si6ned commented 4 years ago

For anyone interested, I made my own repo for the german language pack

with layouts with more popup characters and functional keys: https://github.com/si6ned/LanguagePack

These 3 keyboards were added: https://github.com/si6ned/LanguagePack/blob/master/languages/german/pack/src/main/res/xml/de_qwertz_equal.xml https://github.com/si6ned/LanguagePack/blob/master/languages/german/pack/src/main/res/xml/de_qwertz_broad.xml https://github.com/si6ned/LanguagePack/blob/master/languages/german/pack/src/main/res/xml/de_qwertz_extra.xml