diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-04 16:50:39 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-04 16:50:39 +0000 |
commit | a4c159f9d9369fb1419402b088eb777a93eb20ec (patch) | |
tree | 844dac15058d761364293283f7ff849219227290 /app/src | |
parent | 19d75267a0278407ac893fcba77490bf6eb5d4a9 (diff) | |
download | infinity-for-reddit-a4c159f9d9369fb1419402b088eb777a93eb20ec.tar infinity-for-reddit-a4c159f9d9369fb1419402b088eb777a93eb20ec.tar.gz infinity-for-reddit-a4c159f9d9369fb1419402b088eb777a93eb20ec.tar.bz2 infinity-for-reddit-a4c159f9d9369fb1419402b088eb777a93eb20ec.tar.lz infinity-for-reddit-a4c159f9d9369fb1419402b088eb777a93eb20ec.tar.xz infinity-for-reddit-a4c159f9d9369fb1419402b088eb777a93eb20ec.tar.zst infinity-for-reddit-a4c159f9d9369fb1419402b088eb777a93eb20ec.zip |
Set filled card view background color in MaterialYouUtils.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java index 010a8033..08bb0fb0 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java @@ -93,6 +93,7 @@ public class MaterialYouUtils { lightTheme.colorPrimaryLightTheme = lightTheme.colorPrimary; lightTheme.backgroundColor = context.getColor(android.R.color.system_neutral1_50); lightTheme.cardViewBackgroundColor = context.getColor(android.R.color.system_neutral2_10); + lightTheme.filledCardViewBackgroundColor = lightTheme.cardViewBackgroundColor; lightTheme.commentBackgroundColor = context.getColor(android.R.color.system_neutral2_10); lightTheme.awardedCommentBackgroundColor = context.getColor(android.R.color.system_neutral2_10); lightTheme.bottomAppBarBackgroundColor = lightTheme.colorPrimary; @@ -123,6 +124,7 @@ public class MaterialYouUtils { darkTheme.colorPrimaryLightTheme = lightTheme.colorPrimary; darkTheme.backgroundColor = context.getColor(android.R.color.system_neutral1_900); darkTheme.cardViewBackgroundColor = context.getColor(android.R.color.system_neutral2_800); + darkTheme.filledCardViewBackgroundColor = darkTheme.cardViewBackgroundColor; darkTheme.commentBackgroundColor = darkTheme.cardViewBackgroundColor; darkTheme.awardedCommentBackgroundColor = darkTheme.cardViewBackgroundColor; darkTheme.bottomAppBarBackgroundColor = darkTheme.colorPrimary; @@ -189,6 +191,7 @@ public class MaterialYouUtils { lightTheme.colorPrimaryLightTheme = colorPrimaryInt; lightTheme.backgroundColor = backgroundColor; lightTheme.cardViewBackgroundColor = cardViewBackgroundColor; + lightTheme.filledCardViewBackgroundColor = cardViewBackgroundColor; lightTheme.commentBackgroundColor = cardViewBackgroundColor; lightTheme.awardedCommentBackgroundColor = cardViewBackgroundColor; lightTheme.bottomAppBarBackgroundColor = colorPrimaryInt; |