[android-developers] Re: Callback when SoftKeyboard goes away

2010-04-26 Thread jamesc
I'm not aware of one, no. You could have a look on stackoverflow.com and search whether someone has asked a similar question. Actually, I believe that there is a IRC 'question time' where Googlers can answer questions at a specific time/day of the week (Thursdays?), so perhaps that could be an

[android-developers] Re: Callback when SoftKeyboard goes away

2010-04-24 Thread mkellner
The layout that your views are in should get a call to onSizeChanged() with the new sizes. I agree. They should. But they don't in my case. I did as you suggested. I put my SurfaceView into a ScrollView. The ScrollView's onSizeChanged() doesn't get called when the softkeyboard is shown or

[android-developers] Re: Callback when SoftKeyboard goes away

2010-04-24 Thread jamesc
Ah! Yes. It does matter that your using fullscreen (again, another issues I had; I ended up not going fullscreen): http://code.google.com/p/android/issues/detail?id=5497 On Apr 24, 9:37 am, mkellner m.kin...@gmail.com wrote: The layout that your views are in should get a call to

[android-developers] Re: Callback when SoftKeyboard goes away

2010-04-24 Thread mkellner
So truly, there is no solution? In a fullscreen application, there is no way to know when the softkeyboard is dismissed by the back-key? -mk On Apr 24, 1:42 am, jamesc jame...@gmail.com wrote: Ah!  Yes.  It does matter that your using fullscreen (again, another issues I had; I ended up not

[android-developers] Re: Callback when SoftKeyboard goes away

2010-04-23 Thread mkellner
Alas, onSizeChanged() doesn't get called when the IME is invoked or dismissed. My manifest contains: android:windowSoftInputMode=adjustResize as suggested. My main window is a SurfaceView. I also have an EditText view. When I need to open the keyboard, I make

[android-developers] Re: Callback when SoftKeyboard goes away

2010-04-23 Thread jamesc
The layout that your views are in should get a call to onSizeChanged() with the new sizes. I had exactly the same issue a few months ago. My solution was to place my View implementation in a ScrollView and override ScrollView.onSizeChanged() to do stuff that I needed when the IME was

[android-developers] Re: Callback when SoftKeyboard goes away

2010-04-22 Thread jamesc
onSizeChanged() - the system resizes the window when the IME is shown/ hidden. Take a look here: http://groups.google.com/group/android-developers/browse_thread/thread/9d1681a01f05e782 On Apr 22, 3:40 am, mkellner m.kin...@gmail.com wrote: Hello, I am trying to find a way to get a