1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Workaround constraint layout bug

This commit is contained in:
M66B 2021-08-16 22:02:20 +02:00
parent a215bcf6e8
commit 27dfb738e2

View file

@ -394,10 +394,12 @@
android:layout_marginStart="6dp" android:layout_marginStart="6dp"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:gravity="center_vertical"
android:minHeight="24dp"
android:text="@string/title_no_format" android:text="@string/title_no_format"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toStartOf="@+id/ibReferenceEdit" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/ibCloseRefHint" app:layout_constraintStart_toEndOf="@id/ibCloseRefHint"
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature" /> app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature" />
@ -411,7 +413,7 @@
android:contentDescription="@string/title_legend_edit" android:contentDescription="@string/title_legend_edit"
android:padding="3dp" android:padding="3dp"
app:layout_constraintEnd_toStartOf="@+id/ibReferenceImages" app:layout_constraintEnd_toStartOf="@+id/ibReferenceImages"
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature" app:layout_constraintTop_toBottomOf="@id/tvReferenceHint"
app:srcCompat="@drawable/twotone_edit_24" /> app:srcCompat="@drawable/twotone_edit_24" />
<ImageButton <ImageButton
@ -424,16 +426,9 @@
android:contentDescription="@string/title_legend_show_images" android:contentDescription="@string/title_legend_show_images"
android:padding="3dp" android:padding="3dp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature" app:layout_constraintTop_toBottomOf="@id/tvReferenceHint"
app:srcCompat="@drawable/twotone_image_24" /> app:srcCompat="@drawable/twotone_image_24" />
<androidx.constraintlayout.widget.Barrier
android:id="@+id/barrier_reference"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="bottom"
app:constraint_referenced_ids="ibCloseRefHint,tvReferenceHint,ibReferenceEdit,ibReferenceImages" />
<eu.faircode.email.FixedTextView <eu.faircode.email.FixedTextView
android:id="@+id/tvReference" android:id="@+id/tvReference"
android:layout_width="0dp" android:layout_width="0dp"
@ -447,7 +442,7 @@
android:textIsSelectable="true" android:textIsSelectable="true"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barrier_reference" /> app:layout_constraintTop_toBottomOf="@id/ibReferenceEdit" />
<androidx.constraintlayout.widget.Group <androidx.constraintlayout.widget.Group
android:id="@+id/grpHeader" android:id="@+id/grpHeader"