| <?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="LeanbackPreference"> |
| <item name="android:layout">@layout/leanback_preference</item> |
| </style> |
| |
| <style name="LeanbackPreference.Information"> |
| <item name="android:layout">@layout/leanback_preference_information</item> |
| <item name="android:enabled">false</item> |
| <item name="android:shouldDisableView">false</item> |
| </style> |
| |
| <style name="LeanbackPreference.Category"> |
| <item name="android:layout">@layout/leanback_preference_category</item> |
| <!-- The title should not dim if the category is disabled, instead only the preference children should dim. --> |
| <item name="android:shouldDisableView">false</item> |
| <item name="android:selectable">false</item> |
| </style> |
| |
| <style name="LeanbackPreference.CheckBoxPreference"> |
| <item name="android:widgetLayout">@layout/preference_widget_checkbox</item> |
| </style> |
| |
| <style name="LeanbackPreference.SwitchPreferenceCompat"> |
| <item name="android:widgetLayout">@layout/preference_widget_switch_compat</item> |
| <item name="android:switchTextOn">@string/v7_preference_on</item> |
| <item name="android:switchTextOff">@string/v7_preference_off</item> |
| </style> |
| |
| <style name="LeanbackPreference.SwitchPreference"> |
| <item name="android:widgetLayout">@layout/preference_widget_switch</item> |
| <item name="android:switchTextOn">@string/v7_preference_on</item> |
| <item name="android:switchTextOff">@string/v7_preference_off</item> |
| </style> |
| |
| <style name="LeanbackPreference.PreferenceScreen"> |
| </style> |
| |
| <style name="LeanbackPreference.DialogPreference"> |
| <item name="android:positiveButtonText">@android:string/ok</item> |
| <item name="android:negativeButtonText">@android:string/cancel</item> |
| </style> |
| |
| <style name="LeanbackPreference.DialogPreference.EditTextPreference"> |
| <item name="android:dialogLayout">@layout/preference_dialog_edittext</item> |
| </style> |
| |
| </resources> |