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:textColor">?android:attr/textColorPrimary</item> 82 </style> 83 84 <style name="TextAppearance.CryptKeeper_PasswordEntry" parent="android:TextAppearance.Material"> 85 <item name="android:gravity">center_horizontal</item> 86 <item name="android:background">@null</item> 87 <item name="android:textCursorDrawable">@null</item> 88 <item name="android:singleLine">true</item> 89 <item name="android:imeOptions">flagForceAscii|actionDone</item> 90 </style> 91 92 <style name="TallTitleBarTheme" parent="android:Theme.NoTitleBar"> 93 <item name="android:windowContentOverlay">@null</item> 94 </style> 95 96 <style name="Preference"> 97 <item name="android:layout">@layout/preference_material_settings</item> 98 </style> 99 100 <style name="SyncSwitchPreference" parent="Preference"> 101 <item name="android:widgetLayout">@layout/preference_widget_sync_toggle</item> 102 </style> 103 104 <style name="EditTextPreference" parent="@*android:style/Preference.Material.DialogPreference.EditTextPreference"> 105 <item name="android:dialogLayout">@layout/preference_dialog_edittext</item> 106 </style> 107 108 <style name="PreferenceHeaderPanelSinglePane"> 109 <item name="android:layout_marginStart">0dp</item> 110 <item name="android:layout_marginEnd">0dp</item> 111 <item name="android:background">@null</item> 112 </style> 113 114 <style name="PreferencePanelSinglePane" parent="@*android:style/PreferencePanel"> 115 <item name="android:layout_marginStart">0dp</item> 116 <item name="android:layout_marginEnd">0dp</item> 117 <item name="android:paddingStart">0dp</item> 118 <item name="android:paddingEnd">0dp</item> 119 <item name="android:background">@null</item> 120 <item name="android:scrollbarStyle">outsideOverlay</item> 121 </style> 122 123 <style name="PreferenceHeaderListSinglePane" parent="@*android:style/PreferenceHeaderList"> 124 <item name="android:paddingStart">@dimen/settings_side_margin</item> 125 <item name="android:paddingEnd">@dimen/settings_side_margin</item> 126 <item name="android:paddingTop">0dp</item> 127 <item name="android:paddingBottom">0dp</item> 128 <item name="android:layout_marginStart">0dp</item> 129 <item name="android:layout_marginEnd">0dp</item> 130 <item name="android:layout_marginTop">0dp</item> 131 <item name="android:layout_marginBottom">0dp</item> 132 <item name="android:scrollbarStyle">outsideOverlay</item> 133 </style> 134 135 <style name="PreferenceFragmentListSinglePane" parent="@*android:style/PreferenceFragmentList"> 136 <item name="android:paddingStart">@dimen/settings_side_margin</item> 137 <item name="android:paddingEnd">@dimen/settings_side_margin</item> 138 <item name="android:layout_marginStart">0dp</item> 139 <item name="android:layout_marginEnd">0dp</item> 140 <item name="android:scrollbarStyle">outsideOverlay</item> 141 </style> 142 143 <style name="SettingsPreferenceHeaderPanel" parent="@*android:style/PreferenceHeaderPanel"> 144 </style> 145 146 <style name="SettingsPreferenceHeaderList" parent="@*android:style/PreferenceHeaderList"> 147 </style> 148 149 <style name="TrustedCredentialsList"> 150 <item name="android:layout_width">fill_parent</item> 151 <item name="android:layout_height">fill_parent</item> 152 <item name="android:scrollbarStyle">outsideOverlay</item> 153 </style> 154 155 <style name="PreferenceFragmentStyle" parent="@*android:style/PreferenceFragment.Material"> 156 <item name="android:layout">@layout/preference_list_fragment</item> 157 </style> 158 159 <style name="VertDivider"> 160 <item name="android:layout_width">@dimen/vert_divider_width</item> 161 <item name="android:layout_height">fill_parent</item> 162 <item name="android:background">@color/divider_color</item> 163 <item name="android:focusable">false</item> 164 <item name="android:clickable">false</item> 165 </style> 166 167 <style name="TextAppearance.SetupWizardDescription" parent="@android:style/TextAppearance.Material.Subhead"> 168 </style> 169 170 <style name="TrimmedHorizontalProgressBar" parent="android:Widget.Material.ProgressBar.Horizontal"> 171 <item name="android:indeterminateDrawable">@drawable/progress_indeterminate_horizontal_material_trimmed</item> 172 <item name="android:minHeight">3dip</item> 173 <item name="android:maxHeight">3dip</item> 174 </style> 175 176 <style name="bt_item"> 177 <item name="android:layout_width">match_parent</item> 178 <item name="android:layout_height">wrap_content</item> 179 <item name="android:layout_marginTop">8dip</item> 180 <item name="android:layout_marginStart">16dip</item> 181 <item name="android:layout_marginEnd">16dip</item> 182 <item name="android:orientation">vertical</item> 183 <item name="android:gravity">start</item> 184 </style> 185 186 <style name="bt_item_label"> 187 <item name="android:layout_width">wrap_content</item> 188 <item name="android:layout_height">wrap_content</item> 189 <item name="android:textSize">14sp</item> 190 <item name="android:textAlignment">viewStart</item> 191 </style> 192 193 <style name="bt_item_edit_content"> 194 <item name="android:layout_width">match_parent</item> 195 <item name="android:layout_height">wrap_content</item> 196 <item name="android:textSize">18sp</item> 197 </style> 198 199 <style name="wifi_item"> 200 <item name="android:layout_marginTop">8dip</item> 201 <item name="android:layout_marginStart">8dip</item> 202 <item name="android:layout_marginEnd">8dip</item> 203 <item name="android:paddingStart">8dip</item> 204 <item name="android:paddingEnd">8dip</item> 205 <item name="android:orientation">vertical</item> 206 <item name="android:gravity">start</item> 207 </style> 208 209 <style name="wifi_item_label"> 210 <item name="android:paddingStart">8dip</item> 211 <item name="android:textSize">14sp</item> 212 <item name="android:textAlignment">viewStart</item> 213 <item name="android:textAppearance">@android:style/TextAppearance.Material.Body1</item> 214 <item name="android:textColor">?android:attr/textColorSecondary</item> 215 </style> 216 217 <style name="wifi_item_warning"> 218 <item name="android:paddingStart">8dip</item> 219 <item name="android:textSize">12sp</item> 220 <item name="android:textAlignment">viewStart</item> 221 <item name="android:textAppearance">@android:style/TextAppearance.Material.Body1</item> 222 <item name="android:textColor">@*android:color/system_error</item> 223 </style> 224 225 <style name="wifi_item_content"> 226 <item name="android:textAlignment">viewStart</item> 227 <item name="android:textAppearance">@android:style/TextAppearance.Material.Subhead</item> 228 <item name="android:textColor">?android:attr/textColorPrimary</item> 229 </style> 230 231 <style name="wifi_item_spinner" parent="wifi_item_content"> 232 <item name="android:minHeight">48dp</item> 233 </style> 234 235 <style name="wifi_advanced_toggle" parent="wifi_item_content"> 236 <item name="android:background">@null</item> 237 <item name="android:button">@null</item> 238 <item name="android:drawableEnd">@drawable/ic_expand</item> 239 <item name="android:paddingStart">8dip</item> 240 <item name="android:textSize">14sp</item> 241 </style> 242 243 <style name="wifi_item_edit_content"> 244 <item name="android:paddingStart">4dip</item> 245 <item name="android:layout_marginStart">4dip</item> 246 <item name="android:textSize">18sp</item> 247 </style> 248 249 <style name="wifi_section"> 250 <item name="android:orientation">vertical</item> 251 </style> 252 253 <style name="setup_wizard_button"> 254 <item name="android:layout_width">wrap_content</item> 255 <item name="android:layout_height">wrap_content</item> 256 </style> 257 258 <style name="ConfirmDeviceCredentialsAnimationStyle" parent="@*android:style/Animation.Material.Activity"> 259 <item name="android:activityOpenEnterAnimation">@anim/confirm_credential_open_enter</item> 260 <item name="android:activityOpenExitAnimation">@anim/confirm_credential_open_exit</item> 261 </style> 262 263 <style name="Transparent"> 264 <item name="android:alertDialogTheme">@style/Theme.AlertDialog</item> 265 <item name="android:windowBackground">@android:color/transparent</item> 266 <item name="android:windowNoTitle">true</item> 267 <item name="android:windowIsFloating">true</item> 268 </style> 269 270 <style name="CryptKeeperBlankTheme" parent="@android:style/Theme.Material.NoActionBar"> 271 <item name="android:background">#ff000000</item> 272 </style> 273 274 <style name="SecurityPreferenceButtonContainer" parent="@android:style/Widget.Material.Light.SegmentedButton"> 275 <item name="android:layout_width">match_parent</item> 276 <item name="android:layout_height">wrap_content</item> 277 <item name="android:weightSum">2</item> 278 <item name="android:dividerPadding">8dip</item> 279 </style> 280 281 <style name="SecurityPreferenceButton" parent="@android:style/Widget.Material.Light.Button.Borderless"> 282 <item name="android:layout_width">0dip</item> 283 <item name="android:layout_weight">1</item> 284 <item name="android:layout_height">wrap_content</item> 285 <item name="android:ellipsize">marquee</item> 286 <item name="android:singleLine">true</item> 287 </style> 288 289 <style name="SetupWizardButton.Negative" parent="@android:style/Widget.Material.Button.Borderless.Colored"> 290 <item name="android:minWidth">0dp</item> 291 <item name="android:textAllCaps">false</item> 292 <item name="android:theme">@style/AccentColorHighlightBorderlessButton</item> 293 </style> 294 295 <style name="SetupWizardButton.Positive" parent="@android:style/Widget.Material.Button.Colored" /> 296 297 <style name="AccentColorHighlightBorderlessButton"> 298 <item name="android:colorControlHighlight">?android:attr/colorAccent</item> 299 </style> 300 301 <style name="vpn_label"> 302 <item name="android:layout_width">match_parent</item> 303 <item name="android:layout_height">wrap_content</item> 304 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 305 </style> 306 307 <style name="vpn_value"> 308 <item name="android:layout_width">match_parent</item> 309 <item name="android:layout_height">wrap_content</item> 310 <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> 311 <item name="android:singleLine">true</item> 312 </style> 313 314 <style name="TextAppearance.PagerTabs" parent="@android:style/TextAppearance.Material.Widget.TabWidget" /> 315 316 <style name="KeyguardAppWidgetItem"> 317 <item name="android:textSize">18sp</item> 318 </style> 319 320 <!-- Scrollbar style OUTSIDE_OVERLAY --> 321 <integer name="preference_scrollbar_style">33554432</integer> 322 323 <style name="ApnPreference"> 324 <item name="android:layout">@layout/apn_preference_layout</item> 325 </style> 326 327 <style name="AppListSwitchPreference" parent="@*android:style/Preference.Material.DialogPreference"> 328 <item name="android:widgetLayout">@*android:layout/preference_widget_switch</item> 329 </style> 330 331 <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Material.Medium" /> 332 <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Material.Small" /> 333 <style name="TextAppearance.Switch" parent="@android:style/TextAppearance.Material.Title" /> 334 335 <style name="TextAppearance.CategoryTitle" parent="@android:style/TextAppearance.Material.Body2"> 336 <item name="android:textColor">?android:attr/textColorSecondary</item> 337 </style> 338 339 <style name="TextAppearance.TileTitle" parent="@android:style/TextAppearance.Material.Subhead" /> 340 <style name="TextAppearance.TileSubTitle" parent="@android:style/TextAppearance.Material.Body1" /> 341 <style name="TextAppearance.RecentsTitle" parent="TextAppearance.CategoryTitle" /> 342 <style name="TextAppearance.ResultTitle" parent="TextAppearance.CategoryTitle" /> 343 344 <style name="TextAppearance.SuggestionTitle" 345 parent="@android:style/TextAppearance.Material.Subhead"> 346 <item name="android:fontFamily">sans-serif-medium</item> 347 <item name="android:textSize">14sp</item> 348 </style> 349 350 <style name="TextAppearance.FingerprintMessage" 351 parent="android:TextAppearance.Material.Subhead"> 352 <item name="android:lineSpacingExtra">@dimen/suw_description_line_spacing_extra</item> 353 </style> 354 355 <style name="Button.FingerprintButton" 356 parent="android:Widget.Material.Button.Borderless"> 357 <item name="android:lineSpacingExtra">@dimen/suw_description_line_spacing_extra</item> 358 <item name="android:textColor">?android:attr/colorAccent</item> 359 </style> 360 361 <style name="TextAppearance.FingerprintLink" 362 parent="TextAppearance.FingerprintMessage"> 363 <item name="android:textColor">?android:attr/colorAccent</item> 364 </style> 365 366 <style name="TextAppearance.FingerprintErrorText" 367 parent="android:TextAppearance.Material.Body1"> 368 <item name="android:textColor">@*android:color/system_error</item> 369 </style> 370 371 <style name="TextAppearance.SupportTitle" 372 parent="@android:style/TextAppearance.Material.Subhead"> 373 <item name="android:textColor">?android:attr/colorAccent</item> 374 <item name="android:textSize">24sp</item> 375 </style> 376 377 <style name="TextAppearance.SupportSummary" parent="TextAppearance.CategoryTitle"/> 378 379 <style name="SupportPrimaryButton" parent="android:Widget.Material.Button.Colored"/> 380 381 <style name="SupportSecondaryButton" 382 parent="android:Widget.Material.Button.Borderless.Colored"> 383 <item name="android:textSize">12sp</item> 384 </style> 385 386 <style name="FingerprintLayoutTheme"> 387 <item name="android:icon">@drawable/ic_fingerprint_header</item> 388 </style> 389 390 <style name="TextAppearance.ConfirmDeviceCredentialsErrorText" 391 parent="android:TextAppearance.Material.Body1"> 392 <item name="android:textColor">@*android:color/system_error</item> 393 </style> 394 395 <style name="TextAppearance.Small.SwitchBar"> 396 <item name="android:textColor">?android:attr/textColorPrimary</item> 397 <item name="android:textStyle">normal</item> 398 </style> 399 400 <style name="TextAppearance.RemoveDialogContent" parent="@android:style/TextAppearance.Material"> 401 <item name="android:textSize">16sp</item> 402 <item name="android:textColor">?android:attr/textColorPrimary</item> 403 </style> 404 405 <style name="SetupWizardStorageStyle" parent="@style/SuwThemeMaterial.Light"> 406 <item name="android:colorAccent">#ff009688</item> 407 </style> 408 409 <style name="PreviewPagerPageIndicator"> 410 <item name="dotGap">8dp</item> 411 <item name="pageIndicatorColor">?android:attr/colorControlNormal</item> 412 <item name="currentPageIndicatorColor">?android:attr/colorControlActivated</item> 413 </style> 414 415 <style name="LanguageCheckboxAndLabel"> 416 <item name="android:layout_width">match_parent</item> 417 <item name="android:layout_height">wrap_content</item> 418 <item name="android:layout_marginStart">?android:attr/listPreferredItemPaddingStart</item> 419 <item name="android:minHeight">?android:attr/listPreferredItemHeight</item> 420 <item name="android:textAppearance">?android:attr/textAppearanceListItem</item> 421 <item name="android:gravity">center_vertical</item> 422 </style> 423 424 <style name="RedactionItemAndLabel"> 425 <item name="android:layout_marginTop">@dimen/redaction_vertical_margins</item> 426 <item name="android:paddingStart">@dimen/redaction_padding_start</item> 427 <item name="android:textAppearance">@android:style/TextAppearance.Material.Subhead</item> 428 </style> 429 430 <style name="SupportEscalationCard"> 431 <item name="android:background">@color/card_background_grey</item> 432 <item name="android:gravity">center</item> 433 <item name="android:minHeight">368dp</item> 434 <item name="android:paddingStart">56dp</item> 435 <item name="android:paddingEnd">56dp</item> 436 </style> 437 438 </resources> 439