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

Section 11: Constraints to Barrier only works manually (XML edit) #82

Open korn1e opened 4 years ago

korn1e commented 4 years ago

Section 11, step 2. Drag a constraint from the left side of cameraType to the barrier it only works by manually edit the XML file

Add following line to EditText id cameraType: app:layout_constraintStart_toEndOf="@+id/barrier5"

Note: adjust barrier id with yours (mine "barrier5") I'm using Android Studio 3.6.1

Yog8482 commented 4 years ago

same problem i have faced with barrier while performing "Drag a constraint from the left side of cameraType to the barrier"

BobAllan123 commented 4 years ago

I also have this problem in Android Studio 4.0.1