| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2010 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="Theme.ActionBar" parent="@android:style/Widget.Material.ActionBar.Solid"> |
| <item name="android:contentInsetStart">@dimen/actionbar_contentInsetStart</item> |
| </style> |
| |
| <style name="ThemeOverlay.AlertDialog" parent="@android:style/ThemeOverlay.Material.Dialog.Alert"> |
| <item name="android:windowSoftInputMode">adjustResize</item> |
| </style> |
| |
| <style name="Theme.AlertDialog" parent="@*android:style/Theme.Material.Settings.Dialog.Alert"> |
| <item name="android:windowSoftInputMode">adjustResize</item> |
| |
| <!-- Redefine the ActionBar style for contentInsetStart --> |
| <item name="android:actionBarStyle">@style/Theme.ActionBar</item> |
| </style> |
| |
| <style name="PreferenceTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
| <item name="@android:preferenceStyle">@style/Preference</item> |
| <item name="@android:editTextPreferenceStyle">@style/EditTextPreference</item> |
| <item name="@dropdownPreferenceStyle">@style/Preference.DropDown.Material</item> |
| <item name="@android:preferenceFragmentStyle">@style/PreferenceFragmentStyle</item> |
| </style> |
| |
| <style name="Theme.SettingsBase" parent="@android:style/Theme.Material.Settings" /> |
| |
| |
| <style name="Theme.Settings" parent="Theme.SettingsBase"> |
| <item name="preferenceTheme">@style/PreferenceTheme</item> |
| <item name="@*android:preferenceHeaderPanelStyle">@style/PreferenceHeaderPanelSinglePane</item> |
| <item name="@*android:preferencePanelStyle">@style/PreferencePanelSinglePane</item> |
| <item name="@*android:preferenceListStyle">@style/PreferenceHeaderListSinglePane</item> |
| <item name="@*android:preferenceFragmentListStyle">@style/PreferenceFragmentListSinglePane</item> |
| <item name="@*android:preferenceFragmentPaddingSide">@dimen/settings_side_margin</item> |
| |
| <!-- Redefine the ActionBar style for contentInsetStart --> |
| <item name="android:actionBarStyle">@style/Theme.ActionBar</item> |
| <item name="@*android:actionBarSize">@dimen/actionbar_size</item> |
| |
| <item name="preferenceBackgroundColor">@drawable/preference_background</item> |
| |
| <!-- For all Alert Dialogs --> |
| <item name="android:alertDialogTheme">@style/Theme.AlertDialog</item> |
| </style> |
| |
| <style name="Theme.DialogWhenLarge" parent="@*android:style/Theme.Material.Settings.DialogWhenLarge"> |
| <!-- Redefine the ActionBar style for contentInsetStart --> |
| <item name="android:actionBarStyle">@style/Theme.ActionBar</item> |
| |
| <item name="preferenceBackgroundColor">@drawable/preference_background</item> |
| </style> |
| |
| </resources> |
| |