I know there\'s already a lot of answers for this question here, and I wouldn\'t be creating another thread if I hadn\'t already tried everything I saw here. Anyway, the qu
Use below code:
ImageView searchIcon = searchView.findViewById(R.id.search_button); searchIcon.setColorFilter(Color.WHITE);
If you want to change close icon color, use this one:
ImageView searchClose = searchView.findViewById(R.id.search_close_btn); searchIcon.setColorFilter(Color.WHITE);