Title overlapping with Priority indicator fixed.

This commit is contained in:
Stefan 2020-07-23 21:55:28 +02:00
parent b3c748edf9
commit 70b13f791c

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android" <layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto">
xmlns:tools="http://schemas.android.com/tools">
<data> <data>
<variable <variable
@ -40,15 +39,16 @@
<TextView <TextView
android:id="@+id/title_txt" android:id="@+id/title_txt"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:maxLength="20" android:layout_marginEnd="16dp"
android:text="@{toDoData.title}" android:text="@{toDoData.title}"
android:textColor="@color/darkGray" android:textColor="@color/darkGray"
android:textSize="20sp" android:textSize="20sp"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@+id/priority_indicator"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />