aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-11 03:52:04 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-11 03:52:04 +0000
commit25dad55a97401710f37c9c6297aa9fb8e5662029 (patch)
treedf6d296f92597c111f3ee3f60c138f00c577bfc6
parentd27023dde2ca226189f6f7279d051a156b123043 (diff)
downloadinfinity-for-reddit-25dad55a97401710f37c9c6297aa9fb8e5662029.tar
infinity-for-reddit-25dad55a97401710f37c9c6297aa9fb8e5662029.tar.gz
infinity-for-reddit-25dad55a97401710f37c9c6297aa9fb8e5662029.tar.bz2
infinity-for-reddit-25dad55a97401710f37c9c6297aa9fb8e5662029.tar.lz
infinity-for-reddit-25dad55a97401710f37c9c6297aa9fb8e5662029.tar.xz
infinity-for-reddit-25dad55a97401710f37c9c6297aa9fb8e5662029.tar.zst
infinity-for-reddit-25dad55a97401710f37c9c6297aa9fb8e5662029.zip
Continue adding Card Layout 3.
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
index 2bf9c984..9b6c4a3c 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
@@ -5960,14 +5960,12 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
lockedImageView.setColorFilter(mLockedIconTint, PorterDuff.Mode.SRC_IN);
crosspostImageView.setColorFilter(mCrosspostIconTint, PorterDuff.Mode.SRC_IN);
upvoteButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
+ upvoteButton.setBackgroundTintList(ColorStateList.valueOf(Color.parseColor("#00000000")));
downvoteButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
- //commentsCountButton.setBackgroundTintList(ColorStateList.valueOf(mButtonBackgroundColor));
+ downvoteButton.setBackgroundTintList(ColorStateList.valueOf(Color.parseColor("#00000000")));
commentsCountButton.setTextColor(mPostIconAndInfoColor);
commentsCountButton.setIcon(mCommentIcon);
- //commentsCountButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
- //saveButton.setBackgroundTintList(ColorStateList.valueOf(mButtonBackgroundColor));
saveButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
- //shareButton.setBackgroundTintList(ColorStateList.valueOf(mButtonBackgroundColor));
shareButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
itemView.setOnClickListener(view -> {