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:android="http://schemas.android.com/apk/res/android">
19    <style name="track_meta_text">
20        <item name="android:layout_width">wrap_content</item>
21        <item name="android:layout_height">12dp</item>
22        <item name="android:layout_marginEnd">4dp</item>
23        <item name="android:gravity">center</item>
24        <item name="android:paddingStart">4dp</item>
25        <item name="android:paddingEnd">4dp</item>
26        <item name="android:textSize">@dimen/channel_banner_track_meta_text_size</item>
27        <item name="android:textStyle">bold</item>
28        <item name="android:fontFamily">sans-serif</item>
29        <item name="android:textColor">#455A64</item>
30        <item name="android:textAllCaps">true</item>
31        <item name="android:background">@drawable/track_meta_border</item>
32    </style>
33
34    <style name="track_meta_text.channel_banner">
35        <item name="android:layout_marginEnd">8dp</item>
36    </style>
37
38    <style name="pin_dialog_animation" parent="@android:style/Animation.Activity">
39        <item name="android:windowEnterAnimation">@anim/pin_dialog_enter</item>
40        <item name="android:windowExitAnimation">@anim/pin_dialog_exit</item>
41    </style>
42
43    <style name="text_appearance_channel_banner_episode_title">
44        <item name="android:textColor">@color/channel_banner_episode_text_color</item>
45    </style>
46
47    <style name="text_appearance_card_view_episode_number">
48        <item name="android:textColor">@color/dvr_card_episode_text_color</item>
49    </style>
50
51    <style name="pin_number_view">
52        <item name="android:layout_width">@dimen/pin_number_picker_text_view_width</item>
53        <item name="android:layout_height">@dimen/pin_number_picker_text_view_height</item>
54        <item name="android:gravity">center</item>
55        <item name="android:textSize">@dimen/pin_number_picker_text_size</item>
56        <item name="android:textColor">@color/pin_number_picker_text_color</item>
57        <item name="android:fontFamily">@string/light_font</item>
58    </style>
59
60    <style name="menu_row_view">
61        <item name="android:layout_width">match_parent</item>
62        <item name="android:layout_height">wrap_content</item>
63        <item name="android:orientation">vertical</item>
64        <item name="android:focusable">true</item>
65        <item name="android:descendantFocusability">afterDescendants</item>
66    </style>
67
68    <!-- To maximize the height of the contents view, keep the height of the TextView as small as possible. -->
69    <style name="menu_row_title_view">
70        <item name="android:layout_width">@dimen/menu_row_title_width</item>
71        <item name="android:layout_height">wrap_content</item>
72        <item name="android:layout_marginStart">@dimen/menu_padding_start</item>
73        <item name="android:layout_marginEnd">@dimen/menu_padding_end</item>
74        <item name="android:fontFamily">@string/condensed_font</item>
75        <item name="android:textAlignment">gravity</item>
76        <item name="android:gravity">start</item>
77        <item name="android:textColor">@color/menu_row_title</item>
78        <item name="android:textSize">@dimen/menu_row_title_text_size_deselected</item>
79        <item name="android:transformPivotX">@dimen/menu_row_title_transform_pivot_x</item>
80        <item name="android:alpha">@dimen/menu_row_title_alpha_deselected</item>
81    </style>
82
83    <style name="menu_row_contents_view">
84        <item name="android:layout_width">match_parent</item>
85        <item name="android:layout_height">match_parent</item>
86        <item name="android:paddingStart">@dimen/menu_padding_start</item>
87        <item name="android:paddingEnd">@dimen/menu_padding_end</item>
88        <item name="android:paddingTop">@dimen/menu_row_contents_padding_top</item>
89    </style>
90
91    <style name="dvr_card_view_title_text">
92        <item name="android:textSize">14sp</item>
93        <item name="android:textColor">@color/lb_basic_card_title_text_color</item>
94        <item name="android:fontFamily">sans-serif-condensed</item>
95        <item name="android:maxLines">@integer/dvr_card_title_max_lines_folded</item>
96        <item name="android:ellipsize">end</item>
97    </style>
98
99    <style name="dvr_card_view_content_text" parent="dvr_card_view_title_text">
100        <item name="android:textSize">12sp</item>
101        <item name="android:textColor">@color/lb_basic_card_content_text_color</item>
102    </style>
103
104    <style name="Animation.SelectInputActivity" parent="android:Animation.Activity">
105        <item name="android:windowEnterAnimation">@anim/select_input_activity_enter</item>
106        <item name="android:windowExitAnimation">@anim/select_input_activity_exit</item>
107    </style>
108
109    <style name="TV.DoneButtonContainerStyle" parent="DoneButtonContainerStyle">
110        <item name="android:background">@color/setup_done_button_container_background</item>
111    </style>
112
113    <style name="TV.HalfSizedDialogAnim" parent="android:Animation">
114        <item name="android:windowEnterAnimation">@anim/half_sized_dialog_enter</item>
115        <item name="android:windowExitAnimation">@anim/half_sized_dialog_exit</item>
116    </style>
117
118    <style name="TV.Dvr.GuidanceTitleStyle" parent="Widget.Setup.GuidanceTitleStyle">
119        <item name="android:layout_alignParentStart">false</item>
120        <item name="android:layout_toStartOf">@null</item>
121        <item name="android:layout_marginTop">0dp</item>
122        <item name="android:layout_width">match_parent</item>
123        <item name="android:textSize">34sp</item>
124        <item name="android:fontFamily">@string/light_font</item>
125        <item name="android:gravity">start</item>
126    </style>
127
128    <style name="TV.Dvr.GuidanceBreadcrumbStyle" parent="Widget.Setup.GuidanceBreadcrumbStyle">
129        <item name="android:layout_marginTop">55dp</item>
130    </style>
131
132    <style name="TV.Dvr.GuidanceDescriptionStyle" parent="Widget.Setup.GuidanceDescriptionStyle">
133        <item name="android:layout_alignParentStart">false</item>
134        <item name="android:layout_width">match_parent</item>
135        <item name="android:fontFamily">@string/light_font</item>
136        <item name="android:textColor">#ADEEEEEE</item>
137        <item name="android:gravity">start</item>
138    </style>
139
140    <!-- Style for the icon view in a half sized dialog. -->
141    <style name="TV.Dvr.GuidanceIconStyle" parent="Widget.Leanback.GuidanceIconStyle">
142        <item name="android:layout_width">60dp</item>
143        <item name="android:layout_height">60dp</item>
144    </style>
145
146    <style name="TV.Dvr.GuidedActionsListStyle" parent="Widget.Leanback.GuidedActionsListStyle">
147        <item name="android:layout_marginTop">51dp</item>
148        <item name="android:layout_marginBottom">10dp</item>
149        <item name="android:layout_marginEnd">56dp</item>
150    </style>
151
152    <style name="TV.Dvr.GuidedActionItemContainerStyle" parent="Widget.Setup.GuidedActionItemContainerStyle">
153        <item name="android:layout_height">48dp</item>
154        <item name="android:paddingEnd">16dp</item>
155        <item name="android:paddingStart">16dp</item>
156    </style>
157
158    <style name="TV.Dvr.GuidedActionItemContainerStyle.Twoline.Action" parent="TV.Dvr.GuidedActionItemContainerStyle">
159        <item name="android:layout_height">64dp</item>
160    </style>
161
162    <style name="TV.Dvr.Conflict.GuidanceTitleStyle" parent="TV.Dvr.GuidanceTitleStyle">
163        <item name="android:textSize">28sp</item>
164    </style>
165
166    <style name="TV.Dvr.Conflict.GuidedActionsListStyle" parent="TV.Dvr.GuidedActionsListStyle">
167        <item name="android:layout_marginTop">30dp</item>
168    </style>
169
170    <style name="TV.Dvr.Settings.GuidedSubActionsListStyle" parent="Widget.Leanback.GuidedSubActionsListStyle">
171        <item name="android:layout_marginTop">51dp</item>
172        <item name="android:paddingTop">10dp</item>
173        <item name="android:layout_marginBottom">51dp</item>
174        <item name="android:background">@color/common_setup_done_container_background</item>
175    </style>
176
177    <style name="TV.Dvr.Settings.GuidedButtonActionsListStyle" parent="Widget.Leanback.GuidedButtonActionsListStyle">
178        <item name="android:background">@color/common_setup_done_container_background</item>
179    </style>
180
181    <style name="TV.Dvr.Settings.Priority.GuidedActionItemContainerStyle" parent="Widget.Setup.GuidedActionItemContainerStyle">
182        <item name="android:layout_height">@dimen/dvr_settings_one_line_action_container_height</item>
183    </style>
184
185    <style name="TV.Dvr.Series.Deletion.guidedActionItemCheckmarkStyle" parent="Widget.Leanback.GuidedActionItemCheckmarkStyle">
186        <item name="android:layout_width">@dimen/dvr_deletion_check_mark_size</item>
187        <item name="android:layout_height">@dimen/dvr_deletion_check_mark_size</item>
188        <item name="android:layout_marginEnd">@dimen/dvr_deletion_check_mark_margin</item>
189    </style>
190
191    <style name="TV.Dvr.Browse.DetailsDescriptionTitleStyle" parent="Widget.Leanback.DetailsDescriptionTitleStyle">
192        <item name="resizedTextSize">@dimen/dvr_details_description_title_resized_text_size</item>
193        <item name="resizedPaddingAdjustmentTop">@dimen/dvr_details_description_title_padding_adjust_top</item>
194        <item name="resizedPaddingAdjustmentBottom">@dimen/dvr_details_description_title_padding_adjust_bottom</item>
195    </style>
196</resources>