Android custom layout for AutoCompleteTextView
<p>I may be missing something simple here, but I have an AutoCompleteTextView that contains some very long items. When one is clicked, it shows the text correctly in the EditText and spans it over several lines.</p>

<p>However, I want it to be in multiple lines on the popup as well, so that the users can see which item they are selecting. </p>

<p>Here is my custom layout:</p>

<pre><code>&lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:ellipsize="none"
    android:maxLines="100"
    android:scrollHorizontally="false" /&gt;
</code></pre>

<p>Here is my initialisation of the array and adapter:</p>

<pre><code>ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,
                R.layout.dropdown_item_wrap_line, getResources().getStringArray(R.array.building_descriptions));
        mBuildingDesc.setAdapter(adapter);
</code></pre>
