1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (C) 2015 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<resources xmlns:tools="http://schemas.android.com/tools"> 19 20 <!-- General styles --> 21 22 <style name="SudThemeMaterial" parent="Theme.AppCompat.NoActionBar"> 23 <item name="android:colorBackground">@color/sud_color_background_dark</item> 24 <item name="android:indeterminateTint" tools:ignore="NewApi">@color/sud_progress_bar_color_dark</item> 25 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 26 <item name="android:indeterminateTintMode" tools:ignore="NewApi">src_in</item> 27 <item name="android:listPreferredItemHeight">@dimen/sud_items_preferred_height</item> 28 <item name="android:listPreferredItemPaddingEnd" tools:ignore="NewApi">?attr/sudMarginEnd</item> 29 <item name="android:listPreferredItemPaddingStart" tools:ignore="NewApi">?attr/sudMarginStart</item> 30 <item name="android:navigationBarColor" tools:ignore="NewApi">@android:color/black</item> 31 <item name="android:statusBarColor" tools:ignore="NewApi">@android:color/black</item> 32 <item name="android:textAppearanceListItemSmall" tools:ignore="NewApi">?attr/textAppearanceListItemSmall</item> 33 <item name="android:textColorLink">@color/sud_link_color_dark</item> 34 <item name="android:windowAnimationStyle">@style/Animation.SudWindowAnimation</item> 35 <item name="android:windowDisablePreview">true</item> 36 <item name="android:windowSoftInputMode">adjustResize</item> 37 38 <item name="colorAccent">@color/sud_color_accent_dark</item> 39 <item name="sudFillContentLayoutStyle">@style/SudFillContentLayout</item> 40 <item name="listPreferredItemPaddingLeft">?attr/sudMarginStart</item> 41 <item name="listPreferredItemPaddingRight">?attr/sudMarginEnd</item> 42 <item name="sudButtonAllCaps">true</item> 43 <item name="sudButtonFontFamily">sans-serif</item> 44 <item name="sudButtonHighlightAlpha">0.24</item> 45 <item name="sudCardBackground">@drawable/sud_card_bg_dark</item> 46 <item name="sudContentFramePaddingTop">@dimen/sud_content_frame_padding_top</item> 47 <item name="sudContentFramePaddingBottom">@dimen/sud_content_frame_padding_bottom</item> 48 <item name="sudLoadingContentFramePaddingTop">@dimen/sud_content_loading_frame_padding_top</item> 49 <item name="sudLoadingContentFramePaddingStart">@dimen/sud_content_loading_frame_padding_start</item> 50 <item name="sudLoadingContentFramePaddingEnd">@dimen/sud_content_loading_frame_padding_end</item> 51 <item name="sudLoadingContentFramePaddingBottom">@dimen/sud_content_loading_frame_padding_bottom</item> 52 <item name="sudDividerInsetEnd">0dp</item> 53 <item name="sudDividerInsetStart">@dimen/sud_items_icon_divider_inset</item> 54 <item name="sudDividerInsetStartNoIcon">@dimen/sud_items_text_divider_inset</item> 55 <item name="sudItemDescriptionStyle">@style/SudItemContainer.Description</item> 56 <item name="sudItemDescriptionTitleStyle">@style/SudItemTitle</item> 57 <item name="sudListItemIconColor">@color/sud_list_item_icon_color_dark</item> 58 <item name="sudMarginStart">@dimen/sud_layout_margin_sides</item> 59 <item name="sudMarginEnd">@dimen/sud_layout_margin_sides</item> 60 <item name="sudNavBarTheme">@style/SudNavBarThemeDark</item> 61 <item name="textAppearanceListItemSmall">@style/TextAppearance.SudItemSummary</item> 62 <item name="sudContentIllustrationMaxWidth">@dimen/sud_content_illustration_max_width</item> 63 <item name="sudContentIllustrationMaxHeight">@dimen/sud_content_illustration_max_height</item> 64 <item name="sudContentIllustrationPaddingTop">@dimen/sud_content_illustration_padding_vertical</item> 65 <item name="sudContentIllustrationPaddingBottom">@dimen/sud_content_illustration_padding_vertical</item> 66 <item name="sudLoadingHeaderHeight">@dimen/sud_loading_header_height</item> 67 </style> 68 69 <style name="SudThemeMaterial.Light" parent="Theme.AppCompat.Light.NoActionBar"> 70 <item name="android:colorBackground">@color/sud_color_background_light</item> 71 <item name="android:indeterminateTint" tools:ignore="NewApi">@color/sud_progress_bar_color_light</item> 72 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 73 <item name="android:indeterminateTintMode" tools:ignore="NewApi">src_in</item> 74 <item name="android:listPreferredItemHeight">@dimen/sud_items_preferred_height</item> 75 <item name="android:listPreferredItemPaddingEnd" tools:ignore="NewApi">?attr/sudMarginEnd</item> 76 <item name="android:listPreferredItemPaddingStart" tools:ignore="NewApi">?attr/sudMarginStart</item> 77 <item name="android:navigationBarColor" tools:ignore="NewApi">@android:color/black</item> 78 <item name="android:statusBarColor" tools:ignore="NewApi">@android:color/black</item> 79 <item name="android:textAppearanceListItemSmall" tools:ignore="NewApi">?attr/textAppearanceListItemSmall</item> 80 <item name="android:textColorLink">@color/sud_link_color_light</item> 81 <item name="android:windowAnimationStyle">@style/Animation.SudWindowAnimation</item> 82 <item name="android:windowDisablePreview">true</item> 83 <item name="android:windowSoftInputMode">adjustResize</item> 84 85 <item name="colorAccent">@color/sud_color_accent_light</item> 86 <item name="sudFillContentLayoutStyle">@style/SudFillContentLayout</item> 87 <item name="listPreferredItemPaddingLeft">?attr/sudMarginStart</item> 88 <item name="listPreferredItemPaddingRight">?attr/sudMarginEnd</item> 89 <item name="sudButtonAllCaps">true</item> 90 <item name="sudButtonFontFamily">sans-serif</item> 91 <item name="sudButtonHighlightAlpha">0.24</item> 92 <item name="sudCardBackground">@drawable/sud_card_bg_light</item> 93 <item name="sudContentFramePaddingTop">@dimen/sud_content_frame_padding_top</item> 94 <item name="sudContentFramePaddingBottom">@dimen/sud_content_frame_padding_bottom</item> 95 <item name="sudLoadingContentFramePaddingTop">@dimen/sud_content_loading_frame_padding_top</item> 96 <item name="sudLoadingContentFramePaddingStart">@dimen/sud_content_loading_frame_padding_start</item> 97 <item name="sudLoadingContentFramePaddingEnd">@dimen/sud_content_loading_frame_padding_end</item> 98 <item name="sudLoadingContentFramePaddingBottom">@dimen/sud_content_loading_frame_padding_bottom</item> 99 <item name="sudDividerInsetEnd">0dp</item> 100 <item name="sudDividerInsetStart">@dimen/sud_items_icon_divider_inset</item> 101 <item name="sudDividerInsetStartNoIcon">@dimen/sud_items_text_divider_inset</item> 102 <item name="sudItemDescriptionStyle">@style/SudItemContainer.Description</item> 103 <item name="sudItemDescriptionTitleStyle">@style/SudItemTitle</item> 104 <item name="sudListItemIconColor">@color/sud_list_item_icon_color_light</item> 105 <item name="sudMarginStart">@dimen/sud_layout_margin_sides</item> 106 <item name="sudMarginEnd">@dimen/sud_layout_margin_sides</item> 107 <item name="sudNavBarTheme">@style/SudNavBarThemeLight</item> 108 <item name="textAppearanceListItemSmall">@style/TextAppearance.SudItemSummary</item> 109 <item name="sudContentIllustrationMaxWidth">@dimen/sud_content_illustration_max_width</item> 110 <item name="sudContentIllustrationMaxHeight">@dimen/sud_content_illustration_max_height</item> 111 <item name="sudContentIllustrationPaddingTop">@dimen/sud_content_illustration_padding_vertical</item> 112 <item name="sudContentIllustrationPaddingBottom">@dimen/sud_content_illustration_padding_vertical</item> 113 <item name="sudLoadingHeaderHeight">@dimen/sud_loading_header_height</item> 114 </style> 115 116 <style name="SudBaseThemeGlif" parent="Theme.AppCompat.NoActionBar"> 117 <item name="android:colorBackground">@color/sud_glif_background_color_dark</item> 118 <item name="android:indeterminateTint" tools:ignore="NewApi">?attr/colorControlActivated</item> 119 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 120 <item name="android:indeterminateTintMode" tools:ignore="NewApi">src_in</item> 121 <item name="android:listPreferredItemHeight">@dimen/sud_items_preferred_height</item> 122 <item name="android:listPreferredItemPaddingEnd" tools:ignore="NewApi">?attr/sudMarginEnd</item> 123 <item name="android:listPreferredItemPaddingStart" tools:ignore="NewApi">?attr/sudMarginStart</item> 124 <item name="android:navigationBarColor" tools:ignore="NewApi">@android:color/black</item> 125 <item name="android:statusBarColor" tools:ignore="NewApi">@android:color/transparent</item> 126 <item name="android:textAppearanceListItemSmall" tools:ignore="NewApi">?attr/textAppearanceListItemSmall</item> 127 <item name="android:textColorLink">@color/sud_color_accent_glif_dark</item> 128 <item name="android:windowAnimationStyle">@style/Animation.SudWindowAnimation</item> 129 <item name="android:windowDisablePreview">true</item> 130 <item name="android:windowSoftInputMode">adjustResize</item> 131 <item name="android:colorError" tools:targetApi="26">@color/sud_color_error_text_dark</item> 132 <item name="android:scrollbarThumbVertical">?attr/sudScrollBarThumb</item> 133 134 <item name="colorAccent">@color/sud_color_accent_glif_dark</item> 135 <item name="colorPrimary">?attr/colorAccent</item> 136 <item name="listPreferredItemPaddingLeft">?attr/sudMarginStart</item> 137 <item name="listPreferredItemPaddingRight">?attr/sudMarginEnd</item> 138 <item name="sudButtonAllCaps">true</item> 139 <item name="sudButtonCornerRadius">@dimen/sud_glif_button_corner_radius</item> 140 <item name="sudButtonFontFamily">sans-serif-medium</item> 141 <item name="sudButtonHighlightAlpha">0.24</item> 142 <item name="sudColorPrimary">?attr/colorPrimary</item> 143 <item name="sudContentFramePaddingTop">@dimen/sud_content_frame_padding_top</item> 144 <item name="sudContentFramePaddingBottom">@dimen/sud_content_frame_padding_bottom</item> 145 <item name="sudLoadingContentFramePaddingTop">@dimen/sud_content_loading_frame_padding_top</item> 146 <item name="sudLoadingContentFramePaddingStart">@dimen/sud_content_loading_frame_padding_start</item> 147 <item name="sudLoadingContentFramePaddingEnd">@dimen/sud_content_loading_frame_padding_end</item> 148 <item name="sudLoadingContentFramePaddingBottom">@dimen/sud_content_loading_frame_padding_bottom</item> 149 <item name="sudFillContentLayoutStyle">@style/SudFillContentLayout</item> 150 <item name="sudDividerInsetEnd">0dp</item> 151 <item name="sudDividerInsetStart">@dimen/sud_items_glif_icon_divider_inset</item> 152 <item name="sudDividerInsetStartNoIcon">@dimen/sud_items_glif_text_divider_inset</item> 153 <item name="sudGlifHeaderGravity">start</item> 154 <item name="sudGlifSubtitleGravity">start</item> 155 <item name="sucGlifHeaderMarginTop">@dimen/sud_glif_header_title_margin_top</item> 156 <item name="sudGlifDescriptionMarginTop">@dimen/sud_glif_description_margin_top</item> 157 <item name="sucGlifHeaderMarginBottom">@dimen/sud_glif_header_title_margin_bottom</item> 158 <item name="sudGlifDescriptionMarginBottom">@dimen/sud_glif_description_margin_bottom</item> 159 <item name="sucHeaderContainerMarginBottom">@dimen/sud_header_container_margin_bottom</item> 160 <item name="sudGlifIconStyle">@style/SudGlifIcon</item> 161 <item name="sucGlifIconMarginTop">@dimen/sud_glif_icon_margin_top</item> 162 <item name="sudGlifIconSize">@dimen/sud_glif_icon_max_height</item> 163 <item name="sudItemDescriptionStyle">@style/SudItemContainer.Description.Glif</item> 164 <item name="sudItemDescriptionTitleStyle">@style/SudItemTitle.GlifDescription</item> 165 <item name="sudListItemIconColor">@color/sud_list_item_icon_color_dark</item> 166 <item name="sudMarginStart">@dimen/sud_glif_margin_start</item> 167 <item name="sudMarginEnd">@dimen/sud_glif_margin_end</item> 168 <item name="sudScrollIndicators">bottom</item> 169 <item name="sudScrollBarThumb">@drawable/sud_scroll_bar_dark</item> 170 <item name="textAppearanceListItem">@style/TextAppearance.SudGlifItemTitle</item> 171 <item name="textAppearanceListItemSmall">@style/TextAppearance.SudGlifItemSummary</item> 172 <item name="sucFooterBarButtonFontFamily">?attr/sudButtonFontFamily</item> 173 <item name="sucFooterBarButtonCornerRadius">?attr/sudButtonCornerRadius</item> 174 <item name="sucFooterBarButtonAllCaps">?attr/sudButtonAllCaps</item> 175 <item name="sucFooterBarButtonColorControlHighlightRipple">?attr/colorAccent</item> 176 <item name="sucFooterBarButtonHighlightAlpha">?attr/sudButtonHighlightAlpha</item> 177 <item name="sucStatusBarBackground">?android:attr/colorBackground</item> 178 <item name="sucSystemNavBarBackgroundColor">@android:color/black</item> 179 <item name="sucFooterBarPaddingVertical">@dimen/sud_glif_footer_padding_vertical</item> 180 <item name="sucFooterBarPaddingStart">@dimen/sud_glif_footer_padding_start</item> 181 <item name="sucFooterBarPaddingEnd">@dimen/sud_glif_footer_padding_end</item> 182 <item name="sucFooterBarMinHeight">@dimen/sud_glif_footer_min_height</item> 183 <item name="sucFooterButtonPaddingStart">@dimen/sud_glif_button_padding</item> 184 <item name="sucFooterButtonPaddingEnd">@dimen/sud_glif_button_padding</item> 185 <item name="sudContentIllustrationMaxWidth">@dimen/sud_content_illustration_max_width</item> 186 <item name="sudContentIllustrationMaxHeight">@dimen/sud_content_illustration_max_height</item> 187 <item name="sudContentIllustrationPaddingTop">@dimen/sud_content_illustration_padding_vertical</item> 188 <item name="sudContentIllustrationPaddingBottom">@dimen/sud_content_illustration_padding_vertical</item> 189 <item name="sudLoadingHeaderHeight">@dimen/sud_loading_header_height</item> 190 </style> 191 <style name="SudThemeGlif" parent="SudBaseThemeGlif"/> 192 193 <style name="SudBaseThemeGlif.Light" parent="Theme.AppCompat.Light.NoActionBar"> 194 <item name="android:colorBackground">@color/sud_glif_background_color_light</item> 195 <item name="android:indeterminateTint" tools:ignore="NewApi">?attr/colorControlActivated</item> 196 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 197 <item name="android:indeterminateTintMode" tools:ignore="NewApi">src_in</item> 198 <item name="android:listPreferredItemHeight">@dimen/sud_items_preferred_height</item> 199 <item name="android:listPreferredItemPaddingEnd" tools:ignore="NewApi">?attr/sudMarginEnd</item> 200 <item name="android:listPreferredItemPaddingStart" tools:ignore="NewApi">?attr/sudMarginStart</item> 201 <item name="android:navigationBarColor" tools:ignore="NewApi">@android:color/black</item> 202 <item name="android:statusBarColor" tools:ignore="NewApi">@android:color/transparent</item> 203 <item name="android:textAppearanceListItemSmall" tools:ignore="NewApi">?attr/textAppearanceListItemSmall</item> 204 <item name="android:textColorLink">@color/sud_color_accent_glif_light</item> 205 <item name="android:windowAnimationStyle">@style/Animation.SudWindowAnimation</item> 206 <item name="android:windowDisablePreview">true</item> 207 <item name="android:windowSoftInputMode">adjustResize</item> 208 <item name="android:colorError" tools:targetApi="26">@color/sud_color_error_text_light</item> 209 <item name="android:scrollbarThumbVertical">?attr/sudScrollBarThumb</item> 210 211 <item name="colorAccent">@color/sud_color_accent_glif_light</item> 212 <item name="colorPrimary">?attr/colorAccent</item> 213 <item name="listPreferredItemPaddingLeft">?attr/sudMarginStart</item> 214 <item name="listPreferredItemPaddingRight">?attr/sudMarginEnd</item> 215 <item name="sudButtonAllCaps">true</item> 216 <item name="sudButtonCornerRadius">@dimen/sud_glif_button_corner_radius</item> 217 <item name="sudButtonFontFamily">sans-serif-medium</item> 218 <item name="sudButtonHighlightAlpha">0.12</item> 219 <item name="sudColorPrimary">?attr/colorPrimary</item> 220 <item name="sudContentFramePaddingTop">@dimen/sud_content_frame_padding_top</item> 221 <item name="sudContentFramePaddingBottom">@dimen/sud_content_frame_padding_bottom</item> 222 <item name="sudLoadingContentFramePaddingTop">@dimen/sud_content_loading_frame_padding_top</item> 223 <item name="sudLoadingContentFramePaddingStart">@dimen/sud_content_loading_frame_padding_start</item> 224 <item name="sudLoadingContentFramePaddingEnd">@dimen/sud_content_loading_frame_padding_end</item> 225 <item name="sudLoadingContentFramePaddingBottom">@dimen/sud_content_loading_frame_padding_bottom</item> 226 <item name="sudFillContentLayoutStyle">@style/SudFillContentLayout</item> 227 <item name="sudDividerInsetEnd">0dp</item> 228 <item name="sudDividerInsetStart">@dimen/sud_items_glif_icon_divider_inset</item> 229 <item name="sudDividerInsetStartNoIcon">@dimen/sud_items_glif_text_divider_inset</item> 230 <item name="sudGlifHeaderGravity">start</item> 231 <item name="sudGlifSubtitleGravity">start</item> 232 <item name="sucGlifHeaderMarginTop">@dimen/sud_glif_header_title_margin_top</item> 233 <item name="sudGlifDescriptionMarginTop">@dimen/sud_glif_description_margin_top</item> 234 <item name="sucGlifHeaderMarginBottom">@dimen/sud_glif_header_title_margin_bottom</item> 235 <item name="sudGlifDescriptionMarginBottom">@dimen/sud_glif_description_margin_bottom</item> 236 <item name="sucHeaderContainerMarginBottom">@dimen/sud_header_container_margin_bottom</item> 237 <item name="sudGlifIconStyle">@style/SudGlifIcon</item> 238 <item name="sucGlifIconMarginTop">@dimen/sud_glif_icon_margin_top</item> 239 <item name="sudGlifIconSize">@dimen/sud_glif_icon_max_height</item> 240 <item name="sudItemDescriptionStyle">@style/SudItemContainer.Description.Glif</item> 241 <item name="sudItemDescriptionTitleStyle">@style/SudItemTitle.GlifDescription</item> 242 <item name="sudListItemIconColor">@color/sud_list_item_icon_color_light</item> 243 <item name="sudMarginStart">@dimen/sud_glif_margin_start</item> 244 <item name="sudMarginEnd">@dimen/sud_glif_margin_end</item> 245 <item name="sudScrollIndicators">bottom</item> 246 <item name="sudScrollBarThumb">@drawable/sud_scroll_bar_light</item> 247 <item name="textAppearanceListItem">@style/TextAppearance.SudGlifItemTitle</item> 248 <item name="textAppearanceListItemSmall">@style/TextAppearance.SudGlifItemSummary</item> 249 <item name="sucFooterBarButtonFontFamily">?attr/sudButtonFontFamily</item> 250 <item name="sucFooterBarButtonCornerRadius">?attr/sudButtonCornerRadius</item> 251 <item name="sucFooterBarButtonAllCaps">?attr/sudButtonAllCaps</item> 252 <item name="sucFooterBarButtonColorControlHighlightRipple">?attr/colorAccent</item> 253 <item name="sucFooterBarButtonHighlightAlpha">?attr/sudButtonHighlightAlpha</item> 254 <item name="sucStatusBarBackground">?android:attr/colorBackground</item> 255 <item name="sucSystemNavBarBackgroundColor">@android:color/black</item> 256 <item name="sucFooterBarPaddingVertical">@dimen/sud_glif_footer_padding_vertical</item> 257 <item name="sucFooterBarPaddingStart">@dimen/sud_glif_footer_padding_start</item> 258 <item name="sucFooterBarPaddingEnd">@dimen/sud_glif_footer_padding_end</item> 259 <item name="sucFooterBarMinHeight">@dimen/sud_glif_footer_min_height</item> 260 <item name="sucFooterButtonPaddingStart">@dimen/sud_glif_button_padding</item> 261 <item name="sucFooterButtonPaddingEnd">@dimen/sud_glif_button_padding</item> 262 <item name="sudContentIllustrationMaxWidth">@dimen/sud_content_illustration_max_width</item> 263 <item name="sudContentIllustrationMaxHeight">@dimen/sud_content_illustration_max_height</item> 264 <item name="sudContentIllustrationPaddingTop">@dimen/sud_content_illustration_padding_vertical</item> 265 <item name="sudContentIllustrationPaddingBottom">@dimen/sud_content_illustration_padding_vertical</item> 266 <item name="sudLoadingHeaderHeight">@dimen/sud_loading_header_height</item> 267 </style> 268 <style name="SudThemeGlif.Light" parent="SudBaseThemeGlif.Light"/> 269 270 <style name="SudThemeGlifV2" parent="SudThemeGlif"> 271 <item name="android:colorBackground">@color/sud_glif_background_color_dark</item> 272 <item name="android:windowLightStatusBar" tools:targetApi="m">false</item> 273 274 <item name="sudBackgroundBaseColor">?android:attr/colorBackground</item> 275 <item name="sudBackgroundPatterned">false</item> 276 <item name="sudDividerInsetEnd">?attr/sudMarginEnd</item> 277 <item name="sudDividerInsetStart">?attr/sudMarginStart</item> 278 <item name="sudDividerInsetStartNoIcon">?attr/sudMarginStart</item> 279 <item name="sudGlifHeaderGravity">center_horizontal</item> 280 <item name="sudGlifSubtitleGravity">center_horizontal</item> 281 <item name="sudScrollIndicators">top|bottom</item> 282 <item name="sudEditTextBackgroundColor">@color/sud_glif_edit_text_bg_dark_color</item> 283 <item name="android:editTextStyle">@style/SudEditText</item> 284 <item name="alertDialogTheme">@style/SudAlertDialogThemeCompat</item> 285 <item name="android:alertDialogTheme" tools:targetApi="honeycomb">@style/SudAlertDialogTheme</item> 286 <item name="sucLightStatusBar" tools:targetApi="m">?android:attr/windowLightStatusBar</item> 287 </style> 288 289 <style name="SudThemeGlifV2.Light" parent="SudThemeGlif.Light"> 290 <item name="android:colorBackground">@color/sud_glif_background_color_light</item> 291 <item name="android:windowLightStatusBar" tools:targetApi="m">true</item> 292 293 <item name="sudBackgroundBaseColor">?android:attr/colorBackground</item> 294 <item name="sudBackgroundPatterned">false</item> 295 <item name="sudDividerInsetEnd">?attr/sudMarginEnd</item> 296 <item name="sudDividerInsetStart">?attr/sudMarginStart</item> 297 <item name="sudDividerInsetStartNoIcon">?attr/sudMarginStart</item> 298 <item name="sudGlifHeaderGravity">center_horizontal</item> 299 <item name="sudGlifSubtitleGravity">center_horizontal</item> 300 <item name="sudScrollIndicators">top|bottom</item> 301 <item name="sudEditTextBackgroundColor">@color/sud_glif_edit_text_bg_light_color</item> 302 <item name="android:editTextStyle">@style/SudEditText</item> 303 <item name="alertDialogTheme">@style/SudAlertDialogThemeCompat.Light</item> 304 <item name="android:alertDialogTheme" tools:targetApi="honeycomb">@style/SudAlertDialogTheme.Light</item> 305 <item name="sucLightStatusBar" tools:targetApi="m">?android:attr/windowLightStatusBar</item> 306 </style> 307 308 <style name="SudBaseThemeGlifV3" parent="SudThemeGlifV2"> 309 <item name="colorAccent">@color/sud_color_accent_glif_v3_dark</item> 310 <item name="colorBackgroundFloating">@color/sud_glif_v3_dialog_background_color_dark</item> 311 <item name="android:datePickerDialogTheme">@style/SudDateTimePickerDialogTheme</item> 312 <item name="android:timePickerDialogTheme">@style/SudDateTimePickerDialogTheme</item> 313 <item name="android:textColorLink">@color/sud_color_accent_glif_v3_dark</item> 314 <item name="sudButtonAllCaps">false</item> 315 <item name="sudButtonCornerRadius">@dimen/sud_glif_v3_button_corner_radius</item> 316 <item name="sudButtonFontFamily">@string/sudFontSecondaryMedium</item> 317 </style> 318 <style name="SudThemeGlifV3" parent="SudBaseThemeGlifV3" /> 319 <style name="SudDynamicColorThemeGlifV3" parent="SudThemeGlifV3" /> 320 <style name="SudFullDynamicColorThemeGlifV3" parent="SudDynamicColorThemeGlifV3" /> 321 322 <style name="SudBaseThemeGlifV3.Light" parent="SudThemeGlifV2.Light"> 323 <item name="colorAccent">@color/sud_color_accent_glif_v3_light</item> 324 <item name="android:datePickerDialogTheme">@style/SudDateTimePickerDialogTheme.Light</item> 325 <item name="android:timePickerDialogTheme">@style/SudDateTimePickerDialogTheme.Light</item> 326 <item name="android:textColorLink">@color/sud_color_accent_glif_v3_light</item> 327 <item name="sudButtonAllCaps">false</item> 328 <item name="sudButtonCornerRadius">@dimen/sud_glif_v3_button_corner_radius</item> 329 <item name="sudButtonFontFamily">@string/sudFontSecondaryMedium</item> 330 </style> 331 <style name="SudThemeGlifV3.Light" parent="SudBaseThemeGlifV3.Light" /> 332 <style name="SudDynamicColorThemeGlifV3.Light" parent="SudThemeGlifV3.Light" /> 333 <style name="SudFullDynamicColorThemeGlifV3.Light" parent="SudDynamicColorThemeGlifV3.Light" /> 334 335 <style name="Animation.SudWindowAnimation" parent="@android:style/Animation.Activity"> 336 <item name="android:activityOpenEnterAnimation">@anim/sud_slide_next_in</item> 337 <item name="android:activityOpenExitAnimation">@anim/sud_slide_next_out</item> 338 <item name="android:activityCloseEnterAnimation">@anim/sud_slide_back_in</item> 339 <item name="android:activityCloseExitAnimation">@anim/sud_slide_back_out</item> 340 </style> 341 342 <!-- DayNight themes --> 343 <style name="SudThemeMaterial.DayNight" parent="SudThemeMaterial.Light" /> 344 <style name="SudThemeGlif.DayNight" parent="SudThemeGlif.Light" /> 345 <style name="SudThemeGlifV2.DayNight" parent="SudThemeGlifV2.Light" /> 346 <style name="SudThemeGlifV3.DayNight" parent="SudThemeGlifV3.Light" /> 347 <style name="SudDynamicColorThemeGlifV3.DayNight" parent="SudDynamicColorThemeGlifV3.Light" /> 348 <style name="SudFullDynamicColorThemeGlifV3.DayNight" parent="SudFullDynamicColorThemeGlifV3.Light" /> 349 350 <!-- Content styles --> 351 352 <!-- Ignore UnusedResources: Used by clients --> 353 <style name="SudContentFrame" tools:ignore="UnusedResources"> 354 <item name="android:clipToPadding">false</item> 355 <item name="android:paddingTop">?attr/sudContentFramePaddingTop</item> 356 <item name="android:paddingLeft">?attr/sudMarginStart</item> 357 <item name="android:paddingRight">?attr/sudMarginEnd</item> 358 <item name="android:paddingBottom">?attr/sudContentFramePaddingBottom</item> 359 </style> 360 361 <style name="SudLoadingContentFrame" tools:ignore="UnusedResources"> 362 <item name="android:clipToPadding">false</item> 363 <item name="android:paddingTop">?attr/sudLoadingContentFramePaddingTop</item> 364 <item name="android:paddingLeft">?attr/sudLoadingContentFramePaddingStart</item> 365 <item name="android:paddingRight">?attr/sudLoadingContentFramePaddingEnd</item> 366 <item name="android:paddingBottom">?attr/sudLoadingContentFramePaddingBottom</item> 367 </style> 368 369 <!-- Content info --> 370 371 <style name="SudInfoContainer"> 372 <item name="android:paddingTop">@dimen/sud_content_info_padding_top</item> 373 <item name="android:paddingBottom">@dimen/sud_content_info_padding_bottom</item> 374 </style> 375 376 <style name="SudInfoDescription"> 377 <item name="android:textSize">@dimen/sud_content_info_text_size</item> 378 <item name="android:lineSpacingExtra">@dimen/sud_content_info_line_spacing_extra</item> 379 </style> 380 381 <!-- Ignore UnusedResources: Used by clients --> 382 <style name="SudDescription" tools:ignore="UnusedResources"> 383 <!-- Before Honeycomb, layout_gravity is needed for FrameLayout to apply the margins --> 384 <item name="android:layout_gravity">top</item> 385 <item name="android:layout_marginBottom">@dimen/sud_description_margin_bottom</item> 386 <item name="android:layout_marginTop">@dimen/sud_description_margin_top</item> 387 <item name="android:lineSpacingExtra">@dimen/sud_description_line_spacing_extra</item> 388 <item name="android:textAppearance">@style/TextAppearance.SudDescription</item> 389 </style> 390 391 <!-- Ignore UnusedResources: Used by clients --> 392 <style name="SudDescription.Glif" parent="SudDescription" tools:ignore="UnusedResources"> 393 <item name="android:layout_marginTop">@dimen/sud_description_glif_margin_top</item> 394 <item name="android:gravity">?attr/sudGlifHeaderGravity</item> 395 <item name="android:textAlignment" tools:targetApi="jelly_bean_mr1">gravity</item> 396 </style> 397 398 <!-- Ignore UnusedResources: Used by clients --> 399 <style name="SudContent.Glif" parent="SudDescription" tools:ignore="UnusedResources"> 400 <item name="android:layout_marginTop">@dimen/sud_content_glif_margin_top</item> 401 <item name="android:layout_marginBottom">@dimen/sud_content_glif_margin_bottom</item> 402 <item name="android:gravity">start</item> 403 <item name="android:textAlignment" tools:targetApi="jelly_bean_mr1">gravity</item> 404 </style> 405 406 <style name="TextAppearance.SudDescription" parent="TextAppearance.AppCompat.Medium"> 407 <item name="android:textColor">?android:attr/textColorPrimary</item> 408 <item name="android:textSize">@dimen/sud_description_text_size</item> 409 </style> 410 411 <!-- Ignore UnusedResources: Used by clients --> 412 <style name="TextAppearance.SudDescription.Secondary" 413 parent="TextAppearance.SudDescription" 414 tools:ignore="UnusedResources"> 415 <item name="android:textColor">?android:attr/textColorSecondary</item> 416 </style> 417 418 <!-- Ignore UnusedResources: Used by clients --> 419 <style name="SudRadioButton" tools:ignore="UnusedResources"> 420 <item name="android:layout_marginBottom">@dimen/sud_radio_button_margin_bottom</item> 421 <item name="android:layout_marginLeft">@dimen/sud_radio_button_margin_start</item> 422 <item name="android:layout_marginStart" tools:ignore="NewApi">@dimen/sud_radio_button_margin_start</item> 423 <item name="android:layout_marginTop">@dimen/sud_radio_button_margin_top</item> 424 <item name="android:lineSpacingExtra">@dimen/sud_radio_button_line_spacing_extra</item> 425 <item name="android:paddingLeft">@dimen/sud_radio_button_padding_start</item> 426 <item name="android:paddingStart" tools:ignore="NewApi">@dimen/sud_radio_button_padding_start</item> 427 <item name="android:textAppearance">@style/TextAppearance.SudDescription</item> 428 </style> 429 430 <!-- Ignore UnusedResources: used by clients --> 431 <style name="SudCheckBox" tools:ignore="UnusedResources"> 432 <item name="android:layout_marginBottom">@dimen/sud_check_box_margin_bottom</item> 433 <item name="android:layout_marginLeft">@dimen/sud_check_box_margin_start</item> 434 <item name="android:layout_marginStart" tools:ignore="NewApi">@dimen/sud_check_box_margin_start</item> 435 <item name="android:layout_marginTop">@dimen/sud_check_box_margin_top</item> 436 <item name="android:lineSpacingExtra">@dimen/sud_check_box_line_spacing_extra</item> 437 <item name="android:paddingLeft">@dimen/sud_check_box_padding_start</item> 438 <item name="android:paddingStart" tools:ignore="NewApi">@dimen/sud_check_box_padding_start</item> 439 <item name="android:textAppearance">@style/TextAppearance.SudDescription</item> 440 </style> 441 442 <!-- Ignore UnusedResources: used by clients --> 443 <style name="SudCheckBox.Multiline" parent="SudCheckBox" tools:ignore="UnusedResources"> 444 <item name="android:gravity">top</item> 445 </style> 446 447 <style name="SudFillContentLayout"> 448 <item name="android:minWidth">@dimen/sud_content_illustration_min_width</item> 449 <item name="android:minHeight">@dimen/sud_content_illustration_min_height</item> 450 <item name="android:maxWidth">?attr/sudContentIllustrationMaxWidth</item> 451 <item name="android:maxHeight">?attr/sudContentIllustrationMaxHeight</item> 452 <item name="android:paddingTop">?attr/sudContentIllustrationPaddingTop</item> 453 <item name="android:paddingBottom">?attr/sudContentIllustrationPaddingBottom</item> 454 </style> 455 456 <!-- Ignore UnusedResources: used by clients --> 457 <style name="SudContentIllustration" tools:ignore="UnusedResources"> 458 <item name="android:layout_gravity">center</item> 459 <item name="android:scaleType">fitCenter</item> 460 </style> 461 462 <!-- Card layout (for tablets) --> 463 464 <style name="SudBaseCardTitle"> 465 <item name="android:ellipsize">end</item> 466 <item name="android:maxLines">2</item> 467 <item name="android:paddingBottom">@dimen/sud_card_title_padding_bottom</item> 468 <item name="android:paddingEnd" tools:ignore="NewApi">@dimen/sud_card_title_padding_end</item> 469 <item name="android:paddingLeft">@dimen/sud_card_title_padding_start</item> 470 <item name="android:paddingRight">@dimen/sud_card_title_padding_end</item> 471 <item name="android:paddingStart" tools:ignore="NewApi">@dimen/sud_card_title_padding_start</item> 472 <item name="android:paddingTop">@dimen/sud_card_title_padding_top</item> 473 <item name="android:textAppearance">@style/TextAppearance.SudCardTitle</item> 474 </style> 475 476 <style name="SudCardTitle" parent="SudBaseCardTitle" /> 477 478 <style name="TextAppearance.SudCardTitle" parent="@style/TextAppearance.AppCompat.Display1"> 479 <item name="android:textColor">@android:color/white</item> 480 </style> 481 482 <!-- GLIF Card layout (for tablets) --> 483 484 <style name="SudGlifCardBackground"> 485 <item name="android:background">?attr/colorPrimary</item> 486 </style> 487 488 <style name="SudGlifCardContainer"> 489 <item name="android:background">?android:attr/colorBackground</item> 490 <item name="android:elevation" tools:ignore="NewApi">@dimen/sud_glif_card_elevation</item> 491 </style> 492 493 <style name="SudBase.ProgressBarLarge" parent="@android:style/Widget.ProgressBar.Large" /> 494 495 <style name="SudFourColorIndeterminateProgressBar" parent="SudBase.ProgressBarLarge"> 496 <item name="android:layout_gravity">center</item> 497 <item name="android:indeterminate">true</item> 498 <item name="android:paddingEnd" tools:targetApi="17" >@dimen/sud_glif_progress_bar_padding</item> 499 <item name="android:paddingLeft">@dimen/sud_glif_progress_bar_padding</item> 500 <item name="android:paddingRight">@dimen/sud_glif_progress_bar_padding</item> 501 <item name="android:paddingStart" tools:targetApi="17" >@dimen/sud_glif_progress_bar_padding</item> 502 </style> 503 504 <!-- Header layout (for phones) --> 505 506 <style name="SudBaseHeaderTitle"> 507 <!-- Before Honeycomb, layout_gravity is needed for FrameLayout to apply the margins --> 508 <item name="android:layout_gravity">top</item> 509 <item name="android:ellipsize">end</item> 510 <item name="android:maxLines">3</item> 511 <item name="android:textSize">@dimen/sud_header_title_size</item> 512 </style> 513 514 <style name="SudHeaderTitle" parent="SudBaseHeaderTitle"> 515 <item name="android:layout_marginBottom">@dimen/sud_header_title_margin_bottom</item> 516 <item name="android:layout_marginLeft">?attr/sudMarginStart</item> 517 <item name="android:layout_marginRight">?attr/sudMarginEnd</item> 518 <item name="android:lineSpacingExtra">@dimen/sud_header_title_line_spacing_extra</item> 519 <item name="android:paddingBottom">@dimen/sud_header_title_padding_bottom</item> 520 <item name="android:paddingTop">@dimen/sud_header_title_padding_top</item> 521 <item name="android:textColor">@android:color/white</item> 522 </style> 523 524 <!-- Button styles --> 525 526 <style name="SudButtonItem" /> 527 528 <style name="SudButtonItem.Colored" parent="SudGlifButton.Primary" /> 529 530 <!-- Use this style with a Button not a TextView, so that TalkBack will announce it as a 531 button. --> 532 <style name="SudGlifButton.BaseTertiary" parent="SudGlifButton.Secondary"> 533 <!-- This style can be applied to a button either as a "style" in XML, or as a theme in 534 ContextThemeWrapper. These self-referencing attributes make sure this is applied as 535 both to the button. --> 536 <item name="android:buttonStyle">@style/SudGlifButton.Tertiary</item> 537 <item name="android:theme">@style/SudGlifButton.Tertiary</item> 538 539 <item name="android:fontFamily" tools:targetApi="jelly_bean">sans-serif</item> 540 <item name="android:layout_gravity">?attr/sudGlifHeaderGravity</item> 541 <item name="android:layout_marginLeft">@dimen/sud_glif_negative_button_padding</item> 542 <item name="android:layout_marginRight">@dimen/sud_glif_negative_button_padding</item> 543 <!-- Always lowercase instead of reading attr/sudButtonAllCaps, since this is a tertiary 544 button --> 545 <item name="android:textAllCaps" tools:targetApi="ice_cream_sandwich">false</item> 546 </style> 547 548 <!-- Ignore UnusedResources: used by clients --> 549 <style name="SudGlifButton.Tertiary" parent="SudGlifButton.BaseTertiary" 550 tools:ignore="UnusedResources"> 551 <item name="android:fontFamily" tools:targetApi="jelly_bean">?attr/sudButtonFontFamily</item> 552 <item name="textAllCaps" tools:targetApi="ice_cream_sandwich">false</item> 553 </style> 554 555 <style name="SudGlifButton.Primary" parent="Widget.AppCompat.Button.Colored"> 556 <!-- This style can be applied to a button either as a "style" in XML, or as a theme in 557 ContextThemeWrapper. These self-referencing attributes make sure this is applied as 558 both to the button. --> 559 <item name="android:buttonStyle">@style/SudGlifButton.Primary</item> 560 <item name="android:theme">@style/SudGlifButton.Primary</item> 561 <item name="buttonStyle">@style/SudGlifButton.Primary</item> 562 563 <!-- Values used in styles --> 564 <item name="android:fontFamily" tools:targetApi="jelly_bean">?attr/sudButtonFontFamily</item> 565 <item name="android:paddingLeft">@dimen/sud_glif_button_padding</item> 566 <item name="android:paddingRight">@dimen/sud_glif_button_padding</item> 567 <item name="android:textAllCaps" tools:targetApi="ice_cream_sandwich">?attr/sudButtonAllCaps</item> 568 <item name="textAllCaps">?attr/sudButtonAllCaps</item> 569 <item name="android:stateListAnimator">@null</item> 570 571 <!-- Values used in themes --> 572 <item name="android:buttonCornerRadius" tools:ignore="NewApi">?attr/sudButtonCornerRadius</item> 573 </style> 574 575 <style name="SudGlifButton.Secondary" parent="Widget.AppCompat.Button.Borderless.Colored"> 576 <!-- This style can be applied to a button either as a "style" in XML, or as a theme in 577 ContextThemeWrapper. These self-referencing attributes make sure this is applied as 578 both to the button. --> 579 <item name="android:buttonStyle">@style/SudGlifButton.Secondary</item> 580 <item name="android:theme">@style/SudGlifButton.Secondary</item> 581 <item name="buttonStyle">@style/SudGlifButton.Secondary</item> 582 583 <!-- Values used in styles --> 584 <item name="android:fontFamily" tools:targetApi="jelly_bean">?attr/sudButtonFontFamily</item> 585 <item name="android:minWidth">0dp</item> 586 <item name="android:paddingLeft">@dimen/sud_glif_button_padding</item> 587 <item name="android:paddingRight">@dimen/sud_glif_button_padding</item> 588 <item name="android:textAllCaps" tools:targetApi="ice_cream_sandwich">?attr/sudButtonAllCaps</item> 589 <item name="textAllCaps">?attr/sudButtonAllCaps</item> 590 591 <!-- Values used in themes --> 592 <item name="android:buttonCornerRadius" tools:ignore="NewApi">?attr/sudButtonCornerRadius</item> 593 <item name="android:colorControlHighlight" tools:targetApi="lollipop">@color/sud_flat_button_highlight</item> 594 <item name="colorControlHighlight">@color/sud_flat_button_highlight</item> 595 </style> 596 597 <!-- The start and end paddings are asymmetric because start buttons are borderless buttons 598 which aligns the text label. --> 599 <style name="SudGlifButtonBar"> 600 <item name="android:baselineAligned">false</item> 601 <item name="android:clipChildren">false</item> 602 <item name="android:clipToPadding">false</item> 603 <item name="android:gravity">center_vertical</item> 604 <item name="android:minHeight">@dimen/sud_glif_footer_min_height</item> 605 <item name="android:orientation">horizontal</item> 606 <item name="android:paddingTop">@dimen/sud_glif_footer_padding_vertical</item> 607 <item name="android:paddingBottom">@dimen/sud_glif_footer_padding_vertical</item> 608 <item name="android:paddingEnd" tools:ignore="NewApi">@dimen/sud_glif_button_margin_end</item> 609 <item name="android:paddingLeft">@dimen/sud_glif_button_margin_start</item> 610 <item name="android:paddingRight">@dimen/sud_glif_button_margin_end</item> 611 <item name="android:paddingStart" tools:ignore="NewApi">@dimen/sud_glif_button_margin_start</item> 612 </style> 613 614 <style name="SudGlifButtonBar.Stackable" parent="SudGlifButtonBar"> 615 <item name="android:gravity">center</item> 616 </style> 617 618 <!-- Items styles --> 619 620 <style name="SudItemContainer"> 621 <item name="android:minHeight">?android:attr/listPreferredItemHeight</item> 622 <item name="android:paddingBottom">@dimen/sud_items_padding_bottom</item> 623 <item name="android:paddingEnd" tools:ignore="NewApi">?attr/listPreferredItemPaddingRight</item> 624 <item name="android:paddingLeft">?attr/listPreferredItemPaddingLeft</item> 625 <item name="android:paddingRight">?attr/listPreferredItemPaddingRight</item> 626 <item name="android:paddingStart" tools:ignore="NewApi">?attr/listPreferredItemPaddingLeft</item> 627 <item name="android:paddingTop">@dimen/sud_items_padding_top</item> 628 </style> 629 630 <style name="SudItemContainer.Description" parent="SudItemContainer"> 631 <item name="android:paddingTop">@dimen/sud_description_margin_top</item> 632 <item name="android:paddingBottom">@dimen/sud_description_margin_bottom_lists</item> 633 </style> 634 635 <style name="SudItemContainer.Description.Glif" parent="SudItemContainer.Description"> 636 <item name="android:minHeight">0dp</item> 637 <item name="android:paddingTop">@dimen/sud_description_glif_margin_top</item> 638 <item name="android:paddingBottom">@dimen/sud_description_glif_margin_bottom_lists</item> 639 </style> 640 641 <style name="SudItemContainer.Verbose" parent="SudItemContainer"> 642 <item name="android:paddingBottom">@dimen/sud_items_verbose_padding_vertical</item> 643 <item name="android:paddingTop">@dimen/sud_items_verbose_padding_vertical</item> 644 </style> 645 646 <style name="SudItemSummary"> 647 <item name="android:textAppearance">?attr/textAppearanceListItemSmall</item> 648 </style> 649 650 <style name="SudItemTitle"> 651 <item name="android:textAppearance">?attr/textAppearanceListItem</item> 652 </style> 653 654 <style name="SudItemTitle.GlifDescription" parent="SudItemTitle"> 655 <item name="android:gravity">?attr/sudGlifHeaderGravity</item> 656 <item name="android:textAlignment" tools:targetApi="jelly_bean_mr1">gravity</item> 657 </style> 658 659 <style name="SudItemTitle.Verbose" parent="SudItemTitle"> 660 <item name="android:textAppearance">@style/TextAppearance.SudGlifBody</item> 661 </style> 662 663 <style name="SudItemTitle.SectionHeader" parent="SudItemTitle"> 664 <item name="android:textSize">14sp</item> 665 <item name="android:fontFamily">@string/sudFontSecondaryMedium</item> 666 </style> 667 668 <style name="SudSwitchStyle"> 669 <item name="android:paddingEnd" tools:ignore="NewApi">@dimen/sud_switch_padding_end</item> 670 <item name="android:paddingLeft">@dimen/sud_switch_padding_start</item> 671 <item name="android:paddingRight">@dimen/sud_switch_padding_end</item> 672 <item name="android:paddingStart" tools:ignore="NewApi">@dimen/sud_switch_padding_start</item> 673 </style> 674 675 <style name="SudSwitchStyle.Divided" parent="SudSwitchStyle"> 676 <item name="android:paddingEnd" tools:ignore="NewApi">?attr/listPreferredItemPaddingRight</item> 677 <item name="android:paddingRight">?attr/listPreferredItemPaddingRight</item> 678 </style> 679 680 <style name="TextAppearance.SudItemSummary" parent="android:TextAppearance"> 681 <item name="android:textSize">16sp</item> 682 <item name="android:textColor">?android:attr/textColorSecondary</item> 683 </style> 684 685 <!-- GLIF layout --> 686 687 <style name="SudGlifHeaderTitle" parent="SudBaseHeaderTitle"> 688 <item name="android:gravity">?attr/sudGlifHeaderGravity</item> 689 <item name="android:layout_marginBottom">?attr/sucGlifHeaderMarginBottom</item> 690 <item name="android:layout_marginLeft">?attr/sudMarginStart</item> 691 <item name="android:layout_marginRight">?attr/sudMarginEnd</item> 692 <item name="android:layout_marginTop">?attr/sucGlifHeaderMarginTop</item> 693 <item name="android:fontFamily" tools:targetApi="jelly_bean">@string/sudFontSecondary</item> 694 <item name="android:textAlignment" tools:targetApi="jelly_bean_mr1">gravity</item> 695 <item name="android:textColor">?android:attr/textColorPrimary</item> 696 </style> 697 698 <style name="SudGlifDescription" parent="SudDescription.Glif"> 699 <item name="android:layout_marginTop">?attr/sudGlifDescriptionMarginTop</item> 700 <item name="android:layout_marginBottom">?attr/sudGlifDescriptionMarginBottom</item> 701 <item name="android:layout_marginLeft">?attr/sudMarginStart</item> 702 <item name="android:layout_marginStart">?attr/sudMarginStart</item> 703 <item name="android:layout_marginRight">?attr/sudMarginEnd</item> 704 <item name="android:layout_marginEnd">?attr/sudMarginEnd</item> 705 <item name="android:fontFamily" tools:targetApi="jelly_bean">@string/sudFontSecondary</item> 706 <item name="android:textColor">?android:attr/textColorPrimary</item> 707 </style> 708 709 <style name="SudGlifHeaderContainer"> 710 <item name="android:gravity">?attr/sudGlifHeaderGravity</item> 711 <item name="android:layout_marginBottom">?attr/sucHeaderContainerMarginBottom</item> 712 </style> 713 714 <style name="SudGlifIconContainer"> 715 <item name="android:layout_marginLeft">?attr/sudMarginStart</item> 716 <item name="android:layout_marginRight">?attr/sudMarginEnd</item> 717 <item name="android:layout_marginTop">?attr/sucGlifIconMarginTop</item> 718 <item name="android:maxHeight">?attr/sudGlifIconSize</item> 719 </style> 720 721 <style name="SudGlifIcon"> 722 <item name="android:layout_marginLeft">?attr/sudMarginStart</item> 723 <item name="android:layout_marginRight">?attr/sudMarginEnd</item> 724 <item name="android:layout_marginTop">?attr/sucGlifIconMarginTop</item> 725 <item name="android:adjustViewBounds">true</item> 726 <item name="android:maxHeight">?attr/sudGlifIconSize</item> 727 <item name="android:scaleType">centerInside</item> 728 </style> 729 730 <style name="TextAppearance.SudGlifBody" parent="android:TextAppearance"> 731 <item name="android:textSize">14sp</item> 732 <item name="android:textColor">?android:attr/textColorPrimary</item> 733 </style> 734 735 <style name="TextAppearance.SudGlifItemTitle" parent="android:TextAppearance"> 736 <item name="android:textSize">@dimen/sud_items_title_text_size</item> 737 <item name="android:textColor">?android:attr/textColorPrimary</item> 738 </style> 739 740 <style name="TextAppearance.SudGlifItemSummary" parent="android:TextAppearance"> 741 <item name="android:textSize">@dimen/sud_items_summary_text_size</item> 742 <item name="android:textColor">?android:attr/textColorSecondary</item> 743 </style> 744 745 <!-- Navigation bar styles --> 746 747 <style name="SudNavBarTheme"> 748 <item name="android:orientation">horizontal</item> 749 <item name="android:layout_alignParentBottom">true</item> 750 <item name="android:background">?attr/sudNavBarBackgroundColor</item> 751 <item name="android:paddingLeft">@dimen/sud_navbar_padding_sides</item> 752 <item name="android:paddingRight">@dimen/sud_navbar_padding_sides</item> 753 <item name="sudNavBarTextColor">?android:attr/textColorPrimary</item> 754 </style> 755 756 <style name="SudNavBarThemeDark" parent="SudNavBarTheme"> 757 <item name="sudNavBarBackgroundColor">@color/sud_navbar_bg_dark</item> 758 <item name="sudNavBarButtonBackground">@drawable/sud_navbar_btn_bg_dark</item> 759 </style> 760 761 <style name="SudNavBarThemeLight" parent="SudNavBarTheme"> 762 <item name="sudNavBarBackgroundColor">@color/sud_navbar_bg_light</item> 763 <item name="sudNavBarButtonBackground">@drawable/sud_navbar_btn_bg_light</item> 764 </style> 765 766 <style name="SudNavBarButtonStyle" parent="@android:style/Widget.Button"> 767 <item name="android:background">?attr/sudNavBarButtonBackground</item> 768 <item name="android:drawablePadding">@dimen/sud_navbar_button_drawable_padding</item> 769 <item name="android:fontFamily" tools:ignore="NewApi">sans-serif</item> 770 <item name="android:minWidth">0dp</item> 771 <item name="android:paddingLeft">@dimen/sud_navbar_button_padding_sides</item> 772 <item name="android:paddingRight">@dimen/sud_navbar_button_padding_sides</item> 773 <item name="android:textAllCaps" tools:ignore="NewApi">true</item> 774 <item name="android:textColor">?attr/sudNavBarTextColor</item> 775 <item name="android:textSize">@dimen/sud_navbar_text_size</item> 776 </style> 777 778 779 <style name="SudEditText" parent="@android:style/Widget.EditText"> 780 <item name="android:minHeight">@dimen/sud_edit_text_min_height</item> 781 </style> 782 783 <style name="SudAlertDialogThemeCompat" parent="Theme.AppCompat.Dialog.Alert"> 784 <item name="android:textAllCaps">false</item> 785 <item name="android:colorBackground">@color/sud_glif_v3_dialog_background_color_dark</item> 786 <item name="colorAccent">@color/sud_color_accent_glif_v3_dark</item> 787 <item name="dialogCornerRadius">@dimen/sud_glif_alert_dialog_corner_radius</item> 788 </style> 789 790 <style name="SudAlertDialogThemeCompat.Light" parent="Theme.AppCompat.Light.Dialog.Alert"> 791 <item name="android:textAllCaps">false</item> 792 <item name="colorAccent">@color/sud_color_accent_glif_v3_light</item> 793 <item name="dialogCornerRadius">@dimen/sud_glif_alert_dialog_corner_radius</item> 794 </style> 795 796 <style name="SudAlertDialogTheme" parent="SudAlertDialogThemeCompat"/> 797 <style name="SudAlertDialogTheme.Light" parent="SudAlertDialogThemeCompat.Light"/> 798 799 <style name="SudDateTimePickerDialogTheme" parent="Theme.AppCompat.Dialog"> 800 <item name="android:textAllCaps">false</item> 801 <item name="colorAccent">@color/sud_color_accent_glif_v3_dark</item> 802 <item name="dialogCornerRadius">@dimen/sud_glif_alert_dialog_corner_radius</item> 803 <item name="android:windowBackground">@drawable/sud_dialog_background_dark</item> 804 </style> 805 806 <style name="SudDateTimePickerDialogTheme.Light" parent="Theme.AppCompat.Light.Dialog"> 807 <item name="android:textAllCaps">false</item> 808 <item name="colorAccent">@color/sud_color_accent_glif_v3_light</item> 809 <item name="dialogCornerRadius">@dimen/sud_glif_alert_dialog_corner_radius</item> 810 <item name="android:windowBackground">@drawable/sud_dialog_background_light</item> 811 </style> 812 813 <style name="SudSwitchBarStyle"> 814 <item name="android:layout_gravity">center_vertical</item> 815 <item name="track">@drawable/sud_switch_track_selector</item> 816 <item name="android:track">@drawable/sud_switch_track_selector</item> 817 <item name="android:thumb">@drawable/sud_switch_thumb_selector</item> 818 <item name="android:switchMinWidth">@dimen/sud_switch_min_width</item> 819 </style> 820 821</resources> 822