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
I have successfully achieved this, but it isn't pretty.
I ended up overriding my SimpleCursorAdapter.newView()
method, walking up the ViewParent
hierarchy until I reached the root View
, and then modifying its WindowManager.LayoutParams
by ORing in the FLAG_LAYOUT_NO_LIMITS
flag.
This needs to be redone every time the drop down is displayed.