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 xmlns:tools="http://schemas.android.com/tools"> 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.SeekBarPreference.Material"> 52 <item name="android:layout">@layout/preference_widget_seekbar_material</item> 53 <item name="adjustable">true</item> 54 <item name="showSeekBarValue">true</item> 55 </style> 56 57 <style name="Preference.PreferenceScreen.Material"> 58 <item name="android:layout">@layout/preference_material</item> 59 </style> 60 61 <style name="Preference.DialogPreference.Material"> 62 <item name="android:layout">@layout/preference_material</item> 63 </style> 64 65 <style name="Preference.DialogPreference.EditTextPreference.Material"> 66 <item name="android:layout">@layout/preference_material</item> 67 </style> 68 69 <style name="Preference.DropDown.Material"> 70 <item name="android:layout">@layout/preference_dropdown_material</item> 71 </style> 72 73 <style name="Preference_TextAppearanceMaterialBody2"> 74 <item name="android:textSize">14sp</item> 75 <item tools:ignore="NewApi" name="android:fontFamily">sans-serif</item> 76 <item name="android:textColor">?android:attr/textColorPrimary</item> 77 <item name="android:textStyle">normal</item> 78 </style> 79 80 <style name="Preference_TextAppearanceMaterialSubhead"> 81 <item name="android:textSize">16sp</item> 82 <item tools:ignore="NewApi" name="android:fontFamily">sans-serif</item> 83 <item name="android:textColor">?android:attr/textColorPrimary</item> 84 <item name="android:textStyle">normal</item> 85 </style> 86 87 <style name="PreferenceFragment.Material"> 88 <item name="android:divider">@drawable/preference_list_divider_material</item> 89 </style> 90 91 <style name="PreferenceFragmentList.Material"> 92 <item name="android:paddingLeft">0dp</item> 93 <item name="android:paddingRight">0dp</item> 94 </style> 95 96 </resources> 97