diff --git a/app/src/main/java/za/org/sudo/safesaving/ListAdapter.java b/app/src/main/java/za/org/sudo/safesaving/ListAdapter.java index edceb64..7423fff 100644 --- a/app/src/main/java/za/org/sudo/safesaving/ListAdapter.java +++ b/app/src/main/java/za/org/sudo/safesaving/ListAdapter.java @@ -96,9 +96,14 @@ public void onBindViewHolder(ViewHolder holder, int position) { Resources res = holder.mLayout.getContext().getResources(); switch (mDataset[position].getLevel()) { case 0: + holder.mLayout.setBackgroundColor(res.getColor(R.color.background)); + holder.mLetterView.setTextColor(res.getColor(R.color.primary_dark)); + holder.mWordView.setTextColor(res.getColor(R.color.text_primary)); break; case 1: holder.mLayout.setBackgroundColor(res.getColor(R.color.primary_light)); + holder.mLetterView.setTextColor(res.getColor(R.color.primary_dark)); + holder.mWordView.setTextColor(res.getColor(R.color.text_primary)); break; case 2: holder.mLayout.setBackgroundColor(res.getColor(R.color.primary_dark));