codelab-constraint-layout icon indicating copy to clipboard operation
codelab-constraint-layout copied to clipboard

Constraint between element and barrier

Open OP8910 opened this issue 3 years ago • 2 comments

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

OP8910 avatar Sep 16 '21 17:09 OP8910

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

    app:layout_constraintStart_toEndOf="@+id/labelBarrier2"
    android:layout_marginStart="8dp"

Aleksei99 avatar Sep 27 '21 11:09 Aleksei99

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

joec58 avatar Jul 28 '23 12:07 joec58