Selection list cut off in AutoCompleteTextView in Dialog

后端 未结 6 920
名媛妹妹
名媛妹妹 2021-02-06 09:55

I have a dialog window that covers 1/3 of the entire screen height and is displayed on top of my activity. The dialog holds two AutoCompleteTextView fields.

The problem

6条回答
  •  孤独总比滥情好
    2021-02-06 10:19

    Not long ago i faced this problem. I had small dialog with AutoCompleteTextView, which had more than 10 items in Drop Down list. This list was cutted. My solution was:
    Place some empty View in my Dialog layout file with parameters

    
    
           
    
    
    

    It made my little dialog like a full screen dialog, but actualy that "tail" wasn't showed, and my DropDown wasn't cutted at all, cause it had enough place to show list items from DropDown.

提交回复
热议问题