How to show dropdown list items below the spinner view in android?

I want to use a spinner to show dropdown list items always below the spinner view . I have tried with different implementations and searched through internet still it shows above the view.
How can I fix this problem?


You can use the Material Spinner library, you can change the app:spinnerMode in order to show as you want.

enter image description here