Sunday, May 30, 2010

[android-developers] Re: Soft Keyboard Candidate View problem

Answering my own question here, finally figure out the solution.
In the InputMethodService, override this method:

@Override public void onComputeInsets(InputMethodService.Insets
outInsets) {
super.onComputeInsets(outInsets);
if (!isFullscreenMode()) {
outInsets.contentTopInsets = outInsets.visibleTopInsets;
}
}

and then it is done.

Ced

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate