Most Android keyboards show what’s called an “extracted text view” when they’re in landscape mode, where it takes over the whole screen hiding the underlying application. However, you can use the EditorInfo.IME_FLAG_NO_EXTRACT_UI flag with your InputConnection to tell the keyboard not to show the extracted view.
The stock browser now does this (see the source) since Froyo, and you can see it in action by clicking on the search box on google.com in landscape mode. You can see that the stock browser pans the search box such that it is visible just above the keyboard. It looks like the stock browser resizes their view since you can pan to the bottom of the page within that little space above the keyboard (see screen shots).

What I’ve been trying unsuccessfully to figure out is how they’re getting the visible area (or perhaps, inversely, the size of the keyboard). I don’t see any API on the View, ViewGroup, ViewParent, InputConnection etc. that will give you that information. Can anyone help?

 

Search box visible above landscape keyboard

Panned to the bottom of the page (search box still focused)