|
@@ -4,49 +4,75 @@
|
4
|
4
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
5
|
5
|
android:orientation="vertical" android:layout_width="match_parent"
|
6
|
6
|
android:layout_height="wrap_content"
|
7
|
|
- android:layout_marginTop="8dp"
|
8
|
|
- android:layout_marginStart="12dp"
|
9
|
|
- android:layout_marginEnd="12dp">
|
|
7
|
+ android:layout_marginStart="8dp"
|
|
8
|
+ android:layout_marginEnd="8dp"
|
|
9
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
10
|
+ >
|
10
|
11
|
|
11
|
|
- <TextView
|
12
|
|
- android:id="@+id/programme_start"
|
|
12
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
13
|
+ android:id="@+id/hours"
|
13
|
14
|
android:layout_width="wrap_content"
|
14
|
|
- android:layout_height="wrap_content"
|
|
15
|
+ android:layout_height="0dp"
|
15
|
16
|
app:layout_constraintTop_toTopOf="parent"
|
|
17
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
16
|
18
|
app:layout_constraintStart_toStartOf="parent"
|
17
|
|
- android:gravity="start"
|
18
|
|
- />
|
|
19
|
+ android:layout_marginTop="8dp"
|
|
20
|
+ android:layout_marginBottom="8dp"
|
|
21
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
22
|
+ >
|
|
23
|
+ <TextView
|
|
24
|
+ android:id="@+id/programme_start"
|
|
25
|
+ android:layout_width="wrap_content"
|
|
26
|
+ android:layout_height="wrap_content"
|
|
27
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
28
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
29
|
+ app:layout_constraintBottom_toTopOf="@id/programme_end"
|
|
30
|
+ android:gravity="start"
|
|
31
|
+ android:textColor="@color/whited"
|
|
32
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
33
|
+ />
|
|
34
|
+
|
|
35
|
+ <TextView
|
|
36
|
+ android:id="@+id/programme_end"
|
|
37
|
+ android:layout_width="wrap_content"
|
|
38
|
+ android:layout_height="wrap_content"
|
|
39
|
+ app:layout_constraintTop_toBottomOf="@id/programme_start"
|
|
40
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
41
|
+ app:layout_constraintStart_toStartOf="@id/programme_start"
|
|
42
|
+ android:gravity="start"
|
|
43
|
+ android:textColor="@color/whited"
|
|
44
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
45
|
+
|
|
46
|
+ />
|
|
47
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
48
|
+
|
|
49
|
+
|
19
|
50
|
|
20
|
51
|
<TextView
|
21
|
52
|
android:id="@+id/programme_name"
|
22
|
53
|
android:layout_width="0dp"
|
23
|
|
- android:layout_height="0dp"
|
24
|
|
- app:layout_constraintTop_toTopOf="@id/programme_start"
|
25
|
|
- app:layout_constraintBottom_toBottomOf="@id/programme_end"
|
26
|
|
- app:layout_constraintStart_toEndOf="@id/programme_start"
|
|
54
|
+ android:layout_height="wrap_content"
|
|
55
|
+ android:minHeight="32sp"
|
|
56
|
+ app:layout_constraintTop_toTopOf="@id/hours"
|
|
57
|
+ app:layout_constraintBottom_toBottomOf="@id/hours"
|
|
58
|
+ app:layout_constraintStart_toEndOf="@id/hours"
|
27
|
59
|
app:layout_constraintEnd_toEndOf="parent"
|
28
|
|
- android:gravity="center"
|
29
|
|
- android:textAlignment="center"
|
|
60
|
+ android:gravity="center_vertical"
|
30
|
61
|
android:textSize="16sp"
|
|
62
|
+ android:layout_marginStart="32dp"
|
|
63
|
+ android:layout_marginLeft="32dp"
|
|
64
|
+ android:textColor="@color/whited"
|
|
65
|
+ android:layout_marginTop="8dp"
|
|
66
|
+ android:layout_marginBottom="8dp"
|
31
|
67
|
/>
|
32
|
68
|
|
33
|
|
- <TextView
|
34
|
|
- android:id="@+id/programme_end"
|
35
|
|
- android:layout_width="wrap_content"
|
36
|
|
- android:layout_height="wrap_content"
|
37
|
|
- app:layout_constraintTop_toBottomOf="@id/programme_start"
|
38
|
|
- app:layout_constraintStart_toStartOf="@id/programme_start"
|
39
|
|
- android:gravity="start"
|
40
|
69
|
|
41
|
|
- />
|
42
|
70
|
|
43
|
71
|
<View
|
44
|
72
|
android:id="@+id/divider"
|
45
|
73
|
android:layout_width="match_parent"
|
46
|
74
|
android:layout_height="1dp"
|
47
|
|
- android:layout_marginTop="8dp"
|
48
|
75
|
android:background="?android:attr/listDivider"
|
49
|
|
- app:layout_constraintTop_toBottomOf="@id/programme_end"
|
50
|
76
|
app:layout_constraintStart_toStartOf="parent"
|
51
|
77
|
app:layout_constraintBottom_toBottomOf="parent"
|
52
|
78
|
app:layout_constraintEnd_toEndOf="parent"/>
|