1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2015 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<resources>
19    <style name="Preference.SwitchPreference">
20        <item name="android:widgetLayout">@layout/preference_widget_switch</item>
21        <item name="android:switchTextOn">@string/v7_preference_on</item>
22        <item name="android:switchTextOff">@string/v7_preference_off</item>
23    </style>
24
25    <style name="Preference.Material">
26        <item name="android:layout">@layout/preference_material</item>
27    </style>
28
29    <style name="Preference.Information.Material">
30        <item name="android:layout">@layout/preference_information_material</item>
31        <item name="android:enabled">false</item>
32        <item name="android:shouldDisableView">false</item>
33    </style>
34
35    <style name="Preference.Category.Material">
36        <item name="android:layout">@layout/preference_category_material</item>
37    </style>
38
39    <style name="Preference.CheckBoxPreference.Material">
40        <item name="android:layout">@layout/preference_material</item>
41    </style>
42
43    <style name="Preference.SwitchPreferenceCompat.Material">
44        <item name="android:layout">@layout/preference_material</item>
45    </style>
46
47    <style name="Preference.SwitchPreference.Material">
48        <item name="android:layout">@layout/preference_material</item>
49    </style>
50
51    <style name="Preference.PreferenceScreen.Material">
52        <item name="android:layout">@layout/preference_material</item>
53    </style>
54
55    <style name="Preference.DialogPreference.Material">
56        <item name="android:layout">@layout/preference_material</item>
57    </style>
58
59    <style name="Preference.DialogPreference.EditTextPreference.Material">
60        <item name="android:layout">@layout/preference_material</item>
61    </style>
62
63    <style name="Preference.DropDown.Material">
64        <item name="android:layout">@layout/preference_dropdown_material</item>
65    </style>
66
67    <style name="Preference_TextAppearanceMaterialBody2">
68        <item name="android:textSize">14sp</item>
69        <item name="android:fontFamily">sans-serif</item>
70        <item name="android:textColor">?android:attr/textColorPrimary</item>
71        <item name="android:textStyle">normal</item>
72    </style>
73
74    <style name="Preference_TextAppearanceMaterialSubhead">
75        <item name="android:textSize">16sp</item>
76        <item name="android:fontFamily">sans-serif</item>
77        <item name="android:textColor">?android:attr/textColorPrimary</item>
78        <item name="android:textStyle">normal</item>
79    </style>
80
81    <style name="PreferenceFragment.Material">
82        <item name="android:divider">@drawable/preference_list_divider_material</item>
83    </style>
84
85    <style name="PreferenceFragmentList.Material">
86        <item name="android:paddingLeft">0dp</item>
87        <item name="android:paddingRight">0dp</item>
88    </style>
89
90</resources>
91