blob: c11ea17bd5bb82df65355e77673897821e32df5e [file] [log] [blame]
Alexandre Lision6158d1a2014-01-07 17:09:18 -05001<resources xmlns:android="http://schemas.android.com/apk/res/android">
Adrien Béraudffd32412012-08-07 18:39:23 -04002
Adrien Béraudb179bab2015-10-08 12:04:22 -04003 <style name="AppThemeBase" parent="@style/Theme.AppCompat.Light.NoActionBar">
Adrien Béraudb179bab2015-10-08 12:04:22 -04004 <item name="colorAccent">@color/color_primary_dark</item>
5 <item name="colorPrimary">@color/color_primary_light</item>
6 <item name="colorPrimaryDark">@color/color_primary_dark</item>
Adrien Béraud2457c332015-11-19 11:53:26 -05007 <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
Adrien Béraud433a8592015-06-17 16:25:44 -04008 </style>
9
Adrien Beraud6d9e3a32017-06-06 11:32:53 +020010 <style name="AppTheme.ActionBar.Transparent" parent="@style/Theme.AppCompat.Light">
Alexandre Lision0b16eea2016-05-27 15:24:54 -040011 <item name="android:windowContentOverlay">@null</item>
12 <item name="android:windowActionBarOverlay">true</item>
13 <item name="android:actionBarStyle">@style/ActionBar.Transparent</item>
14 <item name="actionBarStyle">@style/ActionBar.Transparent</item>
15 </style>
16
17 <style name="ActionBar.Transparent" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid.Inverse">
Hadrien De Sousaccc947d2017-04-12 14:26:52 -040018 <item name="android:background">@color/transparent_dark_grey</item>
Alexandre Lision0b16eea2016-05-27 15:24:54 -040019 <item name="android:height">@dimen/abc_action_bar_default_height_material</item>
Hadrien De Sousaccc947d2017-04-12 14:26:52 -040020 <item name="background">@color/transparent_dark_grey</item>
Alexandre Lision0b16eea2016-05-27 15:24:54 -040021 </style>
22
23 <style name="ToolbarTitle" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Title">
24 <item name="android:textSize">20sp</item>
25 </style>
26
27 <style name="MenuHeader" parent="Theme.AppCompat.Light.NoActionBar">
28 <item name="android:textColorPrimary">@color/text_color_primary_dark</item>
29 <item name="android:textColorSecondary">@color/text_color_secondary_dark</item>
Alexandre Lision6158d1a2014-01-07 17:09:18 -050030 </style>
Emeric Vigier2f625822012-08-06 11:09:52 -040031
Alexandre Lision6158d1a2014-01-07 17:09:18 -050032 <style name="AccountFormContainer">
alision5cfc35d2013-07-11 15:11:39 -040033 <item name="android:layout_width">match_parent</item>
34 <item name="android:layout_height">wrap_content</item>
35 <item name="android:padding">16dp</item>
36 </style>
Alexandre Lision6158d1a2014-01-07 17:09:18 -050037
Adrien Béraud433a8592015-06-17 16:25:44 -040038 <style name="Subheader">
39 <item name="android:textSize">14sp</item>
40 <item name="android:typeface">normal</item>
Adrien Béraud16b8b442015-10-12 19:36:54 -040041 <item name="android:textColor">@color/text_color_secondary</item>
Adrien Béraud433a8592015-06-17 16:25:44 -040042 </style>
43
44 <style name="ListPrimary">
45 <item name="android:textSize">16sp</item>
46 <item name="android:typeface">normal</item>
Adrien Béraud16b8b442015-10-12 19:36:54 -040047 <item name="android:textColor">@color/text_color_primary</item>
Adrien Béraud433a8592015-06-17 16:25:44 -040048 </style>
49
50 <style name="ListSecondary">
51 <item name="android:textSize">14sp</item>
52 <item name="android:typeface">normal</item>
Adrien Béraud16b8b442015-10-12 19:36:54 -040053 <item name="android:textColor">@color/text_color_secondary</item>
Alexandre Lision6158d1a2014-01-07 17:09:18 -050054 </style>
Loïc Siret7642f732017-09-26 14:37:56 -040055
Loïc Siret8d9259c2016-10-20 10:11:41 -040056 <style name="ActionEditText" parent="Theme.AppCompat.Light.DarkActionBar">
57 <item name="colorControlNormal">@color/color_primary_light</item>
58 <item name="colorControlActivated">@color/color_primary_light</item>
59 <item name="colorControlHighlight">@color/color_primary_light</item>
60 </style>
Loïc Siret7642f732017-09-26 14:37:56 -040061
Adrien Béraudbb01be72017-02-10 16:50:23 -050062 <style name="Wizard" parent="Theme.AppCompat">
63 <item name="colorAccent">@color/color_primary_light</item>
64 <item name="colorPrimary">@color/color_primary_dark</item>
65 <item name="colorPrimaryDark">@color/color_primary_light</item>
Aline Bonnet2d87ebb2016-11-10 15:41:56 -050066 </style>
Loïc Siret7642f732017-09-26 14:37:56 -040067
Adrien Béraudbb01be72017-02-10 16:50:23 -050068 <style name="WizardNavButton" parent="Widget.AppCompat.Button.Borderless.Colored">
69 <item name="android:paddingLeft">20dp</item>
70 <item name="android:paddingStart">20dp</item>
71 <item name="android:paddingRight">20dp</item>
72 <item name="android:paddingEnd">20dp</item>
73 <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.Button</item>
Hadrien De Sousa75e50672017-02-23 14:45:56 -050074 <item name="android:textColor">@color/white</item>
Aline Bonnetad118ce2016-11-16 16:21:02 -050075 </style>
Loïc Siret7642f732017-09-26 14:37:56 -040076
Aline Bonnet2d87ebb2016-11-10 15:41:56 -050077 <style name="ButtonColoredInverse" parent="Widget.AppCompat.Button.Colored">
78 <item name="colorButtonNormal">@color/color_primary_light</item>
79 <item name="android:textColor">@color/text_color_primary_dark</item>
Adrien Béraudbb01be72017-02-10 16:50:23 -050080 <item name="android:paddingLeft">20dp</item>
81 <item name="android:paddingStart">20dp</item>
82 <item name="android:paddingRight">20dp</item>
83 <item name="android:paddingEnd">20dp</item>
Aline Bonnet2d87ebb2016-11-10 15:41:56 -050084 </style>
Loïc Siret7642f732017-09-26 14:37:56 -040085
Aline Bonnet2d87ebb2016-11-10 15:41:56 -050086 <style name="ButtonColored" parent="Widget.AppCompat.Button.Colored">
87 <item name="colorButtonNormal">@color/color_primary_dark</item>
88 <item name="android:textColor">@color/text_color_primary_dark</item>
89 </style>
Loïc Siret2fd8d6c2017-08-04 11:15:52 -040090
91 <!-- AndroidTV Style -->
92 <style name="Widget.Ring.Leanback.GuidanceIconStyle" parent="Widget.Leanback.GuidanceIconStyle">
93 <item name="android:background">@color/color_primary_light</item>
94 </style>
Loïc Siret7642f732017-09-26 14:37:56 -040095
Loïc Siret2fd8d6c2017-08-04 11:15:52 -040096 <style name="Widget.Ring.Leanback.FirstStepGuidanceIconStyle" parent="Widget.Leanback.GuidanceIconStyle">
97 <item name="android:background">@color/color_primary_light</item>
98 </style>
Loïc Siret7642f732017-09-26 14:37:56 -040099
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400100 <style name="Widget.Ring.Leanback.SecondStepGuidanceIconStyle" parent="Widget.Leanback.GuidanceIconStyle">
101 <item name="android:padding">24dp</item>
102 </style>
Loïc Siret7642f732017-09-26 14:37:56 -0400103
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400104 <style name="Theme.Ring.Leanback.GuidedStep" parent="Theme.Leanback.GuidedStep">
105 <item name="guidanceIconStyle">@style/Widget.Ring.Leanback.GuidanceIconStyle</item>
106 </style>
Loïc Siret7642f732017-09-26 14:37:56 -0400107
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400108 <style name="Theme.Ring.Leanback.GuidedStep.First">
109 <item name="guidanceIconStyle">@style/Widget.Ring.Leanback.FirstStepGuidanceIconStyle</item>
110 <item name="guidedStepBackground">@color/color_primary_light</item>
111 </style>
Loïc Siret5ef225d2017-08-14 11:31:16 -0400112
113 <style name="Theme.Ring.LeanbackBrowse" parent="Theme.Leanback.Browse">
114 <item name="defaultSearchColor">@color/color_primary_light</item>
Loïc Siret7642f732017-09-26 14:37:56 -0400115 <item name="searchOrbViewStyle">@style/CustomSearchOrbView</item>
116
Loïc Siret5ef225d2017-08-14 11:31:16 -0400117 </style>
118
119 <style name="Theme.Ring.Leanback.CustomTitle" parent="Theme.Ring.LeanbackBrowse">
120 <item name="browseTitleViewLayout">@layout/titleview</item>
121 </style>
Loïc Siret7642f732017-09-26 14:37:56 -0400122
123 <style name="Theme.Ring.Leanback" parent="Theme.Leanback">
124 <item name="searchOrbViewStyle">@style/CustomSearchOrbView</item>
125 </style>
126
127 <style name="CustomSearchOrbView" parent="Widget.Leanback.SearchOrbViewStyle">
128 <item name="searchOrbIcon">@drawable/ic_personadd</item>
129 </style>
130
131
Loïc Siret6c71b942017-08-28 15:45:07 -0400132 <!-- A default card style. Used in cards example. -->
133 <style name="DefaultCardImageStyle" parent="Widget.Leanback.ImageCardView.ImageStyle">
134 <item name="android:layout_width">@dimen/default_image_card_width</item>
135 <item name="android:layout_height">@dimen/default_image_card_height</item>
136 </style>
137
138 <style name="DefaultCardStyle" parent="Widget.Leanback.ImageCardViewStyle">
139 <item name="cardBackground">@null</item>
140 </style>
141
142 <style name="DefaultCardTheme" parent="Theme.Leanback">
143 <item name="imageCardViewStyle">@style/DefaultCardStyle</item>
144 <item name="imageCardViewImageStyle">@style/DefaultCardImageStyle</item>
145 </style>
146
147 <!-- Icon card style with custom focus handler. Used in cards example. -->
148 <style name="IconCardViewStyle" parent="DefaultCardStyle">
149 <item name="lbImageCardViewType">Title</item>
150 </style>
151
Loïc Siret74f6cc92017-09-06 15:01:10 -0400152 <style name="ContactTitleViewStyle" parent="DefaultCardStyle">
153 <item name="lbImageCardViewType">Title</item>
154 </style>
155
156 <style name="ContactCompleteCardViewStyle" parent="DefaultCardStyle">
157 <item name="lbImageCardViewType">Title|Content</item>
158 </style>
159
Loïc Siret6c71b942017-08-28 15:45:07 -0400160 <style name="IconCardImageStyle" parent="Widget.Leanback.ImageCardView.ImageStyle">
161 <item name="android:layout_width">96dp</item>
162 <item name="android:layout_height">96dp</item>
163 <item name="android:padding">16dp</item>
164 </style>
165
166 <style name="IconCardTitleStyle" parent="Widget.Leanback.ImageCardView.TitleStyle">
167 <item name="android:maxLines">2</item>
168 <item name="android:minLines">2</item>
Loïc Siret9d5aea12017-08-28 15:17:25 -0400169 <item name="android:textAlignment">center</item>
Loïc Siret6c71b942017-08-28 15:45:07 -0400170 <item name="android:gravity">center</item>
171 </style>
172
173 <style name="IconCardInfoAreaStyle" parent="Widget.Leanback.ImageCardView.InfoAreaStyle">
174 <item name="android:layout_width">96dp</item>
175 <item name="android:background">@null</item>
176 <item name="layout_viewType">main</item>
177 </style>
178
Loïc Siret74f6cc92017-09-06 15:01:10 -0400179 <!-- A Search card style. Used in cards example. -->
180 <style name="SearchCardImageStyle" parent="Widget.Leanback.ImageCardView.ImageStyle">
Loïc Siret6c71b942017-08-28 15:45:07 -0400181 <item name="android:layout_width">@dimen/search_image_card_width</item>
182 <item name="android:layout_height">@dimen/search_image_card_height</item>
183 </style>
184
185 <style name="SearchCardStyle" parent="Widget.Leanback.ImageCardViewStyle">
186 <item name="cardBackground">@null</item>
187 <item name="android:layout_width">96dp</item>
188 <item name="android:layout_height">96dp</item>
Loïc Siret74f6cc92017-09-06 15:01:10 -0400189 <item name="lbImageCardViewType">Title</item>
Loïc Siret6c71b942017-08-28 15:45:07 -0400190 </style>
191
Loïc Siret74f6cc92017-09-06 15:01:10 -0400192 <style name="ContactCardTheme" parent="DefaultCardTheme">
193 <item name="imageCardViewStyle">@style/ContactTitleViewStyle</item>
194 </style>
Loïc Siret7642f732017-09-26 14:37:56 -0400195
Loïc Siret74f6cc92017-09-06 15:01:10 -0400196 <style name="ContactCompleteCardTheme" parent="DefaultCardTheme">
197 <item name="imageCardViewStyle">@style/ContactCompleteCardViewStyle</item>
198 </style>
Loïc Siret7642f732017-09-26 14:37:56 -0400199
Loïc Siret74f6cc92017-09-06 15:01:10 -0400200 <style name="SearchCardTheme" parent="Theme.Leanback">
Loïc Siret6c71b942017-08-28 15:45:07 -0400201 <item name="imageCardViewStyle">@style/SearchCardStyle</item>
Loïc Siret74f6cc92017-09-06 15:01:10 -0400202 <item name="imageCardViewImageStyle">@style/SearchCardImageStyle</item>
Loïc Siret6c71b942017-08-28 15:45:07 -0400203 </style>
204 <!-- Theme corresponding to the IconCardStyle -->
205 <style name="IconCardTheme" parent="Theme.Leanback">
206 <item name="imageCardViewStyle">@style/IconCardViewStyle</item>
207 <item name="imageCardViewTitleStyle">@style/IconCardTitleStyle</item>
208 <item name="imageCardViewImageStyle">@style/IconCardImageStyle</item>
209 <item name="imageCardViewInfoAreaStyle">@style/IconCardInfoAreaStyle</item>
210 </style>
Loïc Siret5ef225d2017-08-14 11:31:16 -0400211
Emeric Vigier2f625822012-08-06 11:09:52 -0400212</resources>