From 7a25cbf1d69d74142e1f694481a8aebbb90ab466 Mon Sep 17 00:00:00 2001 From: DSIW Date: Fri, 10 Jun 2016 04:50:24 +0200 Subject: Fix multiple selection with RecyclerView --- .../pwdstore/utils/PasswordRecyclerAdapter.java | 33 +++++++++++----------- app/src/main/res/layout/password_recycler_view.xml | 2 +- app/src/main/res/layout/password_row_layout.xml | 2 +- app/src/main/res/values/colors.xml | 2 ++ 4 files changed, 21 insertions(+), 18 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java index e1b33e2a..e9109bce 100644 --- a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java +++ b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java @@ -1,8 +1,8 @@ package com.zeapo.pwdstore.utils; +import android.graphics.Color; import android.os.Build; import android.support.v7.view.ActionMode; -import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.Menu; @@ -91,7 +91,8 @@ public class PasswordRecyclerAdapter extends RecyclerView.Adapter + android:background="?android:attr/activatedBackgroundIndicator"> + #ff7043 + #fde0dc #f9bdbb #f69988 -- cgit v1.2.3