androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.07k stars 177 forks source link

[DSL] complete the dsl constraint #648

Closed jswong65 closed 1 year ago

jswong65 commented 1 year ago

In this PR, mostly tried to complete the dsl constraint. Although, it would introduce trailing comma at the end of a constraint and a constraintset. It can still generate a valid JSON syntax. Validate all the new tests on JSON Formatter & Validator

New tests: testAnchor01-03, testConstraint01-03, and testConstraintSet01-02