Turns out the issue is with the combination flags set on the Window
(FLAG_FULLSCREEN and SOFT_INPUT_ADJUST_RESIZE or adjustResize in the
manifest).

See:

http://groups.google.com/group/android-developers/browse_thread/thread/4f5f779d58170d20

And a defect raised here:

http://code.google.com/p/android/issues/detail?id=5497

On Mar 3, 11:25 am, jamesc <[email protected]> wrote:
> OK, so by experimenting with a test application containing:
>
> - A Button to toggle the IME (show/hide).
> - A ScrollView containing TextViews.
>
> I can get the behviour I require.  However, this is obviously just a
> test app.
>
> The issue still stands that my View implementation doesn't get it's
> onSizeChanged() method called by the framwork when the IME is shown/
> hidden.  Comparing my test app with the non-functioning app, I note
> that in the test app the ScrollView's onSizeChanged() gets called by
> the framework requesting a layout, and then an invalidate() to redraw
> the screen.  This behaviour is missing in my non-functioning
> application; there is no call to the ScrollView's onSizeChanged() or
> to my implemented View's onSizeChanged().
>
> I'd really appreciate some help on this one, as it's pretty much the
> last thing I've got to get done for my app.
>
> Cheers
>
> James
>
> On Mar 2, 6:13 pm, jamesc <[email protected]> wrote:
>
> > How do I ensure that I get the 'resize' behaviour when the IME is
> > shown/hidden?
>
> > I've included the following in my manifest:
>
> > android:windowSoftInputMode="adjustResize"
>
> > What else am I supposed to add?  I've read that the container that the
> > View is placed in should 'support resize' but what layouts support
> > this?
>
> > Cheers
>
> > James
>
>

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

Reply via email to