Is there a reason why InputMethodService's onCreateInputView() is called 
twice when the user switches to landscape from portrait? Is there a way to 
disable this?

It's causing an issue in my GLSurfaceView-based SoftKeyboard. Somehow, 
GLSurfaceView does not want to render after being removed from the view 
previously. Somehow onLayout and onMeasure is called, but not the rendering 
code. It seems that somehow InputMethodService managed to stop the 
GLSurfaceView thread, and I'll have to hack around this somehow.

However, this shouldn't have happened because onCreateInputView is supposed 
to only be called once, as per the API description:

"This will be called once, when the input area is first displayed. You can 
return null to have no input area; the default implementation returns 
null." (from 
http://developer.android.com/reference/android/inputmethodservice/InputMethodService.html#onCreateInputView()
 )

Can anybody help me, or point me to the right direction?

I've been told the chances are that I'll have to delve into the source code 
myself (having nightmares on that) or pray that someone from Google 
replies. Is that the reality of Android development?

-- 
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.

Reply via email to