Fix background color for selected list items
This commit is contained in:
parent
7dca04c314
commit
7c0062e24f
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue