Hi,

We have got all our own edit boxes etc. so we call the virtual
keyboard from SDK 1.5 in the followng way (when the use selects one of
our edit/text boxes):

Context c = getApplicationContext();
InputMethodManager inputManager = (InputMethodManager)
c.getSystemService( Context.INPUT_METHOD_SERVICE );
inputManager.showSoftInput(ourCanvasInstance, 0);

This works fine and even populates our edit boxes automatically upon
key entry, we can dismiss it by calling:

inputManager.toggleSoftInput(0, 0);


The problem we have now is that we need to know the size of the
virtual keyboard so that we can resize all our popups etc to fit
within the area of the screen that is not covered by the virtual
keyboard. Is there anyway of getting the height of the default virtual
keyboard? I have noticed that android.inputmethodservice.Keyboard has
access to the height but I can't seem to find anyway to access this,
does anyone happen to know any useful pointers to be able to access
the height of the VK?

Thanks,
Stephen


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