From e2173e0c0926659068d4bc6703071aee73851a6d Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 3 Sep 2019 16:42:34 +0800 Subject: [PATCH] Change score color if the post is voted. --- .../CommentAndPostRecyclerViewAdapter.java | 29 +++++++++++++++++++ .../CommentsListingRecyclerViewAdapter.java | 19 ++++++++++++ .../PostRecyclerViewAdapter.java | 20 +++++++++++-- app/src/main/res/values-night/colors.xml | 2 ++ app/src/main/res/values/colors.xml | 2 ++ 5 files changed, 70 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java index 7afadce8..b1f756e8 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java @@ -287,14 +287,17 @@ class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter#123E77 #123E77 + + #B3FFFFFF diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index ba621d20..03c19020 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -59,4 +59,6 @@ #EE7302 @color/colorPrimary + + #8A000000