summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDSIW <dsiw@dsiw-it.de>2016-06-10 04:50:24 +0200
committerDSIW <dsiw@dsiw-it.de>2016-06-10 04:50:56 +0200
commit7a25cbf1d69d74142e1f694481a8aebbb90ab466 (patch)
tree48c1b3b6425c0ed002eb37bb4b47a1a31a5bec0e /app/src/main/res
parent0e700ce21b042030f41d3c488807afb925461f08 (diff)
Fix multiple selection with RecyclerView
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/password_recycler_view.xml2
-rw-r--r--app/src/main/res/layout/password_row_layout.xml2
-rw-r--r--app/src/main/res/values/colors.xml2
3 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/res/layout/password_recycler_view.xml b/app/src/main/res/layout/password_recycler_view.xml
index 15a49597..14495ea9 100644
--- a/app/src/main/res/layout/password_recycler_view.xml
+++ b/app/src/main/res/layout/password_recycler_view.xml
@@ -21,7 +21,7 @@
android:layout_gravity="bottom|end"
app:elevation="6dp"
app:pressedTranslationZ="12dp"
- app:backgroundTint="@color/blue_grey_500"
+ app:backgroundTint="@color/accent"
app:rippleColor="@color/blue_grey_50"
app:borderWidth="0dp"
android:layout_margin="@dimen/fab_compat_margin"
diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml
index ce69051c..5fd62249 100644
--- a/app/src/main/res/layout/password_row_layout.xml
+++ b/app/src/main/res/layout/password_row_layout.xml
@@ -3,7 +3,7 @@
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_height="wrap_content">
+ android:background="?android:attr/activatedBackgroundIndicator">
<RelativeLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 0a789153..96ebf1bb 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
+ <color name="accent">#ff7043</color>
+
<color name="red_50">#fde0dc</color>
<color name="red_100">#f9bdbb</color>
<color name="red_200">#f69988</color>