From 4250f3d67959edbe67ab56802763443649625c82 Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Wed, 24 Jul 2024 14:22:31 +0530 Subject: [PATCH] Theme app according to our palette --- res/layout-v34/settingslib_main_switch_bar.xml | 5 ++--- res/layout/long_screen_list_item.xml | 3 +-- res/layout/preference_widget_switch_compat.xml | 5 ++--- res/values/styles.xml | 4 ++-- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/res/layout-v34/settingslib_main_switch_bar.xml b/res/layout-v34/settingslib_main_switch_bar.xml index aa4cb43c..3c2444e8 100644 --- a/res/layout-v34/settingslib_main_switch_bar.xml +++ b/res/layout-v34/settingslib_main_switch_bar.xml @@ -37,15 +37,14 @@ android:lineBreakWordStyle="phrase" style="@style/MainSwitchText.Settingslib" /> - + android:focusable="false" /> diff --git a/res/layout/long_screen_list_item.xml b/res/layout/long_screen_list_item.xml index 9afe9bcf..359a5990 100644 --- a/res/layout/long_screen_list_item.xml +++ b/res/layout/long_screen_list_item.xml @@ -45,6 +45,5 @@ android:id="@+id/state" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:background="@null" - android:theme="@style/Theme.Material3.DynamicColors.DayNight" /> + android:background="@null" /> diff --git a/res/layout/preference_widget_switch_compat.xml b/res/layout/preference_widget_switch_compat.xml index 5ab45c0e..3c0de3de 100644 --- a/res/layout/preference_widget_switch_compat.xml +++ b/res/layout/preference_widget_switch_compat.xml @@ -3,12 +3,11 @@ SPDX-FileCopyrightText: 2023 The Android Open Source Project SPDX-License-Identifier: Apache-2.0 --> - + android:focusable="false" /> diff --git a/res/values/styles.xml b/res/values/styles.xml index be39ae50..0348b184 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -31,7 +31,7 @@ @@ -43,7 +43,7 @@ -- GitLab