android / codelab-constraint-layout

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

Constraint between element and barrier #97

Open OP8910 opened 2 years ago

OP8910 commented 2 years ago

A constraint from the left side of cameraType to the barrier cannot be attached.

Aleksei99 commented 2 years ago

i faced the same problem, paste this in xml for EditText id="@+id/cameraType"

    app:layout_constraintStart_toEndOf="@+id/labelBarrier2"
    android:layout_marginStart="8dp"
joec58 commented 1 year ago

The same problem using constraint:constraint-layout:2.0.4 with Android Studio 2023.1.1 Canary 7. Manually editing XML works.