android / codelab-constraint-layout

Constraint Layout Codelab
https://codelabs.developers.google.com/codelabs/constraint-layout/
Apache License 2.0
469 stars 243 forks source link

The Infer Constraints functionality is not working #52

Open prag2018 opened 6 years ago

prag2018 commented 6 years ago

I am using Android Studio 3.1.2 for Windows.

When reproducing step 9 of the codelab I faced the following. After pressing Infer Constraints button the constraints are visually drawn in designer but nothing is written into xml file. After closing the page all constraints are gone. This happens in this particular activity_main_inference.xml file. If I try the same functionality in some newly created layout it works.

mohuaqing commented 6 years ago

I have encountered the same problem, have you solved it?

TaxistSamael commented 6 years ago

same problem

SatyaNarayana777 commented 5 years ago

I got same problem

ILiterallyCannot commented 5 years ago

Hi. I had a similar issue, but I found that on the App/res/values/styles.xml file, you should add "Base" to the line containing