Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android spinner dropdown menu background color change

I want to change a spinner's dropdown menu background color without changing the background color of the spinner itself (it's transparent). Is it possible?

like image 829
Muayad Salah Avatar asked Mar 23 '15 19:03

Muayad Salah


1 Answers

Yep, it's possible. Use android:popupBackground on the Spinner in your XML or setPopupBackgroundResource(int) in code.

like image 109
Jschools Avatar answered Oct 08 '22 11:10

Jschools