Fix message details layout when contact pictures are disabled

This commit is contained in:
cketti 2023-03-27 17:09:18 +02:00
parent f1c82f57b7
commit d60b071e88

View file

@ -29,7 +29,7 @@
app:layout_constraintEnd_toStartOf="@+id/menu_add_contact"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toEndOf="@id/start_guideline"
app:layout_constraintStart_toStartOf="@id/email"
app:layout_constraintTop_toTopOf="@+id/top_guideline"
app:layout_constraintVertical_chainStyle="packed"
app:layout_goneMarginBottom="12dp"
@ -42,12 +42,13 @@
android:layout_marginEnd="4dp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
android:textColor="?android:attr/textColorSecondary"
android:layout_marginStart="16dp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@+id/bottom_guideline"
app:layout_constraintEnd_toStartOf="@+id/menu_add_contact"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toEndOf="@id/start_guideline"
app:layout_constraintStart_toEndOf="@id/contact_picture"
app:layout_constraintTop_toBottomOf="@+id/name"
tools:text="alice@domain.example" />
@ -80,13 +81,6 @@
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@drawable/dots_vertical" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/start_guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_begin="72dp" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/top_guideline"
android:layout_width="wrap_content"