I have AppCompatAutoCompleteTextViewdown below DialogFragment.
On a tablet (API 19) in landscape mode, the drop-down menu is covered with the keyboard when there is only one item in the list of offers. When there are more items, the drop down menu goes up and works great.
There is no problem in a mobile phone (API 22) even if there is only one item in the offer list, the drop-down menu always appears up.
I have already added android:windowSoftInputMode="adjustPan|stateHidden"to the activity in the manifest.
How can I make the dropdown menu always go up or not close with the keyboard?
source
share