Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated constraints in ConstraintLayout XMLs #24

Open
Serchinastico opened this issue Dec 11, 2018 · 0 comments
Open

Repeated constraints in ConstraintLayout XMLs #24

Serchinastico opened this issue Dec 11, 2018 · 0 comments
Assignees
Labels
rule New rule for the detectors project

Comments

@Serchinastico
Copy link
Owner

Something like two views having the same constraint: app:layout_constraintStart_toStartOf="@id/transactionTypeIconView" is a smell because you can make the second view attached to the first one and leave a single constraint, creating a layout that is more resilient to changes (usually there will be only one point of change for multiple view hierarchies).

@Serchinastico Serchinastico added the rule New rule for the detectors project label Dec 11, 2018
@Serchinastico Serchinastico self-assigned this Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule New rule for the detectors project
Projects
None yet
Development

No branches or pull requests

1 participant