android: text's default color is gray

This commit is contained in:
pengfei.zhou 2022-08-16 17:43:03 +08:00 committed by osborn
parent 1a5067969d
commit 7dda15efbd

View File

@ -490,7 +490,7 @@ public class TextNode extends ViewNode<TextView> {
protected void reset() { protected void reset() {
super.reset(); super.reset();
mView.setText(""); mView.setText("");
mView.setTextColor(Color.BLACK); mView.setTextColor(Color.GRAY);
mView.setGravity(Gravity.CENTER); mView.setGravity(Gravity.CENTER);
mView.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL)); mView.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL));
mView.setMaxLines(1); mView.setMaxLines(1);