I have a InputMethodService subclass, and I have implemented custom themes
for it, calling `setTheme()` before `super.onCreate()` in the `onCreate()`
method (as instructed). But when the user selects a new theme via a
PreferenceActivity, I can't just call `setTheme()` again because I get an
error:
java.lang.IllegalStateException: Must be called before onCreate()
at
android.inputmethodservice.InputMethodService.setTheme(InputMethodService.java:672)
So it looks like I need to restart the input method from square one. How do
I do that from within the input method code?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.