|
6 | 6 | android:layout_width="match_parent" |
7 | 7 | android:layout_height="match_parent"> |
8 | 8 |
|
9 | | - <com.google.android.material.textview.MaterialTextView |
10 | | - android:id="@+id/textViewSummary" |
| 9 | + <include |
| 10 | + android:id="@+id/description_section" |
| 11 | + layout="@layout/lesson_description_section" |
11 | 12 | android:layout_width="0dp" |
12 | 13 | android:layout_height="wrap_content" |
13 | | - android:padding="16dp" |
14 | | - android:text="@string/summary_room_database" |
| 14 | + android:layout_marginStart="16dp" |
| 15 | + android:layout_marginTop="16dp" |
| 16 | + android:layout_marginEnd="16dp" |
15 | 17 | app:layout_constraintEnd_toEndOf="parent" |
16 | 18 | app:layout_constraintStart_toStartOf="parent" |
17 | 19 | app:layout_constraintTop_toTopOf="parent" /> |
18 | 20 |
|
| 21 | + <include |
| 22 | + android:id="@+id/layout_preview_header" |
| 23 | + layout="@layout/lesson_section_header" |
| 24 | + android:layout_width="0dp" |
| 25 | + android:layout_height="wrap_content" |
| 26 | + android:layout_marginStart="16dp" |
| 27 | + android:layout_marginTop="24dp" |
| 28 | + android:layout_marginEnd="16dp" |
| 29 | + app:layout_constraintEnd_toEndOf="parent" |
| 30 | + app:layout_constraintStart_toStartOf="parent" |
| 31 | + app:layout_constraintTop_toBottomOf="@id/description_section" |
| 32 | + tools:text="@string/layout_preview" /> |
| 33 | + |
19 | 34 | <com.google.android.material.textfield.TextInputLayout |
20 | 35 | android:id="@+id/textInputLayout" |
21 | 36 | android:layout_width="0dp" |
|
24 | 39 | android:layout_marginHorizontal="16dp" |
25 | 40 | app:layout_constraintEnd_toEndOf="parent" |
26 | 41 | app:layout_constraintStart_toStartOf="parent" |
27 | | - app:layout_constraintTop_toBottomOf="@id/textViewSummary"> |
| 42 | + app:layout_constraintTop_toBottomOf="@id/layout_preview_header"> |
28 | 43 |
|
29 | 44 | <com.google.android.material.textfield.TextInputEditText |
30 | 45 | android:id="@+id/editTextNote" |
|
0 commit comments