<?xml version="1.0" encoding="utf-8"?>

<!--
SPDX-FileCopyrightText: 2023 Dmitry Yudin <dgyudin@gmail.com>

SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
-->

<resources>
    <style name="KdeConnectThemeBase.V27" parent="KdeConnectThemeBase">
        <item name="android:navigationBarColor">@android:color/transparent</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:windowLightNavigationBar">?attr/isLightTheme</item>
    </style>

    <style name="KdeConnectTheme" parent="KdeConnectThemeBase.V27" />

    <style name="PreferenceThemeOverlay" parent="BasePreferenceThemeOverlay">
        <item name="preferenceCategoryTitleTextColor">?android:attr/colorAccent</item>
        <!--Applying m3 style switch-->
        <item name="switchPreferenceStyle">@style/Preference.SwitchPreferenceMaterial</item>
    </style>

    <style name="Preference.SwitchPreferenceMaterial" parent="Preference.SwitchPreference.Material">
        <item name="android:widgetLayout">@layout/preference_widget_material_switch</item>
    </style>
</resources>
