Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 850cd726 authored by Alan Viverette's avatar Alan Viverette
Browse files

Apply Spinner dropDownSelector value from XML

Bug: 26400523
Change-Id: I7e09d709214b6841b688cf130638583a9db01f19
parent 636adbb7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -271,6 +271,10 @@ public class Spinner extends AbsSpinner implements OnClickListener {
                        attrs, R.styleable.Spinner, defStyleAttr, defStyleRes);
                mDropDownWidth = pa.getLayoutDimension(R.styleable.Spinner_dropDownWidth,
                        ViewGroup.LayoutParams.WRAP_CONTENT);
                if (pa.hasValueOrEmpty(R.styleable.Spinner_dropDownSelector)) {
                    popup.setListSelector(pa.getDrawable(
                            R.styleable.Spinner_dropDownSelector));
                }
                popup.setBackgroundDrawable(pa.getDrawable(R.styleable.Spinner_popupBackground));
                popup.setPromptText(a.getString(R.styleable.Spinner_prompt));
                pa.recycle();