text & icon of key
実行時に変更するカスタム キーボードを作成しtext of key
ていますicon of key
。
どんな助け、ヒントもかなりのものです。
キーテキストを変更するためのコードは次のとおりです。
Keyboard currentKeyboard = CustomKeyboard.mInputView.getKeyboard();
List<Keyboard.Key> keys = currentKeyboard.getKeys();
CustomKeyboard.mInputView.invalidateKey(changeKey);
keys.get(changeKey).label = "Change Text";