<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2015 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
-->
<resources>
<style name="Preference">
<item name="layout">@layout/preference</item>
</style>
<style name="PreferenceFragment">
<item name="android:paddingLeft">0dp</item>
<item name="android:paddingRight">0dp</item>
</style>
<style name="Preference.Information">
<item name="layout">@layout/preference_information</item>
<item name="enabled">false</item>
<item name="shouldDisableView">false</item>
</style>
<style name="Preference.Category">
<item name="layout">@layout/preference_category</item>
<!-- The title should not dim if the category is disabled, instead only the preference children should dim. -->
<item name="shouldDisableView">false</item>
<item name="selectable">false</item>
</style>
<style name="Preference.CheckBoxPreference">
<item name="widgetLayout">@layout/preference_widget_checkbox</item>
</style>
<style name="Preference.SwitchPreferenceCompat">
<item name="widgetLayout">@layout/preference_widget_switch_compat</item>
<item name="switchTextOn">@string/v7_preference_on</item>
<item name="switchTextOff">@string/v7_preference_off</item>
</style>
<style name="Preference.PreferenceScreen">
</style>
<style name="Preference.DialogPreference">
<item name="positiveButtonText">@android:string/ok</item>
<item name="negativeButtonText">@android:string/cancel</item>
</style>
<style name="Preference.DialogPreference.EditTextPreference">
<item name="dialogLayout">@layout/preference_dialog_edittext</item>
</style>
<style name="PreferenceFragmentList">
<item name="android:paddingLeft">16dp</item>
<item name="android:paddingRight">16dp</item>
</style>
</resources>