Fix attachment title drawn over divider

This commit is contained in:
Matte23
2020-11-06 10:48:25 +01:00
parent 024f6beeab
commit 66bcc00017

View File

@@ -20,34 +20,35 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
app:layout_constraintBottom_toBottomOf="@+id/attachment_view_button" android:layout_marginTop="4dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/attachment_view_button" app:layout_constraintEnd_toStartOf="@+id/attachment_view_button"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/attachment_view_button" /> app:layout_constraintTop_toBottomOf="@+id/attachment_divider" />
<ImageButton <ImageButton
android:id="@+id/attachment_view_button" android:id="@+id/attachment_view_button"
style="?borderlessButtonStyle" style="?borderlessButtonStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:src="@drawable/baseline_visibility_24" android:src="@drawable/baseline_visibility_24"
android:tint="@color/colorSecondary" android:tint="@color/colorSecondary"
android:contentDescription="@string/image_view_attachment" android:contentDescription="@string/image_view_attachment"
app:layout_constraintEnd_toStartOf="@+id/attachment_download_button" app:layout_constraintEnd_toStartOf="@+id/attachment_download_button"
app:layout_constraintTop_toBottomOf="@+id/attachment_divider" /> app:layout_constraintTop_toTopOf="@+id/attachment_title_textview"
app:layout_constraintBottom_toBottomOf="@+id/attachment_title_textview" />
<ImageButton <ImageButton
android:id="@+id/attachment_download_button" android:id="@+id/attachment_download_button"
style="?borderlessButtonStyle" style="?borderlessButtonStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:src="@drawable/baseline_get_app_24" android:src="@drawable/baseline_get_app_24"
android:tint="@color/colorSecondary" android:tint="@color/colorSecondary"
android:contentDescription="@string/image_download_attachment" android:contentDescription="@string/image_download_attachment"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/attachment_divider" /> app:layout_constraintTop_toTopOf="@+id/attachment_title_textview"
app:layout_constraintBottom_toBottomOf="@+id/attachment_title_textview" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>