Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 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 | --> |
Jerome Poichet | 85c10fa | 2014-03-20 18:04:28 -0700 | [diff] [blame] | 17 | <resources> |
Tim Kilbourn | a456045 | 2014-04-14 11:57:31 -0700 | [diff] [blame] | 18 | <dimen name="lb_list_row_height">224dp</dimen> |
| 19 | |
Craig Stout | 55c9ee4 | 2014-03-13 15:08:33 -0700 | [diff] [blame] | 20 | <dimen name="lb_browse_padding_left">56dp</dimen> |
Tim Kilbourn | 6f03a4e | 2014-03-25 00:37:09 -0700 | [diff] [blame] | 21 | <dimen name="lb_browse_padding_top">27dp</dimen> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 22 | <dimen name="lb_browse_padding_right">56dp</dimen> |
| 23 | <dimen name="lb_browse_padding_bottom">48dp</dimen> |
Dake Gu | 8fac655 | 2014-04-01 11:57:51 -0700 | [diff] [blame] | 24 | <dimen name="lb_browse_rows_margin_start">238dp</dimen> |
Craig Stout | 58b9f20 | 2014-06-02 11:58:34 -0700 | [diff] [blame] | 25 | <dimen name="lb_browse_rows_margin_top">167dp</dimen> |
Dake Gu | 9240e79 | 2014-04-14 13:05:03 -0700 | [diff] [blame] | 26 | <dimen name="lb_browse_rows_fading_edge">16dp</dimen> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 27 | |
Tim Kilbourn | 6f03a4e | 2014-03-25 00:37:09 -0700 | [diff] [blame] | 28 | <dimen name="lb_browse_title_height">60dp</dimen> |
| 29 | <dimen name="lb_browse_title_icon_height">52dp</dimen> |
| 30 | <dimen name="lb_browse_title_icon_width">52dp</dimen> |
Craig Stout | 4cf79b1 | 2014-05-13 16:56:58 -0700 | [diff] [blame] | 31 | <dimen name="lb_browse_title_icon_margin_right">52dp</dimen> |
| 32 | <dimen name="lb_browse_title_text_size">44sp</dimen> |
| 33 | <dimen name="lb_browse_title_text_width">584dp</dimen> |
Craig Stout | 55c9ee4 | 2014-03-13 15:08:33 -0700 | [diff] [blame] | 34 | |
Craig Stout | 4cf79b1 | 2014-05-13 16:56:58 -0700 | [diff] [blame] | 35 | <dimen name="lb_browse_headers_width">270dp</dimen> |
Dake Gu | 2f97594 | 2014-05-06 14:52:23 -0700 | [diff] [blame] | 36 | <integer name="lb_browse_headers_transition_delay">150</integer> |
| 37 | <integer name="lb_browse_headers_transition_duration">250</integer> |
Dake Gu | 3c23ada | 2014-04-18 14:08:05 -0700 | [diff] [blame] | 38 | |
Dake Gu | cf94c5f | 2014-03-19 16:02:54 -0700 | [diff] [blame] | 39 | <integer name="lb_browse_rows_anim_duration">250</integer> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 40 | |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 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_padding_right">24dp</dimen> |
| 45 | <dimen name="lb_browse_header_height">24dp</dimen> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 46 | |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 47 | <item name="lb_browse_header_select_duration" format="integer" type="dimen">150</item> |
| 48 | <item name="lb_browse_header_unselect_alpha" type="fraction">50%</item> |
| 49 | <item name="lb_browse_header_select_scale" format="float" type="dimen">1.2</item> |
| 50 | |
| 51 | <dimen name="lb_browse_row_hovercard_max_width">400dp</dimen> |
Craig Stout | 55c9ee4 | 2014-03-13 15:08:33 -0700 | [diff] [blame] | 52 | <dimen name="lb_browse_row_hovercard_title_font_size">18sp</dimen> |
Craig Stout | 268de3d | 2014-05-22 17:07:16 -0700 | [diff] [blame] | 53 | <dimen name="lb_browse_row_hovercard_description_font_size">14sp</dimen> |
Craig Stout | 58b9f20 | 2014-06-02 11:58:34 -0700 | [diff] [blame] | 54 | <dimen name="lb_browse_item_horizontal_margin">8dp</dimen> |
Craig Stout | 4cd4cce | 2014-06-02 17:10:50 -0700 | [diff] [blame] | 55 | <dimen name="lb_browse_item_vertical_margin">8dp</dimen> |
| 56 | <dimen name="lb_browse_selected_row_top_padding">20dp</dimen> |
| 57 | <dimen name="lb_browse_expanded_selected_row_top_padding">16dp</dimen> |
| 58 | <dimen name="lb_browse_expanded_row_no_hovercard_bottom_padding">28dp</dimen> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 59 | |
Craig Stout | b9e89a1 | 2014-03-31 10:17:56 -0700 | [diff] [blame] | 60 | <item name="lb_focus_zoom_factor_small" type="fraction">106%</item> |
| 61 | <item name="lb_focus_zoom_factor_medium" type="fraction">110%</item> |
| 62 | <item name="lb_focus_zoom_factor_large" type="fraction">114%</item> |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 63 | |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 64 | <dimen name="lb_details_overview_height_large">274dp</dimen> |
| 65 | <dimen name="lb_details_overview_height_small">159dp</dimen> |
| 66 | <dimen name="lb_details_overview_margin_left">132dp</dimen> |
| 67 | <dimen name="lb_details_overview_margin_right">132dp</dimen> |
| 68 | <dimen name="lb_details_overview_margin_bottom">40dp</dimen> |
Craig Stout | 58b9f20 | 2014-06-02 11:58:34 -0700 | [diff] [blame] | 69 | |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 70 | <dimen name="lb_details_overview_description_margin_top">24dp</dimen> |
| 71 | <dimen name="lb_details_overview_description_margin_left">24dp</dimen> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 72 | <dimen name="lb_details_overview_description_margin_right">24dp</dimen> |
| 73 | <dimen name="lb_details_overview_description_margin_bottom">12dp</dimen> |
| 74 | <dimen name="lb_details_overview_action_items_margin">0dp</dimen> |
Tim Kilbourn | a83005b | 2014-03-25 10:33:47 -0700 | [diff] [blame] | 75 | <item name="lb_details_overview_action_select_duration" format="integer" type="dimen">150</item> |
Andrew Wilson | 84211f4 | 2014-04-16 09:56:48 -0700 | [diff] [blame] | 76 | <dimen name="lb_details_overview_actions_padding_left">294dp</dimen> |
| 77 | <dimen name="lb_details_overview_actions_padding_right">132dp</dimen> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 78 | <dimen name="lb_details_overview_actions_height">56dp</dimen> |
Craig Stout | 2e0c922 | 2014-05-22 13:53:53 -0700 | [diff] [blame] | 79 | <dimen name="lb_details_overview_actions_fade_size">16dp</dimen> |
Craig Stout | d2c235a | 2014-05-16 13:59:26 -0700 | [diff] [blame] | 80 | <dimen name="lb_details_rows_align_top">167dp</dimen> |
Tim Kilbourn | c3047aa | 2014-03-21 13:56:57 -0700 | [diff] [blame] | 81 | |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 82 | <dimen name="lb_details_description_title_text_size">34sp</dimen> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 83 | <dimen name="lb_details_description_subtitle_text_size">16sp</dimen> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 84 | <dimen name="lb_details_description_body_text_size">14sp</dimen> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 85 | <dimen name="lb_details_description_title_line_spacing">40dp</dimen> |
| 86 | <dimen name="lb_details_description_body_line_spacing">20dp</dimen> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 87 | <dimen name="lb_details_description_title_baseline">26dp</dimen> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 88 | <dimen name="lb_details_description_under_title_baseline_margin">32dp</dimen> |
| 89 | <dimen name="lb_details_description_under_subtitle_baseline_margin">32dp</dimen> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 90 | |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 91 | <integer name="lb_details_description_title_max_lines">2</integer> |
| 92 | <integer name="lb_details_description_subtitle_max_lines">1</integer> |
| 93 | <integer name="lb_details_description_body_max_lines">5</integer> |
Craig Stout | 2a2b18c | 2014-05-27 16:25:45 -0700 | [diff] [blame] | 94 | <integer name="lb_details_description_body_min_lines">3</integer> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 95 | |
| 96 | <dimen name="lb_action_1_line_height">36dp</dimen> |
Craig Stout | 7c00407 | 2014-05-21 16:40:13 -0700 | [diff] [blame] | 97 | <dimen name="lb_action_2_lines_height">56dp</dimen> |
| 98 | <dimen name="lb_action_padding_horizontal">34dp</dimen> |
| 99 | <dimen name="lb_action_with_icon_padding_left">14dp</dimen> |
| 100 | <dimen name="lb_action_with_icon_padding_right">20dp</dimen> |
Tim Kilbourn | e652714 | 2014-03-28 11:00:42 -0700 | [diff] [blame] | 101 | <dimen name="lb_action_icon_margin">12dp</dimen> |
Tim Kilbourn | a83005b | 2014-03-25 10:33:47 -0700 | [diff] [blame] | 102 | <dimen name="lb_action_text_size">16sp</dimen> |
| 103 | |
Jerome Poichet | 85c10fa | 2014-03-20 18:04:28 -0700 | [diff] [blame] | 104 | <!-- Search bar --> |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 105 | <dimen name="lb_search_bar_height">60dp</dimen> |
| 106 | <dimen name="lb_search_bar_padding_left">56dp</dimen> |
| 107 | <dimen name="lb_search_bar_padding_top">27dp</dimen> |
| 108 | |
Jerome Poichet | a9b6783 | 2014-05-21 19:48:59 -0700 | [diff] [blame] | 109 | <dimen name="lb_search_bar_text_size">22sp</dimen> |
| 110 | <dimen name="lb_search_bar_unfocused_text_size">18sp</dimen> |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 111 | <dimen name="lb_search_bar_items_layout_margin_top">27dp</dimen> |
Jerome Poichet | a9b6783 | 2014-05-21 19:48:59 -0700 | [diff] [blame] | 112 | <dimen name="lb_search_bar_items_width">600dp</dimen> |
| 113 | <dimen name="lb_search_bar_items_height">56dp</dimen> |
| 114 | <dimen name="lb_search_bar_items_margin_left">56dp</dimen> |
Jerome Poichet | 514bdd5 | 2014-05-16 12:08:06 -0700 | [diff] [blame] | 115 | <dimen name="lb_search_bar_icon_height">32dp</dimen> |
| 116 | <dimen name="lb_search_bar_icon_width">32dp</dimen> |
Jerome Poichet | a9b6783 | 2014-05-21 19:48:59 -0700 | [diff] [blame] | 117 | <dimen name="lb_search_bar_icon_margin_left">16dp</dimen> |
| 118 | <dimen name="lb_search_bar_edit_text_margin_left">24dp</dimen> |
Jerome Poichet | 514bdd5 | 2014-05-16 12:08:06 -0700 | [diff] [blame] | 119 | <dimen name="lb_search_bar_hint_margin_left">52dp</dimen> |
| 120 | |
Jerome Poichet | 85c10fa | 2014-03-20 18:04:28 -0700 | [diff] [blame] | 121 | |
| 122 | <!-- Search Fragment --> |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 123 | <dimen name="lb_search_browse_rows_align_top">120dp</dimen> |
| 124 | <dimen name="lb_search_browse_row_padding_left">56dp</dimen> |
Jerome Poichet | e2679e4 | 2014-03-24 14:48:15 -0700 | [diff] [blame] | 125 | |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 126 | <dimen name="lb_search_orb_size">52dp</dimen> |
Craig Stout | 4cf79b1 | 2014-05-13 16:56:58 -0700 | [diff] [blame] | 127 | <item name="lb_search_orb_focused_zoom" type="fraction">120%</item> |
Craig Stout | aadb892 | 2014-05-28 17:43:35 -0700 | [diff] [blame] | 128 | <item name="lb_search_orb_brightness_alpha" type="fraction">30%</item> |
| 129 | <item name="lb_search_orb_pulse_duration_ms" type="integer">1000</item> |
| 130 | <item name="lb_search_orb_scale_down_duration_ms" type="integer">100</item> |
Jerome Poichet | e2679e4 | 2014-03-24 14:48:15 -0700 | [diff] [blame] | 131 | |
Jerome Poichet | 3c2998d | 2014-03-28 15:43:26 -0700 | [diff] [blame] | 132 | <dimen name="lb_search_orb_margin_top">4dp</dimen> |
| 133 | <dimen name="lb_search_orb_margin_bottom">4dp</dimen> |
| 134 | <dimen name="lb_search_orb_margin_left">4dp</dimen> |
| 135 | <dimen name="lb_search_orb_margin_right">4dp</dimen> |
Tim Kilbourn | b55f088 | 2014-04-05 01:21:30 -0700 | [diff] [blame] | 136 | |
Jerome Poichet | 25aacd3 | 2014-05-15 12:07:55 -0700 | [diff] [blame] | 137 | <dimen name="lb_search_bar_speech_orb_size">52dp</dimen> |
| 138 | <item name="lb_search_bar_speech_orb_focused_zoom" type="fraction">120%</item> |
| 139 | <item name="lb_search_bar_speech_orb_max_level_zoom" type="fraction">144%</item> |
Jerome Poichet | a9b6783 | 2014-05-21 19:48:59 -0700 | [diff] [blame] | 140 | <dimen name="lb_search_bar_speech_orb_margin_left">56dp</dimen> |
Jerome Poichet | 25aacd3 | 2014-05-15 12:07:55 -0700 | [diff] [blame] | 141 | |
Tim Kilbourn | b55f088 | 2014-04-05 01:21:30 -0700 | [diff] [blame] | 142 | <!-- BasicCardView --> |
| 143 | <dimen name="lb_basic_card_main_width">140dp</dimen> |
| 144 | <dimen name="lb_basic_card_main_height">188dp</dimen> |
| 145 | <dimen name="lb_basic_card_info_height">52dp</dimen> |
| 146 | <dimen name="lb_basic_card_info_padding">6dp</dimen> |
| 147 | <dimen name="lb_basic_card_info_text_margin">2dp</dimen> |
David Saxton | f5de877 | 2014-06-06 17:02:00 +0100 | [diff] [blame^] | 148 | <dimen name="lb_basic_card_title_text_size">16sp</dimen> |
| 149 | <dimen name="lb_basic_card_content_text_size">12sp</dimen> |
Tim Kilbourn | b55f088 | 2014-04-05 01:21:30 -0700 | [diff] [blame] | 150 | <dimen name="lb_basic_card_info_badge_size">16dp</dimen> |
Dake Gu | 19312c5 | 2014-05-30 11:50:19 -0700 | [diff] [blame] | 151 | |
| 152 | <!-- z based shadow --> |
| 153 | <dimen name="lb_quantum_shadow_normal_z">2dp</dimen> |
| 154 | <dimen name="lb_quantum_shadow_focused_z">12dp</dimen> |
| 155 | |
Tim Kilbourn | 7fbbc85 | 2014-02-18 10:26:40 -0800 | [diff] [blame] | 156 | </resources> |