Dianne,

Thanks.

Adding
android:windowSoftInputMode="adjustResize"
in the AndroidManifest enables the Window to be resized when the soft
keyboard is shown. This was sufficient for my application.

On Jun 18, 6:16 pm, Dianne Hackborn <[email protected]> wrote:
> Your view hierarchy (and thus surface view) will be resized when the IME is
> displayed, as long as you make sure your window is in resizable mode.
>
>
>
>
>
> On Fri, Jun 18, 2010 at 5:49 PM, folecr <[email protected]> wrote:
> > My Android app uses a GLSurfaceView so that I can draw to screen
> > directly from native code. As part of the app, I invoke the Android
> > softKeyboard when necessary to receive input. I then feed the input to
> > the native app via JNI.
> > All this works well...
>
> > Now, the problem is that I need to know the dimensions of the soft
> > keyboard or any other Input Method windows that are displayed so that
> > I can pan, scroll the native application correctly.
>
> > Is it possible to get the dimensions of the soft keyboard?
> > Thanks.
>
> > --
> > 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]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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