title: Selection list cut off in AutoCompleteTextView in Dialog
body: <p>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.</p>
  
  <p>The problem I'm facing is that when the user starts typing something into the AutoCompleteTextView, the list with all suggestions only shows up to the bottom end of the dialog, but doesn't go beyond that even the list is longer. It looks like it's cut off. (screenshot left)</p>
  
  <p>Only after I long-press an item from the suggestion list, the list will be shown in full length. (screenshot right)</p>
  
  <p>Screenhot is at: <a href="http://img704.imageshack.us/i/dialogdropdown.png/" rel="noreferrer">http://img704.imageshack.us/i/dialogdropdown.png/</a>
  <a href="http://img704.imageshack.us/img704/1893/dialogdropdown.png" rel="noreferrer">screenshot http://img704.imageshack.us/img704/1893/dialogdropdown.png</a></p>
  
  <p><strong>How to fix this behaviour so that the list shows in full length right from the beginning, when the user starts typing something?</strong></p>
  
  <p>Code-wise there's nothing special, all I do is:</p>
  
  <pre><code>ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this.getContext(), R.layout.nav_route_autocomplete_row, locStrings);        
  AutoCompleteTextView txtStartPos = (AutoCompleteTextView) findViewById(R.id.txtStartPos);
  txtStartPos.setAdapter(adapter);
  ...
  </code></pre>
  
  <p>One workaround idea is to somehow dispatch a motion event to simulate a touch (but then not selecting though) one of the list items. Any concrete idea in code for a solution, anybody?</p>