I’m currently experimenting with the sample SoftKeyboard on my tablet (Android 3.2).
When I open the Google mail app and set the focus to the recipient field, the textfield is expanded to fill the available space above the keyboard.

This looks very much like the fullscreen or extract mode as described in Onscreen Input Methods in the documentation. From what I gathered there, this is set by the activity, which uses the SoftKeyboard.
What bugs me is
- this is not very convenient for the recipient input field (although that might be a matter of taste)
- that the stock softkeyboard manages to prevent this, as shown below:

- also sometimes the textcolor in the input box is set to white (probably some adjustment due to daytime/nighttime?). White on white is more or less unreadable.
So my question is: What do I have to change to get a similar behaviour in the example SoftKeyboard?
Thanks & all the best
Andreas
The sample soft keyboard is very out-dated — it uses a layout that hasn’t been seen since Froyo/Eclair.
The sample soft keyboard is just that: a sample, not to be confused with a fully-fledged android keyboard. If you are looking for a full implementation of an Android keyboard, check out AnySoftKeyboard’s source code or the AOSP source code.
To get rid of fullscreen, I know part of the issue lies in the
onComputeInsets()function. Like I said though, I’d base your code off full Android keyboard (i.e. AOSP or Cyanogenmod) rather than trying to get the sample to work. I tried that for months, and there’s just too many problems you’ll run in to (multitouch and theming, just to name a couple).Send me an email if you have any questions.