From 506f5fcf496305d7ce5a036b65aac788d19dc870 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 30 Nov 2022 16:07:12 +0100 Subject: [PATCH] Fix some issues --- .../res/drawable/ic_compose_attachment_play.xml | 4 ++-- .../main/res/layout/compose_attachment_item.xml | 16 ++++++++++++---- .../main/res/layout/drawer_status_compose.xml | 3 +++ 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/drawable/ic_compose_attachment_play.xml b/app/src/main/res/drawable/ic_compose_attachment_play.xml index 9edb5960..9b7ecb7f 100644 --- a/app/src/main/res/drawable/ic_compose_attachment_play.xml +++ b/app/src/main/res/drawable/ic_compose_attachment_play.xml @@ -4,9 +4,9 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/layout/compose_attachment_item.xml b/app/src/main/res/layout/compose_attachment_item.xml index 156827b1..d4b0f5ec 100644 --- a/app/src/main/res/layout/compose_attachment_item.xml +++ b/app/src/main/res/layout/compose_attachment_item.xml @@ -30,13 +30,15 @@ android:layout_width="48dp" android:layout_height="48dp" android:adjustViewBounds="true" - android:padding="6dp" + android:padding="0dp" + app:icon="@drawable/ic_compose_attachment_play" + app:iconGravity="textStart" android:scaleType="fitCenter" - android:src="@drawable/ic_compose_attachment_play" + app:iconPadding="0dp" app:layout_constraintBottom_toBottomOf="@id/preview" app:layout_constraintEnd_toEndOf="@id/preview" - app:layout_constraintStart_toStartOf="@id/preview" - app:layout_constraintTop_toTopOf="@id/preview" /> + app:layout_constraintStart_toStartOf="@id/preview" + app:layout_constraintTop_toTopOf="@id/preview" /> @@ -172,6 +173,7 @@ android:layout_height="48dp" android:layout_marginTop="6dp" app:icon="@drawable/ic_compose_sensitive" + android:padding="0dp" app:iconGravity="textStart" app:iconPadding="0dp" /> @@ -181,6 +183,7 @@ android:layout_width="48dp" android:layout_height="48dp" app:icon="@drawable/ic_compose_visibility_public" + android:padding="0dp" app:iconGravity="textStart" app:iconPadding="0dp" />