From d682ec88ef99e14f97c275440dc3ff31d6b1d456 Mon Sep 17 00:00:00 2001 From: Aaron Brethorst Date: Tue, 27 Feb 2024 20:37:42 -0800 Subject: [PATCH] fix: Loader color contrast fix fixes #1115 Add appropriate tint color to indefinite spinners on header elements Co-authored-by: sebesti0n --- onebusaway-android/src/main/res/layout/arrivals_list_header.xml | 1 + onebusaway-android/src/main/res/layout/route_info_head.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/onebusaway-android/src/main/res/layout/arrivals_list_header.xml b/onebusaway-android/src/main/res/layout/arrivals_list_header.xml index 92e79c367..340a87858 100644 --- a/onebusaway-android/src/main/res/layout/arrivals_list_header.xml +++ b/onebusaway-android/src/main/res/layout/arrivals_list_header.xml @@ -227,6 +227,7 @@ android:id="@+id/header_loading_spinner" style="?android:progressBarStyleLarge" android:layout_width="60dp" + android:indeterminateTint="@color/header_text_faded_color" android:layout_height="60dp" android:layout_marginLeft="8dp" android:paddingRight="8dp" diff --git a/onebusaway-android/src/main/res/layout/route_info_head.xml b/onebusaway-android/src/main/res/layout/route_info_head.xml index 3e2e590bb..4541cf471 100644 --- a/onebusaway-android/src/main/res/layout/route_info_head.xml +++ b/onebusaway-android/src/main/res/layout/route_info_head.xml @@ -26,6 +26,7 @@ android:paddingRight="8dp" android:paddingBottom="5dp" android:visibility="visible" + android:indeterminateTint="@color/header_text_faded_color" android:layout_alignParentLeft="true" android:layout_centerVertical="true"/>