aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-11 03:58:24 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-11 03:58:24 +0000
commit1eb00f2a675599e213fd2579e1446a2c222063b8 (patch)
treea72d18bbb7338e01c01f92bd04e0e224a79536c6 /app/src/main
parent25dad55a97401710f37c9c6297aa9fb8e5662029 (diff)
downloadinfinity-for-reddit-1eb00f2a675599e213fd2579e1446a2c222063b8.tar
infinity-for-reddit-1eb00f2a675599e213fd2579e1446a2c222063b8.tar.gz
infinity-for-reddit-1eb00f2a675599e213fd2579e1446a2c222063b8.tar.bz2
infinity-for-reddit-1eb00f2a675599e213fd2579e1446a2c222063b8.tar.lz
infinity-for-reddit-1eb00f2a675599e213fd2579e1446a2c222063b8.tar.xz
infinity-for-reddit-1eb00f2a675599e213fd2579e1446a2c222063b8.tar.zst
infinity-for-reddit-1eb00f2a675599e213fd2579e1446a2c222063b8.zip
Continue adding Card Layout 3.
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java2
-rw-r--r--app/src/main/res/layout/item_post_card_3_with_preview.xml6
2 files changed, 4 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 9b6c4a3c..c9d96cef 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
@@ -5960,9 +5960,7 @@ 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));
- downvoteButton.setBackgroundTintList(ColorStateList.valueOf(Color.parseColor("#00000000")));
commentsCountButton.setTextColor(mPostIconAndInfoColor);
commentsCountButton.setIcon(mCommentIcon);
saveButton.setIconTint(ColorStateList.valueOf(mPostIconAndInfoColor));
diff --git a/app/src/main/res/layout/item_post_card_3_with_preview.xml b/app/src/main/res/layout/item_post_card_3_with_preview.xml
index 237e2847..ca3492da 100644
--- a/app/src/main/res/layout/item_post_card_3_with_preview.xml
+++ b/app/src/main/res/layout/item_post_card_3_with_preview.xml
@@ -283,7 +283,8 @@
android:textStyle="bold"
android:fontFamily="?attr/font_family"
app:strokeWidth="0dp"
- app:icon="@drawable/ic_upvote_24dp" />
+ app:icon="@drawable/ic_upvote_24dp"
+ android:backgroundTint="#00000000" />
<com.google.android.material.button.MaterialButton
style="?attr/materialButtonOutlinedStyle"
@@ -294,7 +295,8 @@
android:paddingEnd="8dp"
android:minWidth="0dp"
app:strokeWidth="0dp"
- app:icon="@drawable/ic_downvote_24dp" />
+ app:icon="@drawable/ic_downvote_24dp"
+ android:backgroundTint="#00000000" />
</com.google.android.material.button.MaterialButtonToggleGroup>