diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-20 18:34:36 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-20 18:34:36 +0000 |
commit | da8785fdc8897133c22e7dfa90a0b5aff1bd7547 (patch) | |
tree | 96687389e84c3bbff868d7c884142fe90348aed3 /app/src/main/java | |
parent | 8fdc2cc945a518c5b9c08cec546ea952caad71a4 (diff) | |
download | infinity-for-reddit-da8785fdc8897133c22e7dfa90a0b5aff1bd7547.tar infinity-for-reddit-da8785fdc8897133c22e7dfa90a0b5aff1bd7547.tar.gz infinity-for-reddit-da8785fdc8897133c22e7dfa90a0b5aff1bd7547.tar.bz2 infinity-for-reddit-da8785fdc8897133c22e7dfa90a0b5aff1bd7547.tar.lz infinity-for-reddit-da8785fdc8897133c22e7dfa90a0b5aff1bd7547.tar.xz infinity-for-reddit-da8785fdc8897133c22e7dfa90a0b5aff1bd7547.tar.zst infinity-for-reddit-da8785fdc8897133c22e7dfa90a0b5aff1bd7547.zip |
Refine UI and add explanations in CustomizeCommentFilterActivity.
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java | 14 |
1 files changed, 14 insertions, 0 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 afa5cad6..b8e5d15e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizeCommentFilterActivity.java @@ -183,6 +183,10 @@ public class CustomizeCommentFilterActivity extends BaseActivity { 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); binding.displayModeSpinnerCustomizeCommentFilterActivity.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override @@ -198,15 +202,25 @@ public class CustomizeCommentFilterActivity extends BaseActivity { } }); + + binding.excludeStringsCardViewCustomizePostFilterActivity.setCardBackgroundColor(filledCardViewBackgroundColor); + binding.excludeStringsExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor); binding.excludeStringsTextInputLayoutCustomizeCommentFilterActivity.setBoxStrokeColor(primaryTextColor); binding.excludeStringsTextInputLayoutCustomizeCommentFilterActivity.setDefaultHintTextColor(ColorStateList.valueOf(primaryTextColor)); binding.excludeStringsTextInputEditTextCustomizeCommentFilterActivity.setTextColor(primaryTextColor); + + binding.excludeUsersCardViewCustomizePostFilterActivity.setCardBackgroundColor(filledCardViewBackgroundColor); + binding.excludeUsersExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor); binding.excludeUsersTextInputLayoutCustomizeCommentFilterActivity.setDefaultHintTextColor(ColorStateList.valueOf(primaryTextColor)); binding.excludeUsersTextInputEditTextCustomizeCommentFilterActivity.setTextColor(primaryTextColor); binding.addUsersImageViewCustomizeCommentFilterActivity.setImageDrawable(Utils.getTintedDrawable(this, R.drawable.ic_add_24dp, primaryIconColor)); + + binding.voteCardViewCustomizePostFilterActivity.setCardBackgroundColor(filledCardViewBackgroundColor); + binding.minVoteExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor); binding.minVoteTextInputLayoutCustomizeCommentFilterActivity.setBoxStrokeColor(primaryTextColor); binding.minVoteTextInputLayoutCustomizeCommentFilterActivity.setDefaultHintTextColor(ColorStateList.valueOf(primaryTextColor)); binding.minVoteTextInputEditTextCustomizeCommentFilterActivity.setTextColor(primaryTextColor); + binding.maxVoteExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor); binding.maxVoteTextInputLayoutCustomizeCommentFilterActivity.setBoxStrokeColor(primaryTextColor); binding.maxVoteTextInputLayoutCustomizeCommentFilterActivity.setDefaultHintTextColor(ColorStateList.valueOf(primaryTextColor)); binding.maxVoteTextInputEditTextCustomizeCommentFilterActivity.setTextColor(primaryTextColor); |