I wanted to set the background color of a Spinner in Android Studio and have been able to do so with the following code:
<Spinner
android:id="@+id/StreamSpinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:background="#D2B450"
android:popupBackground="#D2B450">
</Spinner>
The issue is that when I added android:popupBackground="#D2B450" it put some borders/padding around the selection box which were not there before I added that line. Before I added that line, the selection box with the content was with a white background and no padding/borders.
I have not been able to find out how to remove this while retaining the background color I need (#D2B450).
This is what it looks like with the line in place to set the popupBackground (see black borders)
and this is what it looks like without that line:
Can anyone point me in the right direction to remove the borders?
Thanks.

