How to change SearchView elements' color?

后端 未结 9 1825
北海茫月
北海茫月 2020-12-31 02:47

I want to use SearchView in my project, but I have a problem with elements\' color. Let me show you: its fragmentDialog where I have my SearchView

I dont need to change

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-31 03:16

    In this answer I assume that, the SearchView is added inside Toolbar and AppTheme is a child of Theme.AppCompat.Light.NoActionBar

    
    

    Now use the AppTheme.Toolbar as your toolbar's theme.

    
    

提交回复
热议问题