|
6 | 6 | android:layout_width="match_parent" |
7 | 7 | android:layout_height="wrap_content" |
8 | 8 | android:gravity="center_horizontal" |
9 | | - android:paddingVertical="@dimen/small_margin" |
10 | | - android:paddingLeft="@dimen/activity_margin"> |
| 9 | + android:paddingHorizontal="@dimen/big_margin" |
| 10 | + android:paddingVertical="@dimen/small_margin"> |
11 | 11 |
|
12 | 12 | <org.fossify.commons.views.MyTextView |
13 | 13 | android:id="@+id/lap_order" |
14 | | - android:layout_width="@dimen/lap_time_size" |
| 14 | + android:layout_width="0dp" |
15 | 15 | android:layout_height="wrap_content" |
| 16 | + android:layout_marginEnd="@dimen/medium_margin" |
16 | 17 | android:fontFeatureSettings="tnum" |
17 | | - android:gravity="end" |
| 18 | + android:gravity="center" |
18 | 19 | android:includeFontPadding="false" |
19 | 20 | android:maxLines="1" |
20 | 21 | android:textSize="@dimen/bigger_text_size" |
21 | 22 | app:layout_constraintEnd_toStartOf="@+id/lap_lap_time" |
22 | | - app:layout_constraintHorizontal_chainStyle="packed" |
| 23 | + app:layout_constraintHorizontal_weight="0.8" |
23 | 24 | app:layout_constraintStart_toStartOf="parent" |
24 | | - tools:text="1" /> |
| 25 | + app:layout_constraintTop_toTopOf="parent" |
| 26 | + tools:text="12" /> |
25 | 27 |
|
26 | 28 | <org.fossify.commons.views.MyTextView |
27 | 29 | android:id="@+id/lap_lap_time" |
28 | | - android:layout_width="@dimen/lap_time_size" |
| 30 | + android:layout_width="0dp" |
29 | 31 | android:layout_height="wrap_content" |
| 32 | + android:layout_marginEnd="@dimen/medium_margin" |
30 | 33 | android:fontFeatureSettings="tnum" |
31 | 34 | android:gravity="end" |
32 | 35 | android:includeFontPadding="false" |
33 | 36 | android:maxLines="1" |
34 | 37 | android:textSize="@dimen/bigger_text_size" |
35 | 38 | app:layout_constraintEnd_toStartOf="@+id/lap_total_time" |
| 39 | + app:layout_constraintHorizontal_weight="2.1" |
36 | 40 | app:layout_constraintStart_toEndOf="@+id/lap_order" |
37 | 41 | app:layout_constraintTop_toTopOf="parent" |
38 | | - tools:text="0.00" /> |
| 42 | + tools:text="24:43:00" /> |
39 | 43 |
|
40 | 44 | <org.fossify.commons.views.MyTextView |
41 | 45 | android:id="@+id/lap_total_time" |
42 | | - android:layout_width="@dimen/lap_time_size" |
| 46 | + android:layout_width="0dp" |
43 | 47 | android:layout_height="wrap_content" |
44 | | - android:layout_marginEnd="48dp" |
45 | 48 | android:fontFeatureSettings="tnum" |
46 | 49 | android:gravity="end" |
47 | 50 | android:includeFontPadding="false" |
48 | 51 | android:maxLines="1" |
49 | 52 | android:textSize="@dimen/bigger_text_size" |
50 | 53 | app:layout_constraintEnd_toEndOf="parent" |
| 54 | + app:layout_constraintHorizontal_weight="2.1" |
51 | 55 | app:layout_constraintStart_toEndOf="@+id/lap_lap_time" |
52 | 56 | app:layout_constraintTop_toTopOf="parent" |
53 | | - tools:text="0.00.00" /> |
| 57 | + tools:text="42:26:43:00" /> |
54 | 58 |
|
55 | 59 | </androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments