Use isFullscreenMode to determine candidate container height
Bug: 5081182 Change-Id: I3783d3994e96f8bf466cbc47c9e0aecc2a6bed50main
parent
0a5345c7b6
commit
4b1780fa95
|
@ -917,7 +917,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||
if (onEvaluateInputViewShown() && mCandidateViewContainer != null) {
|
||||
final boolean shouldShowCandidates = shown
|
||||
&& (needsInputViewShown ? mKeyboardSwitcher.isInputViewShown() : true);
|
||||
if (isExtractViewShown()) {
|
||||
if (isFullscreenMode()) {
|
||||
// No need to have extra space to show the key preview.
|
||||
mCandidateViewContainer.setMinimumHeight(0);
|
||||
mCandidateViewContainer.setVisibility(
|
||||
|
|
Loading…
Reference in New Issue