I can add underline in spinner using style=\"@style/Base.Widget.AppCompat.Spinner.Underlined\"
. How can I change color of underline using style only? I dont wan
By default the Spinner
will use the color set via android:textColorSecondary
or colorControlNormal
in your AppTheme
. So either set the appropriate colors there or define a new Theme and apply this one to your Spinner:
styles.xml
layout.xml
Note: The dropdown arrow will also be tinted - I'm not aware of an option to color the arrow separately