When in landscape, you aren't seeing -any- of your application, the IME is
running in fullscreen mode and completely covering it (so there is no reason
to do more work and resize the app to...  nothing).

On Fri, Sep 11, 2009 at 8:27 AM, Howard M. Harte <[email protected]> wrote:

>
> When Android is in portrait mode and the soft keyboard IME is shown,
> my app is resized properly.  When in landscape mode, the soft keyboard
> IME is always in fullscreen/extract mode, and even though I can see
> the top portion of my app, it doesn't resize my app.  I couldn't find
> any way to make the IME not come up in fullscreen mode.  So instead, I
> detect this condition, and manually resize my app.  This works, but
> unfortunately, to make this work well, I need to know the height of
> the IME, or the portion of my app that remains visible.  But it seems
> there is no way to get this information, and the soft keyboard IME's
> height varies on different devices.  As a hack, I put in options for
> the user to be able to adjust these parameters, and set the defaults
> for the G1.  I can live with this for now, but is there a more
> appropriate way to handle this?
>
> In addition, even in portrait mode, if the status bar is hidden, the
> IME also does not resize my app.  This clearly seems like a bug to me.
>
> Any suggestions?
>
> Thanks,
> Howard
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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