blob: 82764fe73a477ce5a06a46d6cec6ec5d16580d2e [file] [log] [blame]
Steve Kondik66dbbd52016-09-03 05:15:27 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Steve Kondik03b56502016-09-10 17:17:25 -07007
Steve Kondik66dbbd52016-09-03 05:15:27 -07008 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
Steve Kondik03b56502016-09-10 17:17:25 -070015-->
Steve Kondik66dbbd52016-09-03 05:15:27 -070016
17<resources>
Steve Kondik03b56502016-09-10 17:17:25 -070018
Steve Kondik03b56502016-09-10 17:17:25 -070019 <style name="TextAppearance" parent="android:TextAppearance.Material">
20 </style>
21
22 <style name="TextAppearance.info_label">
23 <item name="android:textSize">14sp</item>
24 <item name="android:textStyle">bold</item>
25 </style>
26
27 <style name="TextAppearance.info_small">
28 <item name="android:textSize">12sp</item>
29 <item name="android:textStyle">normal</item>
30 </style>
31
32 <style name="TextAppearance.info_value">
33 <item name="android:textSize">14sp</item>
34 <item name="android:textStyle">normal</item>
35 </style>
36
Ethan Chen10906822017-10-06 00:15:00 -070037 <style name="DialogPreferenceStyle" parent="@*android:style/Preference.DeviceDefault.DialogPreference">
38 <item name="allowDividerAbove">false</item>
39 <item name="allowDividerBelow">true</item>
Steve Kondik27cfe782016-09-06 04:33:28 -070040 </style>
41
Ethan Chen10906822017-10-06 00:15:00 -070042 <style name="PreferenceFragmentStyle" parent="@*android:style/PreferenceFragment.Material">
43 <item name="allowDividerAfterLastItem">false</item>
44 <item name="android:layout">@layout/preference_list_fragment</item>
45 </style>
46
Volodymyr Zhdanov45f1b062021-10-28 12:22:58 +030047 <style name="PreferenceScreenStyle" parent="@*android:style/Preference.DeviceDefault.PreferenceScreen">
Ethan Chen10906822017-10-06 00:15:00 -070048 <item name="allowDividerAbove">false</item>
49 <item name="allowDividerBelow">true</item>
Ethan Chen10906822017-10-06 00:15:00 -070050 </style>
51
Volodymyr Zhdanov45f1b062021-10-28 12:22:58 +030052 <style name="PreferenceTheme" parent="@style/PreferenceTheme.SettingsLib">
53 <item name="dialogPreferenceStyle">@style/DialogPreferenceStyle</item>
54 <item name="preferenceScreenStyle">@style/PreferenceScreenStyle</item>
Ethan Chen10906822017-10-06 00:15:00 -070055 </style>
56
Steve Kondik66dbbd52016-09-03 05:15:27 -070057 <style name="PreferenceHeaderPanelSinglePane">
58 <item name="android:layout_marginStart">0dp</item>
59 <item name="android:layout_marginEnd">0dp</item>
60 <item name="android:background">@null</item>
61 </style>
62
Steve Kondik03b56502016-09-10 17:17:25 -070063 <style name="PreferencePanelSinglePane" parent="@*android:style/PreferencePanel">
Steve Kondik66dbbd52016-09-03 05:15:27 -070064 <item name="android:layout_marginStart">0dp</item>
65 <item name="android:layout_marginEnd">0dp</item>
66 <item name="android:paddingStart">0dp</item>
67 <item name="android:paddingEnd">0dp</item>
68 <item name="android:background">@null</item>
69 <item name="android:scrollbarStyle">outsideOverlay</item>
70 </style>
71
72 <style name="PreferenceHeaderListSinglePane" parent="@*android:style/PreferenceHeaderList">
73 <item name="android:paddingStart">@dimen/settings_side_margin</item>
74 <item name="android:paddingEnd">@dimen/settings_side_margin</item>
75 <item name="android:paddingTop">0dp</item>
76 <item name="android:paddingBottom">0dp</item>
77 <item name="android:layout_marginStart">0dp</item>
78 <item name="android:layout_marginEnd">0dp</item>
79 <item name="android:layout_marginTop">0dp</item>
80 <item name="android:layout_marginBottom">0dp</item>
81 <item name="android:scrollbarStyle">outsideOverlay</item>
82 </style>
83
84 <style name="PreferenceFragmentListSinglePane" parent="@*android:style/PreferenceFragmentList">
85 <item name="android:paddingStart">@dimen/settings_side_margin</item>
86 <item name="android:paddingEnd">@dimen/settings_side_margin</item>
87 <item name="android:layout_marginStart">0dp</item>
88 <item name="android:layout_marginEnd">0dp</item>
89 <item name="android:scrollbarStyle">outsideOverlay</item>
90 </style>
91
Steve Kondik03b56502016-09-10 17:17:25 -070092 <style name="TextAppearance.PagerTabs" parent="@android:style/TextAppearance.Material.Widget.TabWidget" />
93
Steve Kondik27cfe782016-09-06 04:33:28 -070094 <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Material.Medium" />
95 <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Material.Small" />
96 <style name="TextAppearance.Switch" parent="@android:style/TextAppearance.Material.Title" />
97
LuK13371525b192019-09-12 03:04:51 +020098 <style name="TextAppearance.CategoryTitle"
99 parent="@*android:style/TextAppearance.DeviceDefault.Body2">
100 <item name="android:textAllCaps">true</item>
101 <item name="android:textSize">11sp</item>
102 <!-- 0.8 Spacing, 0.8/11 = 0.072727273 -->
103 <item name="android:letterSpacing">0.072727273</item>
104 </style>
105
Steve Kondik03b56502016-09-10 17:17:25 -0700106 <style name="TextAppearance.Small.SwitchBar">
107 <item name="android:textColor">?android:attr/textColorPrimary</item>
108 <item name="android:textStyle">normal</item>
109 </style>
110
Steve Kondik03b56502016-09-10 17:17:25 -0700111 <style name="ProfilesPreferenceStyle">
112 <item name="android:layout">@layout/preference_profiles</item>
113 <item name="android:widgetLayout">@layout/preference_profiles_widget</item>
114 </style>
115
Joey8d100d32018-04-07 14:12:34 +0200116 <style name="OnBoardingStyle" parent="Theme.AppCompat.DayNight">
117 <item name="colorAccent">#167c80</item>
118 <item name="windowActionBar">false</item>
119 <item name="windowNoTitle">true</item>
120 </style>
121
Steve Kondik66dbbd52016-09-03 05:15:27 -0700122</resources>