aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-08-20 18:51:07 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-08-20 18:51:07 +0000
commite4abfc6e38dc80b4376e86a28813d5c098ace5d6 (patch)
tree805415195c474e2547b1a5708531b3dd1d94730a /app/src/main/java
parentda8785fdc8897133c22e7dfa90a0b5aff1bd7547 (diff)
downloadinfinity-for-reddit-e4abfc6e38dc80b4376e86a28813d5c098ace5d6.tar
infinity-for-reddit-e4abfc6e38dc80b4376e86a28813d5c098ace5d6.tar.gz
infinity-for-reddit-e4abfc6e38dc80b4376e86a28813d5c098ace5d6.tar.bz2
infinity-for-reddit-e4abfc6e38dc80b4376e86a28813d5c098ace5d6.tar.lz
infinity-for-reddit-e4abfc6e38dc80b4376e86a28813d5c098ace5d6.tar.xz
infinity-for-reddit-e4abfc6e38dc80b4376e86a28813d5c098ace5d6.tar.zst
infinity-for-reddit-e4abfc6e38dc80b4376e86a28813d5c098ace5d6.zip
Refine UI and add explanations for the name in CustomizeCommentFilterActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java
index b8e5d15e..ac08670a 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java
@@ -180,11 +180,14 @@ public class CustomizeCommentFilterActivity extends BaseActivity {
applyAppBarLayoutAndCollapsingToolbarLayoutAndToolbarTheme(binding.appbarLayoutCustomizeCommentFilterActivity, binding.collapsingToolbarLayoutCustomizeCommentFilterActivity, binding.toolbarCustomizeCommentFilterActivity);
int primaryTextColor = mCustomThemeWrapper.getPrimaryTextColor();
int primaryIconColor = mCustomThemeWrapper.getPrimaryIconColor();
+ int filledCardViewBackgroundColor = mCustomThemeWrapper.getFilledCardViewBackgroundColor();
+
+ binding.nameCardViewCustomizePostFilterActivity.setCardBackgroundColor(filledCardViewBackgroundColor);
+ binding.nameExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor);
binding.nameTextInputLayoutCustomizeCommentFilterActivity.setBoxStrokeColor(primaryTextColor);
binding.nameTextInputLayoutCustomizeCommentFilterActivity.setDefaultHintTextColor(ColorStateList.valueOf(primaryTextColor));
binding.nameTextInputEditTextCustomizeCommentFilterActivity.setTextColor(primaryTextColor);
- int filledCardViewBackgroundColor = mCustomThemeWrapper.getFilledCardViewBackgroundColor();
binding.displayModeCardViewCustomizePostFilterActivity.setCardBackgroundColor(filledCardViewBackgroundColor);
binding.displayModeExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor);
binding.displayModeTitleTextViewCustomizeCommentFilterActivity.setTextColor(primaryTextColor);