am c7aef5d0: Merge change 25477 into eclair
Merge commit 'c7aef5d0fda58a1685e5584b34e1b80ba016f017' into eclair-plus-aosp * commit 'c7aef5d0fda58a1685e5584b34e1b80ba016f017': Make ACTV use all available space if height is FILL_PARENT.
This commit is contained in:
@@ -1325,7 +1325,7 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe
|
|||||||
final int maxHeight = mPopup.getMaxAvailableHeight(
|
final int maxHeight = mPopup.getMaxAvailableHeight(
|
||||||
getDropDownAnchorView(), mDropDownVerticalOffset, ignoreBottomDecorations);
|
getDropDownAnchorView(), mDropDownVerticalOffset, ignoreBottomDecorations);
|
||||||
|
|
||||||
if (mDropDownAlwaysVisible) {
|
if (mDropDownAlwaysVisible || mDropDownHeight == ViewGroup.LayoutParams.FILL_PARENT) {
|
||||||
// getMaxAvailableHeight() subtracts the padding, so we put it back,
|
// getMaxAvailableHeight() subtracts the padding, so we put it back,
|
||||||
// to get the available height for the whole window
|
// to get the available height for the whole window
|
||||||
int padding = 0;
|
int padding = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user