I have an autocompletetextview and it works very well but I would like to show the results as suggestions above the keyboard. It does this by default when in landscape mode, but not when in portrait. Is there a way I can force it to do the same in portrait?
Picture of portrait mode
Picture of landscape mode
Try setting android:dropDownHeight="XXdp"
for your AutoCompleteTextView
tag in your Layout file.
Edit : You can also try adding code below to your activity definition of your Manifest File:
android:windowSoftInputMode="stateHidden|adjustResize"
or
android:windowSoftInputMode="stateHidden|adjustPan"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With