diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-20 19:08:04 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-20 19:08:04 +0000 |
commit | 3f5d298ff5a65436b9922206ab067bd28c34bbe6 (patch) | |
tree | f8a48d29481686eaf5e801412767210ed838a658 /app/src/main/java | |
parent | e4abfc6e38dc80b4376e86a28813d5c098ace5d6 (diff) | |
download | infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.gz infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.bz2 infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.lz infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.xz infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.zst infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.zip |
Refine UI in CustomizePostFilterActivity and CustomizeCommentFilterActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java index d9df88d2..ca56bcdf 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomizePostFilterActivity.java @@ -254,11 +254,14 @@ public class CustomizePostFilterActivity extends BaseActivity { binding.collapsingToolbarLayoutCustomizePostFilterActivity, binding.toolbarCustomizePostFilterActivity); int primaryTextColor = mCustomThemeWrapper.getPrimaryTextColor(); int primaryIconColor = mCustomThemeWrapper.getPrimaryIconColor(); + int filledCardViewBackgroundColor = mCustomThemeWrapper.getFilledCardViewBackgroundColor(); + + binding.nameCardViewCustomizePostFilterActivity.setCardBackgroundColor(filledCardViewBackgroundColor); + binding.nameExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor); binding.nameTextInputLayoutCustomizePostFilterActivity.setBoxStrokeColor(primaryTextColor); binding.nameTextInputLayoutCustomizePostFilterActivity.setDefaultHintTextColor(ColorStateList.valueOf(primaryTextColor)); binding.nameTextInputEditTextCustomizePostFilterActivity.setTextColor(primaryTextColor); - int filledCardViewBackgroundColor = mCustomThemeWrapper.getFilledCardViewBackgroundColor(); binding.postTypeCardViewCustomizePostFilterActivity.setCardBackgroundColor(filledCardViewBackgroundColor); binding.postTypeExplanationTextViewCustomizePostFilterActivity.setTextColor(primaryTextColor); binding.postTypeTextTextViewCustomizePostFilterActivity.setCompoundDrawablesWithIntrinsicBounds(Utils.getTintedDrawable(this, R.drawable.ic_text_24dp, primaryIconColor), null, null, null); |