How do I place spinner below the spinner layout when it is clicked and show spinner item in lollipop and above?

DroidDev picture DroidDev · Nov 3, 2015 · Viewed 20.6k times · Source

Like overflow menu overlaps the toolbar same way spinner overlaps itself when it is shown drop down item in lollipop and above android version. So I need to place it below the spinner view not over it.

Answer

Victor picture Victor · Nov 28, 2015

You can use

 android:overlapAnchor="false"

This will show the dropdown below the spinner view (Work on api level 21 and higher).