From 5bab953aa15e4bb7ac42e3204ce6f838e0deb8c8 Mon Sep 17 00:00:00 2001 From: Hayri Bakici <3295340+hayribakici@users.noreply.github.com> Date: Wed, 27 Dec 2023 18:00:18 +0100 Subject: [PATCH] fix(options): use correct text color in options switches (#179) Co-authored-by: Joshua Kuestersteffen --- .../customize_app_drawer_fragment_search_field_options.xml | 3 +++ app/src/main/res/layout/options_fragment.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/app/src/main/res/layout/customize_app_drawer_fragment_search_field_options.xml b/app/src/main/res/layout/customize_app_drawer_fragment_search_field_options.xml index 3adbc9f6..1d9cbd84 100644 --- a/app/src/main/res/layout/customize_app_drawer_fragment_search_field_options.xml +++ b/app/src/main/res/layout/customize_app_drawer_fragment_search_field_options.xml @@ -30,6 +30,7 @@ android:text="@string/customize_app_drawer_fragment_show_search_bar" android:textAppearance="@style/TextAppearance.AppCompat" android:textSize="@dimen/_20ssp" + android:textColor="?switchTextColor" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -42,6 +43,7 @@ android:text="@string/customize_app_drawer_fragment_open_keyboard" android:textAppearance="@style/TextAppearance.AppCompat" android:textSize="@dimen/_20ssp" + android:textColor="?switchTextColor" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/customize_app_drawer_fragment_search_field_position" /> @@ -54,6 +56,7 @@ android:text="@string/customize_app_drawer_fragment_search_all" android:textAppearance="@style/TextAppearance.AppCompat" android:textSize="@dimen/font_size_customize_options" + android:textColor="?switchTextColor" app:layout_constraintTop_toBottomOf="@id/customize_app_drawer_open_keyboard_switch" app:layout_constraintStart_toStartOf="parent"/> \ No newline at end of file diff --git a/app/src/main/res/layout/options_fragment.xml b/app/src/main/res/layout/options_fragment.xml index ff06e767..59997507 100644 --- a/app/src/main/res/layout/options_fragment.xml +++ b/app/src/main/res/layout/options_fragment.xml @@ -140,6 +140,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="32dp" + android:textColor="?switchTextColor" android:text="@string/customize_app_drawer_fragment_auto_theme_wallpaper_text" android:textAppearance="@style/TextAppearance.AppCompat" android:textSize="@dimen/font_size_customize_options"