From f2b66c5fb5224e08e5b0b972bab927eabf283d86 Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Tue, 3 May 2022 11:46:51 +0200 Subject: [PATCH] Fix pin position in static map --- .../layout/item_timeline_event_location_stub.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/vector/src/main/res/layout/item_timeline_event_location_stub.xml b/vector/src/main/res/layout/item_timeline_event_location_stub.xml index 656743f26c..d99ac9fa26 100644 --- a/vector/src/main/res/layout/item_timeline_event_location_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_location_stub.xml @@ -21,13 +21,13 @@ android:layout_width="51dp" android:layout_height="55dp" android:layout_gravity="center" - android:layout_marginBottom="28dp" android:importantForAccessibility="no" android:src="@drawable/bg_map_user_pin" - app:layout_constraintBottom_toBottomOf="@id/staticMapImageView" + app:layout_constraintBottom_toTopOf="@id/staticMapVerticalCenter" app:layout_constraintEnd_toEndOf="@id/staticMapImageView" app:layout_constraintStart_toStartOf="@id/staticMapImageView" - app:layout_constraintTop_toTopOf="@id/staticMapImageView" /> + app:layout_constraintTop_toTopOf="@id/staticMapImageView" + app:layout_constraintVertical_bias="1.0" /> + +