title: AutoCompleteTextView layout
body: <p>I am creating my AutoCompleteTextView as follows. </p>
  
  <pre><code>&lt;AutoCompleteTextView
      android:id="@+id/mYEditText"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:enabled="true"
      android:completionThreshold="1"
      android:hint="some-hint" &gt;
  &lt;/AutoCompleteTextView&gt;
  </code></pre>
  
  <p>Then I am utilizing it via : </p>
  
  <pre><code>ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,android.R.layout.simple_dropdown_item_1line, COUNTRIES);
  myAcEditText.setAdaper(adapter);
  </code></pre>
  
  <p>However, I do not want the basic autocomplete to appear with just one word per row. For example I would like to show the name on first line and his address on the second.</p>
  
  <p>Is there a way to implement custom adapters for AutoCompleteTextView ?</p>
  
  <p>**** EDIT 1** : I tried implementhing the <a href="https://stackoverflow.com/questions/16962340/how-to-add-a-custom-adapter-to-an-autocompletetextview">Following</a> solution.</p>
  
  <p>Once I created the class, I am utilizing it in the following way. Which is not working.</p>
  
  <pre><code>    TwoLineDropdownAdapter adapter = new  TwoLineDropdownAdapter(myActivity.this, al);
      myET.setAdapter(adapter);
  </code></pre>