I'm having problems getting AnySoftKeyboard's custom ask attributes to work in a LanguagePack build. There's no guidance on the readme on how these should be implemented, and very few existing packs seem to use it.
Here's an example. I cloned the latest commit and edited qwerty.xml.
The pack builds successfully, but ask:longPressCode="-100" seems to do nothing. The settings dialog does not appear when long-pressing the enter key. I've tested on two different devices, one of which is running Oreo, and the other one is running Nougat.
I also tested the Turkish layouts, which use the ask:shiftedKeyLabel attribute. However, the attribute does not work there either (the key does not display the specified character when shift is active).
Are these attributes not supposed to work in language packs, or am I just doing something wrong here? Better documentation would be highly appreciated.
I'm having problems getting AnySoftKeyboard's custom
ask
attributes to work in a LanguagePack build. There's no guidance on the readme on how these should be implemented, and very few existing packs seem to use it.Here's an example. I cloned the latest commit and edited
qwerty.xml
.I added the namespace for the ask attributes:
I also added an overriding bottom row to the layout:
Everything else is unchanged.
The pack builds successfully, but
ask:longPressCode="-100"
seems to do nothing. The settings dialog does not appear when long-pressing the enter key. I've tested on two different devices, one of which is running Oreo, and the other one is running Nougat.I also tested the Turkish layouts, which use the
ask:shiftedKeyLabel
attribute. However, the attribute does not work there either (the key does not display the specified character when shift is active).Are these attributes not supposed to work in language packs, or am I just doing something wrong here? Better documentation would be highly appreciated.