问题
I am developing a soft keyboard for android. I want to restart the Input Method Service from settingsAcitivty. Is there anyway I can do that?
回答1:
I got it now. I add this line in onStartInputView method.
setInputView(onCreateInputView());
来源:https://stackoverflow.com/questions/30274936/how-to-restart-android-inputmethodservice