|
26 | 26 | android:layout_height="wrap_content" |
27 | 27 | tools:ignore="MissingConstraints"> |
28 | 28 |
|
29 | | - |
30 | | - |
31 | | - <Button |
32 | | - android:id="@+id/xpPoints" |
33 | | - style="?attr/materialButtonOutlinedStyle" |
34 | | - android:layout_width="wrap_content" |
35 | | - android:layout_height="wrap_content" |
36 | | - android:layout_marginEnd="16dp" |
37 | | - app:layout_constraintEnd_toEndOf="parent" |
38 | | - app:layout_constraintTop_toTopOf="parent" /> |
39 | | - |
40 | | - |
41 | 29 | <androidx.constraintlayout.helper.widget.Flow |
42 | 30 | android:id="@+id/flow1" |
43 | 31 | android:layout_width="match_parent" |
44 | 32 | app:flow_firstHorizontalBias="0" |
45 | 33 | android:orientation="vertical" |
46 | 34 | android:layout_height="wrap_content" |
47 | 35 | app:constraint_referenced_ids=" |
| 36 | + nameRow, |
48 | 37 | careerLabel, |
49 | 38 | careerValue, |
50 | 39 | raceLabel, |
|
60 | 49 | app:flow_horizontalStyle="spread" |
61 | 50 | app:flow_horizontalAlign="start" |
62 | 51 | app:layout_constraintStart_toStartOf="parent" |
63 | | - app:layout_constraintTop_toBottomOf="@id/xpPoints" /> |
| 52 | + app:layout_constraintTop_toTopOf="parent" /> |
| 53 | + |
| 54 | + <androidx.constraintlayout.widget.ConstraintLayout |
| 55 | + android:id="@+id/nameRow" |
| 56 | + android:layout_width="match_parent" |
| 57 | + android:layout_height="wrap_content"> |
| 58 | + <TextView |
| 59 | + android:id="@+id/nameLabel" |
| 60 | + android:text="@string/label_name" |
| 61 | + android:layout_width="wrap_content" |
| 62 | + app:layout_constraintTop_toTopOf="parent" |
| 63 | + app:layout_constraintStart_toStartOf="parent" |
| 64 | + android:layout_height="wrap_content" /> |
| 65 | + |
| 66 | + <TextView |
| 67 | + android:id="@+id/nameValue" |
| 68 | + app:layout_constraintTop_toBottomOf="@id/nameLabel" |
| 69 | + app:layout_constraintStart_toStartOf="@id/nameLabel" |
| 70 | + app:layout_constraintHorizontal_bias="0" |
| 71 | + style="@style/TextAppearance.AppCompat.Medium" |
| 72 | + android:textColor="@color/colorText" |
| 73 | + android:paddingBottom="6dp" |
| 74 | + android:layout_width="0dp" |
| 75 | + android:maxLines="1" |
| 76 | + android:layout_marginEnd="5dp" |
| 77 | + android:ellipsize="end" |
| 78 | + app:layout_constraintEnd_toStartOf="@id/xpPoints" |
| 79 | + android:layout_height="wrap_content" /> |
| 80 | + |
| 81 | + |
| 82 | + <Button |
| 83 | + android:id="@+id/xpPoints" |
| 84 | + style="?attr/materialButtonOutlinedStyle" |
| 85 | + android:layout_width="wrap_content" |
| 86 | + android:layout_height="wrap_content" |
| 87 | + android:layout_marginEnd="16dp" |
| 88 | + app:layout_constraintEnd_toEndOf="parent" |
| 89 | + app:layout_constraintTop_toTopOf="parent" /> |
| 90 | + </androidx.constraintlayout.widget.ConstraintLayout> |
64 | 91 |
|
65 | 92 | <TextView |
66 | 93 | android:id="@+id/careerLabel" |
|
0 commit comments