diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-11 03:58:24 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-11 03:58:24 +0000 |
commit | 1eb00f2a675599e213fd2579e1446a2c222063b8 (patch) | |
tree | a72d18bbb7338e01c01f92bd04e0e224a79536c6 /app/src/main | |
parent | 25dad55a97401710f37c9c6297aa9fb8e5662029 (diff) | |
download | infinity-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.java | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_card_3_with_preview.xml | 6 |
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> |