Fix background color for selected list items

This commit is contained in:
DSIW 2016-06-19 16:30:42 +02:00
parent 7dca04c314
commit 7c0062e24f

View file

@ -132,7 +132,7 @@ public class PasswordRecyclerAdapter extends RecyclerView.Adapter<PasswordRecycl
boolean selected = selectedItems.contains(position);
holder.view.setSelected(selected);
if (selected) {
holder.itemView.setBackgroundResource(R.color.orange_200);
holder.itemView.setBackgroundResource(R.color.deep_orange_200);
holder.type.setTextColor(Color.BLACK);
} else {
holder.itemView.setBackgroundResource(Color.alpha(1));