При длинном тексте некоторые слова выходят за рамки. Как сделать, чтобы перенос был корректный? Длинный текст в taskView = "В комнате не работает gjjjjfghfhgfhfhgfhgfhggfh fhghfgfgf gfhyyfgh fhfffgh fgfhhf fhhf hghg." По словам переносит, но как то некорректно.
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="10dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="4dp"
android:background="@drawable/customborder">
<TextView
android:id="@+id/rectangleNumber"
android:layout_width="60dp"
android:layout_height="28dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@drawable/rectangle"
android:gravity="center_vertical|center_horizontal"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/dateTimeView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat"
app:layout_constraintStart_toStartOf="@+id/rectangleNumber"
app:layout_constraintTop_toBottomOf="@+id/rectangleNumber" />
<TextView
android:id="@+id/address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/poppins_medium"
app:layout_constraintStart_toStartOf="@+id/dateTimeView"
app:layout_constraintTop_toBottomOf="@+id/dateTimeView" />
<TextView
android:id="@+id/cvalView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/poppins_medium"
app:layout_constraintStart_toStartOf="@+id/address"
app:layout_constraintTop_toBottomOf="@+id/address" />
<TextView
android:id="@+id/taskView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="4dp"
android:fontFamily="@font/poppins_medium"
app:layout_constraintStart_toStartOf="@+id/cvalView"
app:layout_constraintTop_toBottomOf="@+id/cvalView" />
<TextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat"
app:layout_constraintStart_toStartOf="@+id/taskView"
app:layout_constraintTop_toBottomOf="@+id/taskView" />
<Button
android:id="@+id/agreeBtn"
android:layout_width="100dp"
android:layout_height="30dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:background="@drawable/rectangle"
android:backgroundTint="#00CC4F"
android:fontFamily="@font/montserrat"
android:text="Принять"
android:textColor="#FFFFFF"
app:layout_constraintStart_toStartOf="@+id/description"
app:layout_constraintTop_toBottomOf="@+id/description" />
<Button
android:id="@+id/disagreeBtn"
android:layout_width="100dp"
android:layout_height="30dp"
android:layout_marginLeft="16dp"
android:layout_marginBottom="8dp"
android:backgroundTint="#F23B51"
android:text="Отклонить"
android:textColor="#FFFFFF"
android:fontFamily="@font/montserrat"
android:background="@drawable/rectangle"
app:layout_constraintLeft_toRightOf="@+id/agreeBtn"
app:layout_constraintTop_toTopOf="@+id/agreeBtn" />
</androidx.constraintlayout.widget.ConstraintLayout>