1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright (C) 2014 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<resources>
20
21    <style name="TextOrCheckBox">
22        <item name="android:textColor">@color/text_black</item>
23        <item name="android:textSize">@dimen/main_text_size</item>
24        <item name="android:layout_width">match_parent</item>
25        <item name="android:layout_height">wrap_content</item>
26        <item name="android:lineSpacingMultiplier">1.2</item>
27    </style>
28
29    <style name="MainText" parent="TextOrCheckBox">
30        <item name="android:paddingTop">@dimen/main_text_padding_between_text</item>
31    </style>
32
33    <style name="CheckBox" parent="TextOrCheckBox">
34        <item name="android:layout_marginTop">@dimen/checkbox_margin_top</item>
35        <!-- Space between the checkbox itself and the text -->
36        <item name="android:paddingLeft">@dimen/checkbox_padding_left</item>
37    </style>
38
39    <style name="MainTextContainer">
40        <item name="android:layout_width">match_parent</item>
41        <item name="android:layout_height">match_parent</item>
42        <item name="android:paddingBottom">@dimen/main_text_padding_bottom</item>
43        <item name="android:paddingLeft">@dimen/main_text_padding_left_right</item>
44        <item name="android:paddingRight">@dimen/main_text_padding_left_right</item>
45        <item name="android:paddingTop">@dimen/main_text_padding_top</item>
46        <item name="android:textSize">@dimen/main_text_size</item>
47        <item name="android:textColor">@color/text_black</item>
48        <item name="android:lineSpacingMultiplier">1.2</item>
49    </style>
50
51    <style name="DialogFragmentTextContainer">
52        <item name="android:layout_width">@dimen/dialog_fragment_width</item>
53        <item name="android:layout_height">wrap_content</item>
54        <item name="android:orientation">vertical</item>
55        <item name="android:background">@color/white</item>
56        <item name="android:paddingBottom">@dimen/dialog_text_padding_bottom</item>
57        <item name="android:paddingTop">@dimen/dialog_text_padding_top</item>
58        <item name="android:textSize">@dimen/main_text_size</item>
59        <item name="android:layout_marginTop">@dimen/dialog_fragment_margin_top_bottom</item>
60        <item name="android:layout_marginBottom">@dimen/dialog_fragment_margin_top_bottom</item>
61    </style>
62
63    <style name="DialogFragmentScrollView" parent="@android:style/Widget.Material.Light.ScrollView">
64        <item name="android:layout_width">match_parent</item>
65        <item name="android:paddingLeft">@dimen/dialog_text_padding_left_right</item>
66        <item name="android:paddingRight">@dimen/dialog_text_padding_left_right</item>
67        <item name="android:fadeScrollbars">false</item>
68        <item name="android:scrollbarStyle">outsideOverlay</item>
69    </style>
70
71    <style name="Provisioning2Theme" parent="SudThemeGlifV3.DayNight">
72        <item name="android:windowBackground">@color/white</item>
73        <item name="android:colorBackground">@color/white</item>
74        <item name="swiper_color">@color/teal2</item>
75        <item name="sudMarginStart">@dimen/intro_margin</item>
76        <item name="sudMarginEnd">@dimen/intro_margin</item>
77    </style>
78
79    <style name="Provisioning2Theme.Text">
80        <item name="android:textColor">@color/black</item>
81    </style>
82
83    <style name="Provisioning2Theme.Text.Primary">
84        <item name="android:fontFamily">@string/sudFontSecondary</item>
85        <item name="android:textColor">?android:attr/textColorPrimary</item>
86        <!--notice: line height 20sp (textSize + leading)-->
87        <item name="android:textSize">16sp</item>
88        <item name="android:lineSpacingExtra">4sp</item>
89    </style>
90
91    <style name="InfoAnimationTitle" parent="SudBaseHeaderTitle">
92        <item name="android:layout_width">wrap_content</item>
93        <item name="android:layout_height">match_parent</item>
94        <item name="android:breakStrategy">balanced</item>
95        <item name="android:gravity">center</item>
96        <item name="android:singleLine">false</item>
97    </style>
98
99    <style name="Provisioning2Theme.Text.Secondary">
100        <item name="android:textColor">?android:attr/textColorSecondary</item>
101        <!--notice: line height 20sp (textSize + leading)-->
102        <item name="android:textSize">14sp</item>
103        <item name="android:lineSpacingExtra">6sp</item>
104    </style>
105
106    <style name="Provisioning2Theme.Text.Secondary.SmallerLineSpacing" parent="Provisioning2Theme.Text.Secondary">
107        <item name="android:lineSpacingExtra">4sp</item>
108        <item name="android:letterSpacing">0.01</item>
109    </style>
110
111    <style name="Provisioning2Theme.Text.Primary.Small" parent="Provisioning2Theme.Text.Primary">
112        <!--notice: line height 20sp (textSize + leading)-->
113        <item name="android:textSize">14sp</item>
114        <item name="android:lineSpacingExtra">6sp</item>
115        <item name="android:letterSpacing">0.02</item>
116    </style>
117
118    <style name="Provisioning2Theme.Text.Primary.Medium" parent="Provisioning2Theme.Text.Primary">
119        <!--notice: line height 24sp (textSize + leading)-->
120        <item name="android:textSize">16sp</item>
121        <item name="android:lineSpacingExtra">8sp</item>
122        <item name="android:letterSpacing">0.02</item>
123    </style>
124
125    <style name="Provisioning2Theme.Text.Primary.Large" parent="Provisioning2Theme.Text.Primary">
126        <!--notice: line height 24sp (textSize + leading)-->
127        <item name="android:textSize">20sp</item>
128        <item name="android:lineSpacingExtra">4sp</item>
129        <item name="android:letterSpacing">0</item>
130    </style>
131
132    <style name="Provisioning2Theme.Text.Secondary.Small">
133        <!--notice: line height 20sp (textSize + leading)-->
134        <item name="android:textSize">12sp</item>
135        <item name="android:lineSpacingExtra">8sp</item>
136    </style>
137
138    <style name="Provisioning2Theme.Button" parent="SudGlifButton.Primary">
139        <item name="android:paddingStart">@dimen/spacer_12</item>
140        <item name="android:paddingEnd">@dimen/spacer_12</item>
141        <item name="android:paddingTop">0dp</item>
142        <item name="android:paddingBottom">0dp</item>
143        <item name="android:minHeight">0dp</item>
144        <item name="android:layout_gravity">center_horizontal</item>
145        <item name="android:layout_width">wrap_content</item>
146        <item name="android:layout_height">wrap_content</item>
147        <item name="android:stateListAnimator">@null</item> <!-- removes button shadow -->
148        <item name="android:background">@drawable/button_ripple</item>
149    </style>
150
151    <style name="Provisioning2Theme.Button.Blue">
152        <item name="android:textColor">@color/white</item>
153        <item name="android:backgroundTint">@color/blue_background</item>
154    </style>
155
156    <style name="Provisioning2Theme.Button.Gray">
157        <item name="android:textColor">@color/gray_button_text</item>
158        <item name="android:backgroundTint">@color/gray</item>
159    </style>
160
161    <style name="Provisioning2Theme.Button.Transparent">
162        <item name="android:textColor">?attr/colorAccent</item>
163        <item name="android:background">@null</item>
164        <item name="android:textAllCaps">false</item>
165    </style>
166
167    <style name="Provisioning2Theme.TermsList">
168        <item name="android:layout_width">match_parent</item>
169        <item name="android:layout_height">match_parent</item>
170    </style>
171
172    <style name="SetupWizardPartnerResource">
173        <!-- Disable to use partner overlay theme for outside setupwizard flow. -->
174        <item name="sucUsePartnerResource">true</item>
175        <!-- Enable heavy theme style. -->
176        <item name="sudUsePartnerHeavyTheme">true</item>
177    </style>
178</resources>
179
180