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
In this answer I assume that, the SearchView is added inside Toolbar and AppTheme is a child of Theme.AppCompat.Light.NoActionBar
SearchView
Toolbar
AppTheme
Theme.AppCompat.Light.NoActionBar
Now use the AppTheme.Toolbar as your toolbar's theme.
AppTheme.Toolbar