Android Support Toolbar colorControlNormal color

后端 未结 2 741
無奈伤痛
無奈伤痛 2020-12-28 15:51

I would like to set my spinner drop down color to white, whilst keeping the other elements in my theme the default color. Here is the situation:

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-28 16:31

    Finally, I have found a solution on how to change arrow color of Spinner to white.

    1) In styles.xml, add the following style:

    
    
    
    

    2) In the layout, where you use the Spinner (in your case with Toolbar), add the style to your spinner:

    
    

提交回复
热议问题