- update Material Switch Bug: 406164185 Test: visual Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled Change-Id: I0efd50cb9438ddfdd1691e9f24480bf8e2b2edfe
34 lines
1.6 KiB
XML
34 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2024 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<!-- This file only contains custom attribute and style definition for preferences -->
|
|
<!-- Things unrelated to preference framework UI customization should go to other styles files -->
|
|
<resources>
|
|
|
|
<style name="SettingsPreferenceTheme.Expressive" parent="@style/PreferenceTheme.SettingsLib.Expressive">
|
|
<item name="cardPreferenceStyle">@style/CardPreference</item>
|
|
<item name="slicePreferenceStyle">@style/SlicePreference</item>
|
|
<item name="seekBarPreferenceStyle">@style/SettingsSeekBarPreference</item>
|
|
<item name="twoStateButtonPreferenceStyle">@style/TwoStateButtonPreference</item>
|
|
<item name="preferenceFragmentCompatStyle">@style/SettingsPreferenceFragmentStyle</item>
|
|
</style>
|
|
|
|
<style name="SyncSwitchPreference.Expressive" parent="@style/SettingsLibPreference.SwitchPreferenceCompat.Expressive">
|
|
<item name="android:widgetLayout">@layout/preference_widget_sync_toggle_expreesive</item>
|
|
</style>
|
|
</resources>
|