Skip to content

Commit

Permalink
Update SingleSpinnerSearch.java
Browse files Browse the repository at this point in the history
  • Loading branch information
c4software authored Oct 26, 2020
1 parent 14836f1 commit 9f4911b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ public View getView(final int position, View convertView, ViewGroup parent) {

if (data.isSelected()) {
holder.textView.setTypeface(null, Typeface.BOLD);
holder.textView.setTextColor(Color.WHITE);
convertView.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.list_selected));
holder.textView.setTextColor(ContextCompat.getColor(getContext(), R.color.list_selected));
convertView.setBackgroundColor(ContextCompat.getColor(getContext(), color));
} else {
holder.textView.setTextColor(Color.DKGRAY);
holder.textView.setTypeface(null, Typeface.NORMAL);
Expand Down

0 comments on commit 9f4911b

Please sign in to comment.