From 170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 17 Jul 2021 10:44:23 +0800 Subject: [PATCH] Set divider color in Material You. --- .../infinityforreddit/utils/MaterialYouUtils.java | 1 + 1 file changed, 1 insertion(+) 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 2de4d7ed..2f798c1e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java @@ -89,6 +89,7 @@ public class MaterialYouUtils { lightTheme.tabLayoutWithExpandedCollapsingToolbarTabIndicator = colorPrimaryAppropriateTextColor; lightTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = colorPrimaryAppropriateTextColor; lightTheme.circularProgressBarBackground = colorPrimaryInt; + lightTheme.dividerColor = backgroundColorAppropriateTextColor == Color.BLACK ? Color.parseColor("#E0E0E0") : Color.parseColor("69666C"); lightTheme.isLightStatusBar = colorPrimaryAppropriateTextColor == Color.BLACK; lightTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface = (lightTheme.isLightStatusBar && getAppropriateTextColor(cardViewBackgroundColor) == Color.WHITE)