1<?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
7
8          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.
15-->
16
17<resources>
18
19    <style name="info_label">
20        <item name="android:layout_height">wrap_content</item>
21        <item name="android:layout_width">wrap_content</item>
22        <item name="android:textAppearance">@style/TextAppearance.info_label</item>
23        <item name="android:paddingEnd">4dip</item>
24    </style>
25
26    <style name="info_value">
27        <item name="android:layout_height">wrap_content</item>
28        <item name="android:layout_width">wrap_content</item>
29        <item name="android:textAppearance">@style/TextAppearance.info_value</item>
30    </style>
31
32    <style name="info_small">
33        <item name="android:layout_height">wrap_content</item>
34        <item name="android:layout_width">wrap_content</item>
35        <item name="android:textAppearance">@style/TextAppearance.info_small</item>
36    </style>
37
38    <style name="info_layout">
39        <item name="android:orientation">vertical</item>
40        <item name="android:paddingStart">10dip</item>
41        <item name="android:paddingTop">10dip</item>
42        <item name="android:paddingEnd">10dip</item>
43        <item name="android:paddingBottom">10dip</item>
44        <item name="android:layout_width">match_parent</item>
45        <item name="android:layout_height">match_parent</item>
46    </style>
47
48    <style name="entry_layout">
49        <item name="android:orientation">horizontal</item>
50        <item name="android:layout_width">wrap_content</item>
51        <item name="android:layout_height">wrap_content</item>
52    </style>
53
54    <style name="form_value">
55        <item name="android:layout_height">wrap_content</item>
56        <item name="android:layout_width">match_parent</item>
57    </style>
58
59
60    <style name="TextAppearance" parent="android:TextAppearance.Material">
61    </style>
62
63    <style name="TextAppearance.info_label">
64        <item name="android:textSize">14sp</item>
65        <item name="android:textStyle">bold</item>
66    </style>
67
68    <style name="TextAppearance.info_small">
69        <item name="android:textSize">12sp</item>
70        <item name="android:textStyle">normal</item>
71    </style>
72
73    <style name="TextAppearance.info_value">
74        <item name="android:textSize">14sp</item>
75        <item name="android:textStyle">normal</item>
76    </style>
77
78    <style name="TextAppearance.PasswordEntry" parent="android:TextAppearance.Material">
79        <item name="android:gravity">center</item>
80        <item name="android:singleLine">true</item>
81        <item name="android:textStyle">bold</item>
82        <item name="android:textColor">?android:attr/textColorPrimary</item>
83    </style>
84
85    <style name="TextAppearance.CryptKeeper_PasswordEntry" parent="android:TextAppearance.Material">
86        <item name="android:textSize">36sp</item>
87        <item name="android:gravity">center_horizontal</item>
88        <item name="android:background">@null</item>
89        <item name="android:textCursorDrawable">@null</item>
90        <item name="android:singleLine">true</item>
91        <item name="android:imeOptions">flagForceAscii|actionDone</item>
92    </style>
93
94    <style name="TallTitleBarTheme" parent="android:Theme.NoTitleBar">
95        <item name="android:windowContentOverlay">@null</item>
96    </style>
97
98    <style name="PreferenceHeaderPanelSinglePane">
99        <item name="android:layout_marginStart">0dp</item>
100        <item name="android:layout_marginEnd">0dp</item>
101        <item name="android:background">@null</item>
102    </style>
103
104    <style name="PreferencePanelSinglePane" parent="@*android:style/PreferencePanel">
105        <item name="android:layout_marginStart">0dp</item>
106        <item name="android:layout_marginEnd">0dp</item>
107        <item name="android:paddingStart">0dp</item>
108        <item name="android:paddingEnd">0dp</item>
109        <item name="android:background">@null</item>
110        <item name="android:scrollbarStyle">outsideOverlay</item>
111    </style>
112
113    <style name="PreferenceHeaderListSinglePane" parent="@*android:style/PreferenceHeaderList">
114        <item name="android:paddingStart">@dimen/settings_side_margin</item>
115        <item name="android:paddingEnd">@dimen/settings_side_margin</item>
116        <item name="android:paddingTop">0dp</item>
117        <item name="android:paddingBottom">0dp</item>
118        <item name="android:layout_marginStart">0dp</item>
119        <item name="android:layout_marginEnd">0dp</item>
120        <item name="android:layout_marginTop">0dp</item>
121        <item name="android:layout_marginBottom">0dp</item>
122        <item name="android:scrollbarStyle">outsideOverlay</item>
123    </style>
124
125    <style name="PreferenceFragmentListSinglePane" parent="@*android:style/PreferenceFragmentList">
126        <item name="android:paddingStart">@dimen/settings_side_margin</item>
127        <item name="android:paddingEnd">@dimen/settings_side_margin</item>
128        <item name="android:layout_marginStart">0dp</item>
129        <item name="android:layout_marginEnd">0dp</item>
130        <item name="android:scrollbarStyle">outsideOverlay</item>
131    </style>
132
133    <style name="SettingsPreferenceHeaderPanel" parent="@*android:style/PreferenceHeaderPanel">
134    </style>
135
136    <style name="SettingsPreferenceHeaderList" parent="@*android:style/PreferenceHeaderList">
137    </style>
138
139    <style name="PreferenceFragmentStyle" parent="@*android:style/PreferenceFragment">
140        <item name="android:layout">@layout/preference_list_fragment</item>
141    </style>
142
143    <style name="VertDivider">
144        <item name="android:layout_width">@dimen/vert_divider_width</item>
145        <item name="android:layout_height">fill_parent</item>
146        <item name="android:background">@color/divider_color</item>
147        <item name="android:focusable">false</item>
148        <item name="android:clickable">false</item>
149    </style>
150
151    <!-- We'd like to have this as 16dip hight including paddingTop/paddingBottom to
152         be consistent with ProgressBar -->
153    <style name="TopDivider">
154        <item name="android:layout_width">match_parent</item>
155        <item name="android:layout_height">@dimen/divider_height</item>
156        <item name="android:background">?attr/setup_divider_color</item>
157        <item name="android:focusable">false</item>
158        <item name="android:clickable">false</item>
159        <item name="android:layout_marginTop">@dimen/divider_margin_top</item>
160        <item name="android:layout_marginBottom">@dimen/divider_margin_bottom</item>
161    </style>
162
163    <style name="SetupTitle">
164        <item name="android:layout_marginBottom">@dimen/setup_title_margin_bottom</item>
165        <item name="android:layout_marginEnd">@dimen/setup_wizard_margin_sides</item>
166        <item name="android:layout_marginStart">@dimen/setup_wizard_margin_sides</item>
167        <item name="android:clickable">false</item>
168        <item name="android:fontFamily">sans-serif</item>
169        <item name="android:lineSpacingExtra">@dimen/setup_title_line_spacing_extra</item>
170        <item name="android:longClickable">false</item>
171        <item name="android:textColor">@android:color/white</item>
172        <item name="android:textSize">@dimen/setup_title_size</item>
173        <item name="android:paddingBottom">@dimen/setup_title_padding_bottom</item>
174        <item name="android:paddingTop">@dimen/setup_title_padding_top</item>
175    </style>
176
177    <!-- Alternate title style used for some tablet layouts -->
178    <style name="SetupCardTitle">
179        <item name="android:paddingBottom">@dimen/setup_wizard_card_title_padding_bottom</item>
180        <item name="android:paddingEnd">@dimen/setup_wizard_card_title_padding_end</item>
181        <item name="android:paddingStart">@dimen/setup_wizard_card_title_padding_start</item>
182        <item name="android:paddingTop">@dimen/setup_wizard_card_title_padding_top</item>
183        <item name="android:textAppearance">@style/TextAppearance.SetupWizardCardTitle</item>
184    </style>
185
186    <style name="TextAppearance.SetupWizardCardTitle" parent="@android:style/TextAppearance.Material.Display1">
187        <item name="android:textColor">@android:color/white</item>
188    </style>
189
190    <style name="SetupAddWifiNetwork">
191        <item name="android:fontFamily">sans-serif-medium</item>
192        <item name="android:gravity">start|center_vertical</item>
193        <item name="android:paddingStart">@dimen/setup_list_no_icon_padding</item>
194        <item name="android:textAllCaps">true</item>
195        <item name="android:textAppearance">@android:style/TextAppearance.Small</item>
196        <item name="android:textColor">?android:attr/colorAccent</item>
197    </style>
198
199    <style name="bt_item">
200        <item name="android:layout_width">match_parent</item>
201        <item name="android:layout_height">wrap_content</item>
202        <item name="android:layout_marginTop">8dip</item>
203        <item name="android:layout_marginStart">16dip</item>
204        <item name="android:layout_marginEnd">16dip</item>
205        <item name="android:orientation">vertical</item>
206        <item name="android:gravity">start</item>
207    </style>
208
209    <style name="bt_item_label">
210        <item name="android:layout_width">wrap_content</item>
211        <item name="android:layout_height">wrap_content</item>
212        <item name="android:textSize">14sp</item>
213        <item name="android:textAlignment">viewStart</item>
214    </style>
215
216    <style name="bt_item_edit_content">
217        <item name="android:layout_width">match_parent</item>
218        <item name="android:layout_height">wrap_content</item>
219        <item name="android:textSize">18sp</item>
220    </style>
221
222    <style name="wifi_item">
223        <item name="android:layout_marginTop">8dip</item>
224        <item name="android:layout_marginStart">8dip</item>
225        <item name="android:layout_marginEnd">8dip</item>
226        <item name="android:paddingStart">8dip</item>
227        <item name="android:paddingEnd">8dip</item>
228        <item name="android:orientation">vertical</item>
229        <item name="android:gravity">start</item>
230    </style>
231
232    <style name="wifi_item_label">
233        <item name="android:paddingStart">8dip</item>
234        <item name="android:textSize">14sp</item>
235        <item name="android:textAlignment">viewStart</item>
236        <item name="android:textAppearance">@android:style/TextAppearance.Material.Body1</item>
237        <item name="android:textColor">?android:attr/textColorSecondary</item>
238    </style>
239
240    <style name="wifi_item_content">
241        <item name="android:textAlignment">viewStart</item>
242        <item name="android:textAppearance">@android:style/TextAppearance.Material.Subhead</item>
243        <item name="android:textColor">?android:attr/textColorPrimary</item>
244    </style>
245
246    <style name="wifi_item_edit_content">
247        <item name="android:paddingStart">4dip</item>
248        <item name="android:layout_marginStart">4dip</item>
249        <item name="android:textSize">18sp</item>
250    </style>
251
252    <style name="wifi_section">
253        <item name="android:orientation">vertical</item>
254    </style>
255
256    <style name="setup_wizard_button">
257        <item name="android:layout_width">wrap_content</item>
258        <item name="android:layout_height">wrap_content</item>
259    </style>
260
261    <style name="Transparent">
262        <item name="android:windowBackground">@android:color/transparent</item>
263        <item name="android:windowNoTitle">true</item>
264        <item name="android:windowIsFloating">true</item>
265    </style>
266
267    <style name="CryptKeeperBlankTheme" parent="@android:style/Theme.Material.NoActionBar">
268        <item name="android:background">#ff000000</item>
269    </style>
270
271    <style name="SecurityPreferenceButtonContainer" parent="@android:style/Widget.Material.Light.SegmentedButton">
272        <item name="android:layout_width">match_parent</item>
273        <item name="android:layout_height">wrap_content</item>
274        <item name="android:weightSum">2</item>
275        <item name="android:dividerPadding">8dip</item>
276    </style>
277
278    <style name="SecurityPreferenceButton" parent="@android:style/Widget.Material.Light.Button.Borderless">
279        <item name="android:layout_width">0dip</item>
280        <item name="android:layout_weight">1</item>
281        <item name="android:layout_height">wrap_content</item>
282        <item name="android:ellipsize">marquee</item>
283        <item name="android:singleLine">true</item>
284    </style>
285
286    <style name="vpn_label">
287        <item name="android:layout_width">match_parent</item>
288        <item name="android:layout_height">wrap_content</item>
289        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
290    </style>
291
292    <style name="vpn_value">
293        <item name="android:layout_width">match_parent</item>
294        <item name="android:layout_height">wrap_content</item>
295        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
296        <item name="android:singleLine">true</item>
297    </style>
298
299    <style name="TextAppearance.PagerTabs" parent="@android:style/TextAppearance.Material.Small">
300        <item name="android:textAllCaps">true</item>
301        <item name="android:textStyle">bold</item>
302    </style>
303
304    <style name="KeyguardAppWidgetItem">
305        <item name="android:textSize">18sp</item>
306    </style>
307
308    <!-- Scrollbar style OUTSIDE_OVERLAY -->
309    <integer name="preference_scrollbar_style">33554432</integer>
310
311    <style name="ApnPreference">
312        <item name="android:layout">@layout/apn_preference_layout</item>
313    </style>
314
315    <style name="AppListSwitchPreference" parent="@*android:style/Preference.Material.DialogPreference">
316        <item name="android:widgetLayout">@*android:layout/preference_widget_switch</item>
317    </style>
318
319    <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Material.Medium">
320    </style>
321
322    <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Material.Small">
323    </style>
324
325    <style name="TextAppearance.Switch" parent="TextAppearance.Medium">
326    </style>
327
328    <style name="TextAppearance.CategoryTitle" parent="@android:style/TextAppearance.Material.Small">
329        <item name="android:textColor">@color/theme_accent</item>
330        <item name="android:textStyle">bold</item>
331    </style>
332
333    <style name="TextAppearance.TileTitle" parent="@android:style/TextAppearance.Material.Medium">
334    </style>
335
336    <style name="TextAppearance.TileSubTitle" parent="@android:style/TextAppearance.Material.Small">
337    </style>
338
339    <style name="TextAppearance.RecentsTitle" parent="TextAppearance.CategoryTitle">
340    </style>
341
342    <style name="TextAppearance.ResultTitle" parent="TextAppearance.CategoryTitle">
343    </style>
344
345    <style name="Widget.TimePicker" parent="@*android:style/Widget.Material.Light.TimePicker">
346        <item name="@android:numbersBackgroundColor">@android:color/white</item>
347    </style>
348</resources>
349