From 7dda15efbd66d63111e9c19c0e433b6b6e1e9c15 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Tue, 16 Aug 2022 17:43:03 +0800 Subject: [PATCH] android: text's default color is gray --- .../doric/src/main/java/pub/doric/shader/TextNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java b/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java index c3312918..b9f178d4 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java @@ -490,7 +490,7 @@ public class TextNode extends ViewNode { protected void reset() { super.reset(); mView.setText(""); - mView.setTextColor(Color.BLACK); + mView.setTextColor(Color.GRAY); mView.setGravity(Gravity.CENTER); mView.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL)); mView.setMaxLines(1);