1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2014 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<resources>
18    <dimen name="lb_list_row_height">224dp</dimen>
19
20    <dimen name="lb_browse_padding_start">56dp</dimen>
21    <dimen name="lb_browse_padding_top">27dp</dimen>
22    <dimen name="lb_browse_padding_end">56dp</dimen>
23    <dimen name="lb_browse_padding_bottom">48dp</dimen>
24    <dimen name="lb_browse_rows_margin_start">238dp</dimen>
25    <dimen name="lb_browse_rows_margin_top">167dp</dimen>
26    <dimen name="lb_browse_rows_fading_edge">16dp</dimen>
27    <dimen name="lb_vertical_grid_padding_bottom">87dp</dimen>
28
29    <dimen name="lb_browse_title_height">60dp</dimen>
30    <dimen name="lb_browse_title_icon_max_width">584dp</dimen>
31    <dimen name="lb_browse_title_icon_height">60dp</dimen>
32    <dimen name="lb_browse_title_text_size">44sp</dimen>
33    <dimen name="lb_browse_title_text_width">584dp</dimen>
34
35    <dimen name="lb_browse_headers_width">270dp</dimen>
36    <integer name="lb_browse_headers_transition_delay">150</integer>
37    <integer name="lb_browse_headers_transition_duration">250</integer>
38    <integer name="lb_browse_rows_anim_duration">250</integer>
39    <item name="lb_browse_rows_scale" type="fraction">80%</item>
40
41    <!-- Derived from the ux spec of 48dp baseline to baseline -->
42    <dimen name="lb_browse_headers_vertical_margin">21dp</dimen>
43    <dimen name="lb_browse_header_text_size">20sp</dimen>
44    <dimen name="lb_browse_header_height">24dp</dimen>
45    <dimen name="lb_browse_header_fading_length">12dp</dimen>
46    <dimen name="lb_browse_header_padding_end">8dp</dimen>
47
48    <item name="lb_browse_header_select_duration" format="integer" type="dimen">150</item>
49    <item name="lb_browse_header_unselect_alpha" type="fraction">50%</item>
50    <item name="lb_browse_header_select_scale" format="float" type="dimen">1.2</item>
51
52    <dimen name="lb_browse_row_hovercard_max_width">400dp</dimen>
53    <dimen name="lb_browse_row_hovercard_title_font_size">18sp</dimen>
54    <dimen name="lb_browse_row_hovercard_description_font_size">14sp</dimen>
55    <dimen name="lb_browse_item_horizontal_margin">8dp</dimen>
56    <dimen name="lb_browse_item_vertical_margin">8dp</dimen>
57    <dimen name="lb_browse_selected_row_top_padding">20dp</dimen>
58    <dimen name="lb_browse_expanded_selected_row_top_padding">16dp</dimen>
59    <dimen name="lb_browse_expanded_row_no_hovercard_bottom_padding">28dp</dimen>
60
61    <item name="lb_focus_zoom_factor_xsmall" type="fraction">106%</item>
62    <item name="lb_focus_zoom_factor_small" type="fraction">110%</item>
63    <item name="lb_focus_zoom_factor_medium" type="fraction">114%</item>
64    <item name="lb_focus_zoom_factor_large" type="fraction">118%</item>
65
66    <dimen name="lb_details_overview_height_large">274dp</dimen>
67    <dimen name="lb_details_overview_height_small">159dp</dimen>
68    <dimen name="lb_details_overview_margin_start">132dp</dimen>
69    <dimen name="lb_details_overview_margin_end">132dp</dimen>
70    <dimen name="lb_details_overview_margin_bottom">40dp</dimen>
71
72    <dimen name="lb_details_overview_description_margin_top">24dp</dimen>
73    <dimen name="lb_details_overview_description_margin_start">24dp</dimen>
74    <dimen name="lb_details_overview_description_margin_end">24dp</dimen>
75    <dimen name="lb_details_overview_description_margin_bottom">12dp</dimen>
76    <dimen name="lb_details_overview_image_margin_horizontal">24dp</dimen>
77    <dimen name="lb_details_overview_image_margin_vertical">24dp</dimen>
78    <dimen name="lb_details_overview_action_items_margin">16dp</dimen>
79    <item name="lb_details_overview_action_select_duration" format="integer" type="dimen">150</item>
80    <dimen name="lb_details_overview_actions_padding_start">294dp</dimen>
81    <dimen name="lb_details_overview_actions_padding_end">132dp</dimen>
82    <dimen name="lb_details_overview_actions_height">56dp</dimen>
83    <dimen name="lb_details_overview_actions_fade_size">16dp</dimen>
84    <dimen name="lb_details_rows_align_top">167dp</dimen>
85
86    <dimen name="lb_details_description_title_text_size">34sp</dimen>
87    <dimen name="lb_details_description_title_resized_text_size">28sp</dimen>
88    <dimen name="lb_details_description_title_padding_adjust_top">-1dp</dimen>
89    <dimen name="lb_details_description_title_padding_adjust_bottom">2dp</dimen>
90    <dimen name="lb_details_description_subtitle_text_size">16sp</dimen>
91    <dimen name="lb_details_description_body_text_size">14sp</dimen>
92    <dimen name="lb_details_description_title_line_spacing">40dp</dimen>
93    <dimen name="lb_details_description_body_line_spacing">20dp</dimen>
94    <dimen name="lb_details_description_title_baseline">26dp</dimen>
95    <dimen name="lb_details_description_under_title_baseline_margin">32dp</dimen>
96    <dimen name="lb_details_description_under_subtitle_baseline_margin">32dp</dimen>
97
98    <integer name="lb_details_description_title_max_lines">2</integer>
99    <integer name="lb_details_description_subtitle_max_lines">1</integer>
100    <integer name="lb_details_description_body_max_lines">5</integer>
101    <integer name="lb_details_description_body_min_lines">3</integer>
102
103    <dimen name="lb_details_v2_logo_max_width">150dp</dimen>
104    <dimen name="lb_details_v2_logo_max_height">210dp</dimen>
105    <dimen name="lb_details_v2_blank_height">160dp</dimen>
106    <dimen name="lb_details_v2_card_height">540dp</dimen>
107    <dimen name="lb_details_v2_left">270dip</dimen>
108    <dimen name="lb_details_v2_logo_margin_start">128dp</dimen>
109    <dimen name="lb_details_v2_actions_height">56dip</dimen>
110    <dimen name="lb_details_v2_description_margin_start">24dp</dimen>
111    <dimen name="lb_details_v2_description_margin_end">54dp</dimen>
112    <dimen name="lb_details_v2_description_margin_top">24dp</dimen>
113    <dimen name="lb_details_v2_align_pos_for_actions">270dp</dimen>
114    <dimen name="lb_details_v2_align_pos_for_description">0dp</dimen>
115
116    <dimen name="lb_action_1_line_height">36dp</dimen>
117    <dimen name="lb_action_2_lines_height">56dp</dimen>
118    <dimen name="lb_action_padding_horizontal">24dp</dimen>
119    <dimen name="lb_action_with_icon_padding_start">14dp</dimen>
120    <dimen name="lb_action_with_icon_padding_end">20dp</dimen>
121    <dimen name="lb_action_icon_margin">12dp</dimen>
122    <dimen name="lb_action_text_size">16sp</dimen>
123    <dimen name="lb_action_button_corner_radius">2dp</dimen>
124
125    <dimen name="lb_playback_controls_align_bottom">58dp</dimen>
126    <dimen name="lb_playback_controls_padding_bottom">28dp</dimen>
127    <dimen name="lb_playback_major_fade_translate_y">200dp</dimen>
128    <dimen name="lb_playback_minor_fade_translate_y">16dp</dimen>
129    <dimen name="lb_playback_controls_card_height">176dp</dimen>
130    <dimen name="lb_playback_controls_margin_start">132dp</dimen>
131    <dimen name="lb_playback_controls_margin_end">132dp</dimen>
132    <dimen name="lb_playback_controls_margin_bottom">20dp</dimen>
133    <dimen name="lb_playback_description_margin_top">24dp</dimen>
134    <dimen name="lb_playback_description_margin_start">24dp</dimen>
135    <dimen name="lb_playback_description_margin_end">24dp</dimen>
136    <dimen name="lb_playback_controls_time_text_size">12sp</dimen>
137    <dimen name="lb_playback_current_time_margin_start">16dp</dimen>
138    <dimen name="lb_playback_total_time_margin_end">16dp</dimen>
139    <dimen name="lb_playback_time_padding_top">8dp</dimen>
140    <dimen name="lb_playback_controls_child_margin_default">48dp</dimen>
141    <dimen name="lb_playback_controls_child_margin_bigger">64dp</dimen>
142    <dimen name="lb_playback_controls_child_margin_biggest">88dp</dimen>
143
144    <dimen name="lb_control_button_diameter">90dp</dimen>
145    <dimen name="lb_control_button_height">64dp</dimen>
146    <dimen name="lb_control_button_secondary_diameter">48dp</dimen>
147    <dimen name="lb_control_button_secondary_height">48dp</dimen>
148    <dimen name="lb_control_icon_width">32dp</dimen>
149    <dimen name="lb_control_icon_height">32dp</dimen>
150    <dimen name="lb_control_button_text_size">22sp</dimen>
151
152    <dimen name="lb_error_image_max_height">120dp</dimen>
153    <integer name="lb_error_message_max_lines">1</integer>
154    <dimen name="lb_error_message_max_width">600dp</dimen>
155    <dimen name="lb_error_message_text_size">16sp</dimen>
156    <dimen name="lb_error_under_image_baseline_margin">36dp</dimen>
157    <dimen name="lb_error_under_message_baseline_margin">24dp</dimen>
158
159    <item name="lb_view_active_level" type="fraction">0%</item>
160    <item name="lb_view_dimmed_level" type="fraction">60%</item>
161
162    <!-- Search bar -->
163    <dimen name="lb_search_bar_height">60dp</dimen>
164    <dimen name="lb_search_bar_padding_start">56dp</dimen>
165    <dimen name="lb_search_bar_padding_top">27dp</dimen>
166
167    <dimen name="lb_search_bar_text_size">18sp</dimen>
168    <dimen name="lb_search_bar_unfocused_text_size">18sp</dimen>
169    <dimen name="lb_search_bar_items_layout_margin_top">27dp</dimen>
170    <dimen name="lb_search_bar_items_width">600dp</dimen>
171    <dimen name="lb_search_bar_items_height">56dp</dimen>
172    <dimen name="lb_search_bar_items_margin_start">70dp</dimen>
173    <dimen name="lb_search_bar_inner_margin_top">2dp</dimen>
174    <dimen name="lb_search_bar_inner_margin_bottom">2dp</dimen>
175    <dimen name="lb_search_bar_icon_height">32dp</dimen>
176    <dimen name="lb_search_bar_icon_width">32dp</dimen>
177    <dimen name="lb_search_bar_icon_margin_start">16dp</dimen>
178    <dimen name="lb_search_bar_edit_text_margin_start">24dp</dimen>
179    <dimen name="lb_search_bar_hint_margin_start">52dp</dimen>
180
181
182    <!-- Search Fragment -->
183    <dimen name="lb_search_browse_rows_align_top">120dp</dimen>
184    <dimen name="lb_search_browse_row_padding_start">56dp</dimen>
185
186    <dimen name="lb_search_orb_size">52dp</dimen>
187    <item name="lb_search_orb_focused_zoom" type="fraction">120%</item>
188    <item name="lb_search_orb_pulse_duration_ms" type="integer">1000</item>
189    <item name="lb_search_orb_scale_duration_ms" type="integer">150</item>
190
191    <dimen name="lb_search_orb_margin_top">4dp</dimen>
192    <dimen name="lb_search_orb_margin_bottom">4dp</dimen>
193    <dimen name="lb_search_orb_margin_start">4dp</dimen>
194    <dimen name="lb_search_orb_margin_end">4dp</dimen>
195
196    <dimen name="lb_search_bar_speech_orb_size">52dp</dimen>
197    <item name="lb_search_bar_speech_orb_max_level_zoom" type="fraction">144%</item>
198    <dimen name="lb_search_bar_speech_orb_margin_start">56dp</dimen>
199
200    <!-- BasicCardView -->
201    <dimen name="lb_basic_card_main_width">140dp</dimen>
202    <dimen name="lb_basic_card_main_height">188dp</dimen>
203    <dimen name="lb_basic_card_info_height">52dp</dimen>
204    <dimen name="lb_basic_card_info_height_no_content">34dp</dimen>
205    <dimen name="lb_basic_card_info_padding_top">7dp</dimen>
206    <dimen name="lb_basic_card_info_padding_horizontal">11dp</dimen>
207    <dimen name="lb_basic_card_info_text_margin">1dp</dimen>
208    <dimen name="lb_basic_card_title_text_size">14sp</dimen>
209    <dimen name="lb_basic_card_content_text_size">12sp</dimen>
210    <dimen name="lb_basic_card_info_badge_size">16dp</dimen>
211    <dimen name="lb_basic_card_info_badge_margin">4dp</dimen>
212
213    <!-- z based shadow -->
214    <dimen name="lb_material_shadow_normal_z">6dp</dimen>
215    <dimen name="lb_material_shadow_focused_z">16dp</dimen>
216    <dimen name="lb_material_shadow_details_z">8dp</dimen>
217    <dimen name="lb_search_orb_unfocused_z">2dp</dimen>
218    <dimen name="lb_search_orb_focused_z">8dp</dimen>
219    <dimen name="lb_details_overview_z">@dimen/lb_material_shadow_details_z</dimen>
220    <dimen name="lb_playback_controls_z">@dimen/lb_material_shadow_details_z</dimen>
221    <dimen name="lb_browse_headers_z">@dimen/lb_material_shadow_focused_z</dimen>
222
223    <dimen name="lb_rounded_rect_corner_radius">2dp</dimen>
224
225    <!-- GuidedStepFragment -->
226    <dimen name="lb_guidedstep_guidance_section_width">576dp</dimen>
227    <dimen name="lb_guidedstep_slide_start_distance">-200dp</dimen>
228    <dimen name="lb_guidedstep_slide_end_distance">200dp</dimen>
229
230    <dimen name="lb_guidance_entry_translationX">-120dp</dimen>
231
232    <dimen name="lb_guidedactions_entry_translationX">384dp</dimen>
233    <dimen name="lb_guidedactions_section_width">384dp</dimen>
234    <dimen name="lb_guidedactions_section_width_with_shadow">400dp</dimen>
235    <dimen name="lb_guidedactions_elevation">12dp</dimen>
236    <dimen name="lb_guidedactions_selector_min_height">8dp</dimen>
237    <dimen name="lb_guidedactions_vertical_padding">12dp</dimen>
238
239    <item name="lb_guidedactions_item_unselected_text_alpha" format="float" type="string">1.00</item>
240    <item name="lb_guidedactions_item_unselected_description_text_alpha" format="float" type="string">0.50</item>
241    <item name="lb_guidedactions_item_enabled_chevron_alpha" format="float" type="string">1.00</item>
242    <item name="lb_guidedactions_item_disabled_chevron_alpha" format="float" type="string">0.50</item>
243
244    <dimen name="lb_guidedactions_item_text_width">248dp</dimen>
245    <dimen name="lb_guidedactions_item_text_width_no_icon">284dp</dimen>
246    <dimen name="lb_guidedactions_item_min_height">64dp</dimen>
247    <dimen name="lb_guidedactions_item_start_padding">20dp</dimen>
248    <dimen name="lb_guidedactions_item_end_padding">28dp</dimen>
249    <dimen name="lb_guidedactions_item_delimiter_padding">4dp</dimen>
250    <dimen name="lb_guidedactions_item_checkmark_diameter">8dp</dimen>
251    <dimen name="lb_guidedactions_item_icon_width">32dp</dimen>
252    <dimen name="lb_guidedactions_item_icon_height">32dp</dimen>
253    <dimen name="lb_guidedactions_item_title_font_size">18sp</dimen>
254    <dimen name="lb_guidedactions_item_description_font_size">12sp</dimen>
255
256    <integer name="lb_guidedstep_entry_animation_delay">550</integer>
257    <integer name="lb_guidedstep_entry_animation_duration">250</integer>
258
259    <integer name="lb_guidedactions_item_animation_duration">100</integer>
260    <integer name="lb_guidedactions_animation_duration">150</integer>
261    <integer name="lb_guidedactions_item_title_min_lines">1</integer>
262    <integer name="lb_guidedactions_item_title_max_lines">3</integer>
263    <integer name="lb_guidedactions_item_description_min_lines">2</integer>
264    <!-- end GuidedStepFragment -->
265
266</resources>
267