On Sep 12, 11:08 am, Dianne Hackborn <[email protected]> wrote:
> No, it is generally up to the IME to decide what it needs to do; you
> certainly can't guarantee that it won't go fullscreen, because it just may
> need to do so it have enough space to interact with the user.
> One thing you will want to do is use flagNoExtractUi to tell it that full
> extract mode is not needed:
>
> http://developer.android.com/reference/android/widget/TextView.html#a...
>
> <http://developer.android.com/reference/android/widget/TextView.html#a...>However,
> I think this was broken in 1.5.
Thanks Diane,
the flagNoExtractUi is what I am using, and I can see the top portion
of my app, but I think you are correct that it is broken in 1.5 in
that the framework does not resize the visible portion of my app. I
see the same behavior in the 1.6 SDK built from the open source
repository.
-Howard
>
> On Sat, Sep 12, 2009 at 8:44 AM, Howard M. Harte <[email protected]> wrote:
>
>
>
>
>
>
>
> > On Sep 11, 9:52 am, Dianne Hackborn <[email protected]> wrote:
> > > 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).
>
> > There is a flag (forgot what it is at the moment) that allows the app
> > to remain visible above the IME in fullscreen mode. But is there a
> > way to make the standard soft keyboard IME not go into fullscreen mode
> > in Landscape?
>
> > You can see what I mean, if you try my app: "Better Terminal Emulator
> > Magic" which is a free app.
>
> > the "Better Terminal Emulator Pro" version has the hack to force
> > resize the app, but is not a free app.
>
> > Thanks,
> > Howard
>
> > > 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.
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---