snake demo

This commit is contained in:
pengfei.zhou
2019-07-25 14:34:54 +08:00
parent 32c409c7b0
commit 40416ff3fd
3 changed files with 94 additions and 12 deletions

View File

@@ -37,6 +37,9 @@ public class TextNode extends ViewNode<TextView> {
case "textColor":
view.setTextColor(prop.asNumber().toInt());
break;
case "textAlignment":
view.setGravity(prop.asNumber().toInt());
break;
default:
super.blend(view, params, name, prop);
break;