16904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler<?xml version="1.0" encoding="utf-8"?>
26904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler<!--
36904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ Copyright (C) 2015 The Android Open Source Project
46904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~
56904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ Licensed under the Apache License, Version 2.0 (the "License");
66904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ you may not use this file except in compliance with the License.
76904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ You may obtain a copy of the License at
86904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~
96904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~      http://www.apache.org/licenses/LICENSE-2.0
106904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~
116904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ Unless required by applicable law or agreed to in writing, software
126904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ distributed under the License is distributed on an "AS IS" BASIS,
136904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
146904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ See the License for the specific language governing permissions and
156904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  ~ limitations under the License
166904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler  -->
176904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
186904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler<resources>
196904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference">
206904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="layout">@layout/preference</item>
216904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
226904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
236904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="PreferenceFragment">
246904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="android:paddingLeft">0dp</item>
256904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="android:paddingRight">0dp</item>
266904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
276904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
286904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference.Information">
296904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="layout">@layout/preference_information</item>
306904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="enabled">false</item>
316904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="shouldDisableView">false</item>
326904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
336904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
346904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference.Category">
356904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="layout">@layout/preference_category</item>
366904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <!-- The title should not dim if the category is disabled, instead only the preference children should dim. -->
376904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="shouldDisableView">false</item>
386904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="selectable">false</item>
396904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
406904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
416904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference.CheckBoxPreference">
426904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="widgetLayout">@layout/preference_widget_checkbox</item>
436904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
446904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
456904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference.SwitchPreferenceCompat">
466904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="widgetLayout">@layout/preference_widget_switch_compat</item>
476904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="switchTextOn">@string/v7_preference_on</item>
486904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="switchTextOff">@string/v7_preference_off</item>
496904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
506904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
516904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference.PreferenceScreen">
526904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
536904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
546904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference.DialogPreference">
556904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="positiveButtonText">@android:string/ok</item>
566904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="negativeButtonText">@android:string/cancel</item>
576904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
586904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
596904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="Preference.DialogPreference.EditTextPreference">
606904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="dialogLayout">@layout/preference_dialog_edittext</item>
616904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
626904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
636904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    <style name="PreferenceFragmentList">
646904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="android:paddingLeft">16dp</item>
656904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler        <item name="android:paddingRight">16dp</item>
666904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler    </style>
676904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler</resources>
68