Change color of search view

EditText searchEditText = (EditText)searchView.findViewById(android.support.v7.appcompat.R.id.search_src_text); searchEditText.setTextColor(ContextCompat.getColor(App.getInstance().getApplicationContext(), color)); searchEditText.setHintTextColor(ContextCompat.getColor(App.getInstance().getApplicationContext(), color));

Read More

Change text color of SearchView Android

EditText searchEditText = (EditText)searchView.findViewById(android.support.v7.appcompat.R.id.search_src_text); searchEditText.setTextColor(ContextCompat.getColor(App.getInstance().getApplicationContext(), R.color.white)); searchEditText.setHintTextColor(ContextCompat.getColor(App.getInstance().getApplicationContext(), R.color.white)); http://stackoverflow.com/questions/38658093/change-color-android-support-v7-widget-searchview

Read More