Merge "Use isFullscreenMode to determine candidate container height"

main
Tadashi G. Takaoka 2011-07-28 17:40:18 -07:00 committed by Android (Google) Code Review
commit 259ce17f5d
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (onEvaluateInputViewShown() && mCandidateViewContainer != null) { if (onEvaluateInputViewShown() && mCandidateViewContainer != null) {
final boolean shouldShowCandidates = shown final boolean shouldShowCandidates = shown
&& (needsInputViewShown ? mKeyboardSwitcher.isInputViewShown() : true); && (needsInputViewShown ? mKeyboardSwitcher.isInputViewShown() : true);
if (isExtractViewShown()) { if (isFullscreenMode()) {
// No need to have extra space to show the key preview. // No need to have extra space to show the key preview.
mCandidateViewContainer.setMinimumHeight(0); mCandidateViewContainer.setMinimumHeight(0);
mCandidateViewContainer.setVisibility( mCandidateViewContainer.setVisibility(