Skip to content

Conversation

sgrekov
Copy link
Collaborator

@sgrekov sgrekov commented Jun 7, 2019

Adds Anvil DSL for Constraint Layout. Supports all features from CL 1.1

@sgrekov sgrekov requested a review from zserge June 7, 2019 20:35
@niltonvasques
Copy link

niltonvasques commented Aug 29, 2019

Is not working here for me @sgrekov. See:

image

@sgrekov
Copy link
Collaborator Author

sgrekov commented Aug 29, 2019

Try put ConstraintDSL.apply() in the end of CL block

@niltonvasques
Copy link

Thank you @sgrekov, for you fast reply here.

After your hint, I was able to successfully apply the constraints, as we can see below:

image

However, I'm still facing other issues when we start to mix with relative properties. See:

image

@sgrekov
Copy link
Collaborator Author

sgrekov commented Aug 29, 2019

If you put size(MATCH, MATCH) to relativeLayout{} and to constraintLayout {} it should work as intended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants