Fixed
Status Update
Comments
ni...@google.com <ni...@google.com> #2
I suspect that this is a return of the issue described at https://issuetracker.google.com/issues/129591245
The issue appeared fixed for a few days from Tue May 21, but it appears to be back again.
The issue appeared fixed for a few days from Tue May 21, but it appears to be back again.
Description
<androidx.constraintlayout.helper.widget.Flow
android:id="@+id/buttons"
android:layout_width="0dp"
android:layout_height="0dp"
android:orientation="vertical"
app:constraint_referenced_ids="b_create_code,b_enter_code"
app:flow_verticalGap="@dimen/space_2"
app:flow_verticalStyle="packed"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@id/end_buttons"
app:layout_constraintHeight_min="wrap"
app:layout_constraintStart_toStartOf="@id/start_buttons"
app:layout_constraintTop_toBottomOf="@id/scroll" />
<Button
android:id="@+id/b_create_code"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/pairing_create_code"
tools:ignore="MissingConstraints" />
<Button
android:id="@+id/b_enter_code"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/pairing_enter_code"
tools:ignore="MissingConstraints" />
The buttons has text aligned to the left. Setting gravity or textAlignment changes nothing.
The @id/end_buttons and @id/start_buttons are vertical guidelines with percents.
Also, setting app:flow_horizontalAlign="end" changes only the second button, and also chenges it's width, which is probably another bug.