I'm looking to change the style of the scrollbar in my spinner popup view. But changing properties in the xml doesn't do anything to the popup as it's a different view.
<Spinner
android:id="@+id/countrySpinner"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@drawable/spinner_background"
android:layoutDirection="rtl"
android:popupBackground="@drawable/spinner_dropdown_background"
android:popupElevation="4dp"
app:popupTheme="@style/PopupTheme"
app:layout_constraintBottom_toTopOf="@id/citySpinner"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_percent="0.8" />
This is the style of my spinner. As it's clear, the scrollbar is appearing on top of the corners of the spinner which make it look very off.
Is there anyway to change the style of the scrollbar? Make it more round like the corners. Or at least remove it entirely.
Edit : I managed to remove it from styles. Would still like if there was a way to customize it