18

In the ConstraintLayout we have new type of param creator: layout_constraintTop_creator or layout_constraintRight_creator How it should be used?

Evgeny Karkan
  • 8,782
  • 2
  • 32
  • 38
Vitaliy Ptitsin
  • 329
  • 1
  • 5
  • 14

1 Answers1

18

As the namespace implies (tools:layout_constraintTop_creator), it's purely used by Android Studio -- those attributes (using the namespace tool) are actually stripped out when the xml file is pushed on a device.

So it shouldn't be used :)

Now if you want to know how Studio use those, it's actually simple: we use the creator attributes to keep track of who created the constraints, particularly if they are created by the inference engine, as we want to scrap them / replace them in some cases.

Nicolas Roard
  • 8,339
  • 1
  • 28
  • 30