From 8ca6348c8c10233d5e831affb131a1dcff668fb2 Mon Sep 17 00:00:00 2001 From: Jason Whitmore Date: Thu, 5 Sep 2024 17:28:28 -0700 Subject: [PATCH] content_location_picker.xml: adjust picker pin and shadow location Before this commit, the location picker pin and shadow graphics were incorrectly located on the screen. Specifically, the bottom of the pin was not located at the center of the view. Since pressing the checkmark button saves the location at the center of the view, users would most likely save the wrong location. After this commit, the location picker pin and shadow graphics have been moved upward. The shadow graphic is now located at the exact center of the view, and the bottom of the location picker pin is directly over the center as well. Users may now use the bottom of the pin as an accurate location picker. --- app/src/main/res/layout/content_location_picker.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/content_location_picker.xml b/app/src/main/res/layout/content_location_picker.xml index c8627e4da..a810b32f4 100644 --- a/app/src/main/res/layout/content_location_picker.xml +++ b/app/src/main/res/layout/content_location_picker.xml @@ -16,6 +16,7 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/map_default_map_marker" + android:layout_marginBottom="45dp" android:contentDescription="@string/location_picker_image_view" />