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<!-- These styles are only included in the platform build, to make sure that they do not 19 override the corresponding styles in the compatibility build. --> 20<resources> 21 22 <!-- General styles --> 23 24 <!-- These themes should only be used in platform builds because support libraries' 25 FragmentActivity and AppCompatActivity expects the activity theme to inherit from 26 Theme.AppCompat. --> 27 <style name="SuwThemeMaterial" parent="android:Theme.Material.NoActionBar"> 28 <item name="android:colorAccent">@color/suw_color_accent_dark</item> 29 <item name="android:indeterminateTint">@color/suw_progress_bar_color_dark</item> 30 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 31 <item name="android:indeterminateTintMode">src_in</item> 32 <item name="android:listPreferredItemHeight">@dimen/suw_items_preferred_height</item> 33 <item name="android:listPreferredItemPaddingEnd">?attr/suwMarginSides</item> 34 <item name="android:listPreferredItemPaddingStart">?attr/suwMarginSides</item> 35 <item name="android:navigationBarColor">@android:color/black</item> 36 <item name="android:statusBarColor">@android:color/black</item> 37 <item name="android:textAppearanceListItemSmall">@android:style/TextAppearance.Material.Body1</item> 38 <item name="android:textColorLink">@color/suw_link_color_dark</item> 39 <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> 40 <item name="android:windowDisablePreview">true</item> 41 <item name="android:windowSoftInputMode">adjustResize</item> 42 43 <item name="suwCardBackground">@drawable/suw_card_bg</item> 44 <item name="suwItemDescriptionStyle">@style/SuwItemContainer.Description</item> 45 <item name="suwListItemIconColor">@color/suw_list_item_icon_color_dark</item> 46 <item name="suwMarginSides">@dimen/suw_layout_margin_sides</item> 47 <item name="suwNavBarTheme">@style/SuwNavBarThemeDark</item> 48 </style> 49 50 <style name="SuwThemeMaterial.Light" parent="android:Theme.Material.Light.NoActionBar"> 51 <item name="android:colorAccent">@color/suw_color_accent_light</item> 52 <item name="android:indeterminateTint">@color/suw_progress_bar_color_light</item> 53 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 54 <item name="android:indeterminateTintMode">src_in</item> 55 <item name="android:listPreferredItemHeight">@dimen/suw_items_preferred_height</item> 56 <item name="android:listPreferredItemPaddingEnd">?attr/suwMarginSides</item> 57 <item name="android:listPreferredItemPaddingStart">?attr/suwMarginSides</item> 58 <item name="android:navigationBarColor">@android:color/black</item> 59 <item name="android:statusBarColor">@android:color/black</item> 60 <item name="android:textAppearanceListItemSmall">@android:style/TextAppearance.Material.Body1</item> 61 <item name="android:textColorLink">@color/suw_link_color_light</item> 62 <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> 63 <item name="android:windowDisablePreview">true</item> 64 <item name="android:windowSoftInputMode">adjustResize</item> 65 66 <item name="suwCardBackground">@drawable/suw_card_bg</item> 67 <item name="suwItemDescriptionStyle">@style/SuwItemContainer.Description</item> 68 <item name="suwListItemIconColor">@color/suw_list_item_icon_color_light</item> 69 <item name="suwMarginSides">@dimen/suw_layout_margin_sides</item> 70 <item name="suwNavBarTheme">@style/SuwNavBarThemeLight</item> 71 </style> 72 73 <!-- Placeholder for GLIF dark theme, colors are not updated yet --> 74 <style name="SuwThemeGlif" parent="android:Theme.Material.NoActionBar"> 75 <item name="android:colorAccent">@color/suw_color_accent_glif_dark</item> 76 <item name="android:colorPrimary">@color/suw_color_accent_glif_light</item> 77 <item name="android:indeterminateTint">?android:attr/colorPrimary</item> 78 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 79 <item name="android:indeterminateTintMode">src_in</item> 80 <item name="android:listPreferredItemHeight">@dimen/suw_items_preferred_height</item> 81 <item name="android:listPreferredItemPaddingEnd">?attr/suwMarginSides</item> 82 <item name="android:listPreferredItemPaddingStart">?attr/suwMarginSides</item> 83 <item name="android:navigationBarColor">@android:color/black</item> 84 <item name="android:statusBarColor">?android:attr/colorPrimary</item> 85 <item name="android:textAppearanceListItem">@style/TextAppearance.SuwGlifItemTitle</item> 86 <item name="android:textAppearanceListItemSmall">@style/TextAppearance.SuwGlifItemSummary</item> 87 <item name="android:textColorLink">@color/suw_link_color_light</item> 88 <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> 89 <item name="android:windowDisablePreview">true</item> 90 <item name="android:windowSoftInputMode">adjustResize</item> 91 92 <item name="suwItemDescriptionStyle">@style/SuwItemContainer.Description.Glif</item> 93 <item name="suwListItemIconColor">@color/suw_list_item_icon_color_dark</item> 94 <item name="suwMarginSides">@dimen/suw_glif_margin_sides</item> 95 </style> 96 97 <style name="SuwThemeGlif.Light" parent="android:Theme.Material.Light.NoActionBar"> 98 <item name="android:colorAccent">@color/suw_color_accent_glif_dark</item> 99 <item name="android:colorPrimary">@color/suw_color_accent_glif_light</item> 100 <item name="android:indeterminateTint">?android:attr/colorPrimary</item> 101 <!-- Specify the indeterminateTintMode to work around a bug in Lollipop --> 102 <item name="android:indeterminateTintMode">src_in</item> 103 <item name="android:listPreferredItemHeight">@dimen/suw_items_preferred_height</item> 104 <item name="android:listPreferredItemPaddingEnd">?attr/suwMarginSides</item> 105 <item name="android:listPreferredItemPaddingStart">?attr/suwMarginSides</item> 106 <item name="android:navigationBarColor">@android:color/black</item> 107 <item name="android:statusBarColor">?android:attr/colorPrimary</item> 108 <item name="android:textAppearanceListItem">@style/TextAppearance.SuwGlifItemTitle</item> 109 <item name="android:textAppearanceListItemSmall">@style/TextAppearance.SuwGlifItemSummary</item> 110 <item name="android:textColorLink">@color/suw_link_color_light</item> 111 <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> 112 <item name="android:windowDisablePreview">true</item> 113 <item name="android:windowSoftInputMode">adjustResize</item> 114 115 <item name="suwItemDescriptionStyle">@style/SuwItemContainer.Description.Glif</item> 116 <item name="suwListItemIconColor">@color/suw_list_item_icon_color_light</item> 117 <item name="suwMarginSides">@dimen/suw_glif_margin_sides</item> 118 </style> 119 120</resources> 121