android:layout_width="0dp"
android:layout_height="50dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:text="@string/one"
app:layout_constraintBottom_toTopOf="@+id/firstButton_btn"
app:layout_constraintEnd_toEndtOf="@id/firstButton_btn"
app:layout_constraintEnd_toStartOf="@+id/button3"
app:layout_constraintStart_toEndOf="@+id/button2"
app:layout_constraintTop_toBottomOf="@+id/button2" />
<!— what is the problem ??? —>
@+id/button2 or @id/button2 ?
I think this is kind of define first and use, if @+id already used before using @id, then thats fine. But you can uses @+id on both the places, which doesn't give any ambiguity. I used this approach till March this year. I did n't checked after that.
hole of the layout???
Обсуждают сегодня