|
284 | 284 | tools:listitem="@layout/item_attachment"
|
285 | 285 | tools:visibility="visible" />
|
286 | 286 |
|
287 |
| - <FrameLayout |
288 |
| - android:id="@+id/editorLayout" |
| 287 | + <com.infomaniak.lib.richhtmleditor.RichHtmlEditorWebView |
| 288 | + android:id="@+id/editor" |
289 | 289 | android:layout_width="match_parent"
|
290 | 290 | android:layout_height="wrap_content"
|
291 |
| - android:paddingTop="@dimen/marginStandardMedium" |
| 291 | + android:layout_marginTop="@dimen/marginStandardMedium" |
292 | 292 | app:layout_constraintEnd_toEndOf="parent"
|
293 | 293 | app:layout_constraintStart_toStartOf="parent"
|
294 |
| - app:layout_constraintTop_toBottomOf="@id/attachmentsRecyclerView"> |
295 |
| - |
296 |
| - <com.infomaniak.lib.richhtmleditor.RichHtmlEditorWebView |
297 |
| - android:id="@+id/editor" |
298 |
| - android:layout_width="match_parent" |
299 |
| - android:layout_height="wrap_content" /> |
300 |
| - |
301 |
| - </FrameLayout> |
| 294 | + app:layout_constraintTop_toBottomOf="@id/attachmentsRecyclerView" /> |
302 | 295 |
|
303 | 296 | <TextView
|
304 | 297 | android:id="@+id/newMessagePlaceholder"
|
305 | 298 | android:layout_width="wrap_content"
|
306 | 299 | android:layout_height="wrap_content"
|
307 | 300 | android:layout_gravity="center_vertical"
|
308 | 301 | android:layout_marginStart="@dimen/marginStandardMedium"
|
309 |
| - android:layout_marginTop="@dimen/marginStandardMedium" |
310 | 302 | android:text="@string/newMessagePlaceholderTitle"
|
311 | 303 | android:textColor="@color/tertiaryTextColor"
|
312 | 304 | android:visibility="gone"
|
313 |
| - app:layout_constraintBottom_toBottomOf="@id/editorLayout" |
| 305 | + app:layout_constraintBottom_toBottomOf="@id/editor" |
314 | 306 | app:layout_constraintEnd_toEndOf="parent"
|
315 | 307 | app:layout_constraintHorizontal_bias="0"
|
316 | 308 | app:layout_constraintStart_toStartOf="parent"
|
317 |
| - app:layout_constraintTop_toTopOf="@id/editorLayout" |
| 309 | + app:layout_constraintTop_toTopOf="@id/editor" |
318 | 310 | tools:visibility="visible" />
|
319 | 311 |
|
320 | 312 | <LinearLayout
|
|
371 | 363 | android:layout_marginBottom="@dimen/marginStandardMedium"
|
372 | 364 | app:layout_constraintEnd_toEndOf="parent"
|
373 | 365 | app:layout_constraintStart_toStartOf="parent"
|
374 |
| - app:layout_constraintTop_toBottomOf="@id/editorLayout" /> |
| 366 | + app:layout_constraintTop_toBottomOf="@id/editor" /> |
375 | 367 |
|
376 | 368 | <com.google.android.material.button.MaterialButton
|
377 | 369 | android:id="@+id/removeSignature"
|
|
0 commit comments