From b5748b81d64bc8ee61c2a9c514f98adb2acd2cd7 Mon Sep 17 00:00:00 2001 From: Tom Pratt Date: Sun, 27 Sep 2026 21:04:53 +0200 Subject: Fix android settings crash on API level 28 and lower These API levels don't allow color selectors to be used as backgrounds. Switch to MaterialDivider and set the color via dividerColor instead of background. --- Source/Android/app/src/main/res/layout/activity_settings.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/Android') diff --git a/Source/Android/app/src/main/res/layout/activity_settings.xml b/Source/Android/app/src/main/res/layout/activity_settings.xml index fbecfd3886..b4226e3d9f 100644 --- a/Source/Android/app/src/main/res/layout/activity_settings.xml +++ b/Source/Android/app/src/main/res/layout/activity_settings.xml @@ -140,10 +140,11 @@ - + android:layout_height="wrap_content" + app:dividerColor="@color/settings_search_outline" + app:dividerThickness="1dp" /> -- cgit v1.2.3