From bad9fdd8ad2e4686c75102f04eb506f233eb4ae0 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Tue, 28 Feb 2023 15:23:44 +0100 Subject: [PATCH] Fix url preview picture alignment without text Change-Id: I8f0651e8b9d9430cff80702c1bf88bf8fea8f7b7 --- vector/src/main/res/layout/view_url_preview_sc.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vector/src/main/res/layout/view_url_preview_sc.xml b/vector/src/main/res/layout/view_url_preview_sc.xml index b640126ba3..6f874733c2 100644 --- a/vector/src/main/res/layout/view_url_preview_sc.xml +++ b/vector/src/main/res/layout/view_url_preview_sc.xml @@ -38,8 +38,9 @@ android:layout_marginTop="16dp" android:importantForAccessibility="no" android:scaleType="fitStart" + android:layout_marginStart="7dp" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="@+id/url_preview_title" + app:layout_constraintStart_toStartOf="@+id/url_preview_left_border" app:layout_constraintTop_toBottomOf="@+id/url_preview_title" tools:src="@tools:sample/backgrounds/scenic" />