I have a searchview with a content provider for custom suggestions, which are displayed in a dropdown. However, the dropdown background is dark while the text is black so it\'s
Simple solution
int autoCompleteTextViewID = getResources().getIdentifier("search_src_text", "id", getPackageName()); mSearchAutoCompleteTextView = mSearchView.findViewById(autoCompleteTextViewID); mSearchAutoCompleteTextView.setDropDownBackgroundResource(R.color.white);