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">@color/warning</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="vpn_label"> 290 <item name="android:layout_width">match_parent</item> 291 <item name="android:layout_height">wrap_content</item> 292 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 293 </style> 294 295 <style name="vpn_value"> 296 <item name="android:layout_width">match_parent</item> 297 <item name="android:layout_height">wrap_content</item> 298 <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> 299 <item name="android:singleLine">true</item> 300 </style> 301 302 <style name="TextAppearance.PagerTabs" parent="@android:style/TextAppearance.Material.Widget.TabWidget" /> 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 name="TextAppearance.Small" parent="@android:style/TextAppearance.Material.Small" /> 321 <style name="TextAppearance.Switch" parent="@android:style/TextAppearance.Material.Title" /> 322 323 <style name="TextAppearance.CategoryTitle" parent="@android:style/TextAppearance.Material.Body2"> 324 <item name="android:textColor">?android:attr/textColorSecondary</item> 325 </style> 326 327 <style name="TextAppearance.TileTitle" parent="@android:style/TextAppearance.Material.Subhead" /> 328 <style name="TextAppearance.TileSubTitle" parent="@android:style/TextAppearance.Material.Body1" /> 329 <style name="TextAppearance.RecentsTitle" parent="TextAppearance.CategoryTitle" /> 330 <style name="TextAppearance.ResultTitle" parent="TextAppearance.CategoryTitle" /> 331 332 <style name="TextAppearance.FingerprintMessage" 333 parent="android:TextAppearance.Material.Subhead"> 334 <item name="android:lineSpacingExtra">@dimen/suw_description_line_spacing_extra</item> 335 </style> 336 337 <style name="Button.FingerprintButton" 338 parent="android:Widget.Material.Button.Borderless"> 339 <item name="android:lineSpacingExtra">@dimen/suw_description_line_spacing_extra</item> 340 <item name="android:textColor">?android:attr/colorAccent</item> 341 </style> 342 343 <style name="TextAppearance.FingerprintLink" 344 parent="TextAppearance.FingerprintMessage"> 345 <item name="android:textColor">?android:attr/colorAccent</item> 346 </style> 347 348 <style name="TextAppearance.FingerprintErrorText" 349 parent="android:TextAppearance.Material.Body1"> 350 <item name="android:textColor">@color/warning</item> 351 </style> 352 353 <style name="FingerprintLayoutTheme"> 354 <item name="suwBackground">@drawable/fp_enrollment_header</item> 355 <item name="suwIllustrationAspectRatio">@dimen/fingerprint_illustration_aspect_ratio</item> 356 <item name="suwDecorPaddingTop">@dimen/fingerprint_decor_padding_top</item> 357 </style> 358 359 <style name="SetupWizardFingerprintLayoutTheme"> 360 <item name="suwBackgroundTile">@drawable/setup_illustration_tile</item> 361 <item name="suwIllustration">@drawable/setup_illustration_lock_screen</item> 362 <item name="suwIllustrationHorizontalTile">@drawable/setup_illustration_horizontal_tile</item> 363 </style> 364 365 <style name="TextAppearance.ConfirmDeviceCredentialsErrorText" 366 parent="android:TextAppearance.Material.Body1"> 367 <item name="android:textColor">@color/warning</item> 368 </style> 369 370 <style name="TextAppearance.Small.SwitchBar"> 371 <item name="android:textColor">?android:attr/textColorPrimary</item> 372 <item name="android:textStyle">normal</item> 373 </style> 374 375 <style name="TextAppearance.RemoveDialogContent" parent="@android:style/TextAppearance.Material"> 376 <item name="android:textSize">16sp</item> 377 <item name="android:textColor">?android:attr/textColorPrimary</item> 378 </style> 379 380 <style name="SetupWizardStorageStyle" parent="@style/SuwThemeMaterial.Light"> 381 <item name="android:colorAccent">#ff009688</item> 382 </style> 383 384 <style name="PreviewPagerPageIndicator"> 385 <item name="dotGap">8dp</item> 386 <item name="pageIndicatorColor">?android:attr/colorControlNormal</item> 387 <item name="currentPageIndicatorColor">?android:attr/colorControlActivated</item> 388 </style> 389 390 <style name="LanguageCheckboxAndLabel"> 391 <item name="android:layout_width">match_parent</item> 392 <item name="android:layout_height">wrap_content</item> 393 <item name="android:layout_marginStart">?android:attr/listPreferredItemPaddingStart</item> 394 <item name="android:minHeight">?android:attr/listPreferredItemHeight</item> 395 <item name="android:textAppearance">?android:attr/textAppearanceListItem</item> 396 <item name="android:gravity">center_vertical</item> 397 </style> 398 399 <style name="RedactionItemAndLabel"> 400 <item name="android:layout_marginTop">@dimen/redaction_vertical_margins</item> 401 <item name="android:paddingStart">@dimen/redaction_padding_start</item> 402 <item name="android:textAppearance">@android:style/TextAppearance.Material.Subhead</item> 403 </style> 404 405 </resources> 406