am 51cefb2e: Merge change 7889 into donut
Merge commit '51cefb2ef58e18acad800c9aa63c2a7eee4d9731' * commit '51cefb2ef58e18acad800c9aa63c2a7eee4d9731': Ignore unneeded soft keyboard in ACTV height calc
This commit is contained in:
committed by
Android Git Automerger
commit
90ad64b2cb
@@ -1279,11 +1279,8 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe
|
||||
}
|
||||
}
|
||||
|
||||
// Max height available on the screen for a popup. If this AutoCompleteTextView has
|
||||
// the dropDownAlwaysVisible attribute, and the input method is not currently required,
|
||||
// we then we ask for the height ignoring any bottom decorations like the input method.
|
||||
// Otherwise we respect the input method.
|
||||
boolean ignoreBottomDecorations = mDropDownAlwaysVisible &&
|
||||
// Max height available on the screen for a popup.
|
||||
boolean ignoreBottomDecorations =
|
||||
mPopup.getInputMethodMode() == PopupWindow.INPUT_METHOD_NOT_NEEDED;
|
||||
final int maxHeight = mPopup.getMaxAvailableHeight(
|
||||
getDropDownAnchorView(), mDropDownVerticalOffset, ignoreBottomDecorations);
|
||||
|
||||
Reference in New Issue
Block a user