Messaging: Style the SwitchPreferences

Use the newer style of A15

Change-Id: I75a0e54f70f837d21d3aaa746f2e0ec7af226eda
This commit is contained in:
Michael W
2024-12-26 15:54:35 +01:00
parent 1914db5ea4
commit 5ed268cee1
6 changed files with 33 additions and 8 deletions
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2023 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0
-->
<com.google.android.material.materialswitch.MaterialSwitch
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/switchWidget"
android:theme="@style/Theme.Material3.DynamicColors.DayNight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false" />