From 822c03b5b946c36a7ee48b40bc89498dffd551b5 Mon Sep 17 00:00:00 2001 From: pichs Date: Sun, 14 Mar 2021 10:40:32 +0800 Subject: [PATCH] fix textview statelistcolor --- .../java/com/pichs/common/widget/utils/XTextViewHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widget/src/main/java/com/pichs/common/widget/utils/XTextViewHelper.java b/widget/src/main/java/com/pichs/common/widget/utils/XTextViewHelper.java index 580cbf3..7333cba 100644 --- a/widget/src/main/java/com/pichs/common/widget/utils/XTextViewHelper.java +++ b/widget/src/main/java/com/pichs/common/widget/utils/XTextViewHelper.java @@ -96,13 +96,13 @@ private void setSelector() { builder.addPressedColor(pressedColor); } if (unEnabledColor != 0) { - builder.addPressedColor(unEnabledColor); + builder.addUnEnabledColor(unEnabledColor); } if (activatedColor != 0) { - builder.addPressedColor(activatedColor); + builder.addActivatedColor(activatedColor); } if (checkedColor != 0) { - builder.addPressedColor(checkedColor); + builder.addCheckedColor(checkedColor); } builder.setUnSateColor(normalColor); mOwner.get().setTextColor(builder.build());