Skip to content Skip to sidebar Skip to footer

Autocompletetextview Drop-down Appears Above The Edit Field Instead Of Beneath

I have an AutoCompleteTextView, which drop-down appears above the view instead of below. Can someone help me and explain the reason of this? Can it be fixed without changing the la

Solution 1:

Try adding dropDownVerticalOffset attribute to AutoCompleteTextView in your xml:

  ...
         <AutoCompleteTextView
           android:id="@+id/NewSearch"
            android:layout_width="190dip"
            android:layout_height="fill_parent"
                    ...
                     android:dropDownVerticalOffset="50dp"
                    ...
                                             />
    ...

Post a Comment for "Autocompletetextview Drop-down Appears Above The Edit Field Instead Of Beneath"