forceDarkAllowed once again messes with proper styling Change-Id: I1d59477ae4dbd7d081787f90eab633027b575bf3
16 lines
590 B
XML
16 lines
590 B
XML
<?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:forceDarkAllowed="false"
|
|
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" />
|