From fcce9b9adc44b2901181a69491eadf5354e9e617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrew=20L=C3=B3pez=20Herrera?= Date: Thu, 23 Apr 2026 10:58:28 -0600 Subject: [PATCH 1/2] feat: A border has been added to the contextual menus on the main screen and to the track detail spinner. fix: It resolves the low contrast that existed between the contextual menus and the rest of the application. docs: Nothing --- app/src/main/res/drawable/menu_border_background.xml | 7 +++++++ app/src/main/res/layout/trackdetail_fields.xml | 1 + app/src/main/res/values-v14/theme_highcontrast.xml | 5 +++++ app/src/main/res/values/styles.xml | 9 ++++++++- 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/menu_border_background.xml diff --git a/app/src/main/res/drawable/menu_border_background.xml b/app/src/main/res/drawable/menu_border_background.xml new file mode 100644 index 000000000..0d39d1a79 --- /dev/null +++ b/app/src/main/res/drawable/menu_border_background.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/trackdetail_fields.xml b/app/src/main/res/layout/trackdetail_fields.xml index c7397218a..7848dc773 100644 --- a/app/src/main/res/layout/trackdetail_fields.xml +++ b/app/src/main/res/layout/trackdetail_fields.xml @@ -71,6 +71,7 @@ android:layout_marginTop="8dp" android:minHeight="48dp" android:entries="@array/prefs_osm_visibility_keys" + android:popupBackground="@drawable/menu_border_background" style="@style/Widget.AppCompat.Spinner.Underlined" /> \ No newline at end of file diff --git a/app/src/main/res/values-v14/theme_highcontrast.xml b/app/src/main/res/values-v14/theme_highcontrast.xml index da0644f14..dc1a2a367 100644 --- a/app/src/main/res/values-v14/theme_highcontrast.xml +++ b/app/src/main/res/values-v14/theme_highcontrast.xml @@ -4,6 +4,7 @@ @style/Widget.Button @style/Widget.Button.Toggle + @style/PopupMenu + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ba144f1c3..d8e0cc361 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -8,7 +8,9 @@ @color/colorPrimaryDark @color/colorAccent --> - + @style/PopupMenu + @style/PopupMenu + @drawable/menu_border_background @@ -20,4 +22,9 @@ --> + + + \ No newline at end of file From 8092b5387107b3a1662f26902ad510c7d7d7b185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrew=20L=C3=B3pez=20Herrera?= Date: Thu, 23 Apr 2026 14:42:23 -0600 Subject: [PATCH 2/2] feat: A border has been added to the rest of the popup-style menus. fix: It resolves the low contrast that existed between the contextual menus and the rest of the application. docs: Nothing --- .../res/values-v14/theme_highcontrast.xml | 8 +++---- app/src/main/res/values-v14/themes.xml | 21 ++++++++++++++++--- app/src/main/res/values/styles.xml | 2 +- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/values-v14/theme_highcontrast.xml b/app/src/main/res/values-v14/theme_highcontrast.xml index dc1a2a367..de8205338 100644 --- a/app/src/main/res/values-v14/theme_highcontrast.xml +++ b/app/src/main/res/values-v14/theme_highcontrast.xml @@ -4,7 +4,9 @@ @style/Widget.Button @style/Widget.Button.Toggle - @style/PopupMenu + @style/NativePopupMenu + @style/NativePopupMenu + @drawable/menu_border_background - - diff --git a/app/src/main/res/values-v14/themes.xml b/app/src/main/res/values-v14/themes.xml index 0f66f5a48..30fa076e6 100644 --- a/app/src/main/res/values-v14/themes.xml +++ b/app/src/main/res/values-v14/themes.xml @@ -1,6 +1,21 @@ - + + + \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index d8e0cc361..aa53a5d1a 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -9,8 +9,8 @@ @color/colorAccent --> @style/PopupMenu + @style/PopupMenu @style/PopupMenu - @drawable/menu_border_background