title: Android AutoCompleteTextView DropDown Position
body: <p>I am using following code for auto complete however, dropdown items comes above the <code>AutoCompleteTextView</code>. I want it to show up beneath the <code>AutoCompleteTextView</code>. How can I do that? </p>
  
  <pre><code>package com.example.autocomplete;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.widget.ArrayAdapter;
  import android.widget.AutoCompleteTextView;
  
  public class MainActivity extends Activity {
       protected void onCreate(Bundle icicle) {
           super.onCreate(icicle);
           setContentView(R.layout.activity_main);
  
           ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,
                   android.R.layout.simple_list_item_1, COUNTRIES);
           AutoCompleteTextView textView = (AutoCompleteTextView)
                   findViewById(R.id.countries_list);
           textView.setAdapter(adapter);
       }
  
       private static final String[] COUNTRIES = new String[] {
           "Belgium","Belgam","Bellam", "France Belgium", "Italy", "Germany", "Spain"
       };
   }
  </code></pre>
  
  <p>xml:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context="${relativePackage}.${activityClass}" &gt;
  
      &lt;AutoCompleteTextView
          android:id="@+id/countries_list"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="100dp"
          android:dropDownHeight="100dp"
          android:ems="10"
          android:text="AutoCompleteTextView" &gt;
  
          &lt;requestFocus /&gt;
      &lt;/AutoCompleteTextView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>