Jeffrey Sharkey | 7bd74a4 | 2009-03-31 18:25:03 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <resources> |
Winson Chung | 5f8afe6 | 2013-08-12 16:19:28 -0700 | [diff] [blame] | 18 | <!-- Dynamic Grid --> |
| 19 | <dimen name="dynamic_grid_edge_margin">6dp</dimen> |
Hyunyoung Song | 7d2fc81 | 2016-06-15 12:51:30 -0700 | [diff] [blame] | 20 | <dimen name="dynamic_grid_page_indicator_height">24dp</dimen> |
| 21 | <dimen name="dynamic_grid_page_indicator_line_height">1dp</dimen> |
| 22 | <dimen name="dynamic_grid_page_indicator_extra_touch_height">12dp</dimen> |
Winson Chung | 6e1c0d3 | 2013-10-25 15:24:24 -0700 | [diff] [blame] | 23 | <dimen name="dynamic_grid_icon_drawable_padding">4dp</dimen> |
Adam Cohen | 3b185e2 | 2013-10-29 14:45:58 -0700 | [diff] [blame] | 24 | <dimen name="dynamic_grid_workspace_page_spacing">8dp</dimen> |
Winson Chung | c82d262 | 2013-11-06 13:23:29 -0800 | [diff] [blame] | 25 | <dimen name="dynamic_grid_overview_min_icon_zone_height">80dp</dimen> |
| 26 | <dimen name="dynamic_grid_overview_max_icon_zone_height">120dp</dimen> |
Sunny Goyal | 8dfe2da | 2014-10-24 16:26:52 -0700 | [diff] [blame] | 27 | <dimen name="dynamic_grid_overview_bar_item_width">80dp</dimen> |
| 28 | <dimen name="dynamic_grid_overview_bar_spacer_width">20dp</dimen> |
Winson Chung | 5f8afe6 | 2013-08-12 16:19:28 -0700 | [diff] [blame] | 29 | |
Sunny Goyal | 47328fd | 2016-05-25 18:56:41 -0700 | [diff] [blame] | 30 | <dimen name="dynamic_grid_workspace_top_padding">12dp</dimen> |
| 31 | <!-- Minimum space between workspace and hotseat in spring loaded mode --> |
| 32 | <dimen name="dynamic_grid_min_spring_loaded_space">8dp</dimen> |
| 33 | |
| 34 | <!-- Drop target bar --> |
| 35 | <dimen name="dynamic_grid_drop_target_size">48dp</dimen> |
| 36 | <dimen name="vert_drop_target_vertical_gap">20dp</dimen> |
| 37 | <dimen name="vert_drop_target_horizontal_gap">14dp</dimen> |
| 38 | |
Sunny Goyal | ba776d5 | 2015-05-18 20:52:57 -0700 | [diff] [blame] | 39 | <!-- App Widget resize frame --> |
Adam Cohen | 5940042 | 2014-03-05 18:07:04 -0800 | [diff] [blame] | 40 | <dimen name="default_widget_padding">8dp</dimen> |
Sunny Goyal | ba776d5 | 2015-05-18 20:52:57 -0700 | [diff] [blame] | 41 | <dimen name="widget_handle_margin">13dp</dimen> |
| 42 | <dimen name="resize_frame_background_padding">24dp</dimen> |
Adam Cohen | 5940042 | 2014-03-05 18:07:04 -0800 | [diff] [blame] | 43 | |
Winson Chung | b177744 | 2015-06-16 13:35:04 -0700 | [diff] [blame] | 44 | <!-- Container --> |
Winson Chung | 9480415 | 2015-05-08 13:06:44 -0700 | [diff] [blame] | 45 | <!-- Note: This needs to match the fixed insets for the search box. --> |
Winson Chung | ef7f874 | 2015-06-04 17:18:17 -0700 | [diff] [blame] | 46 | <dimen name="container_bounds_inset">8dp</dimen> |
| 47 | <!-- Notes: container_bounds_inset - quantum_panel_outer_padding --> |
| 48 | <dimen name="container_bounds_minus_quantum_panel_padding_inset">4dp</dimen> |
Winson Chung | 9480415 | 2015-05-08 13:06:44 -0700 | [diff] [blame] | 49 | |
Winson | 6779595 | 2015-08-20 12:23:52 -0700 | [diff] [blame] | 50 | <dimen name="container_fastscroll_thumb_min_width">5dp</dimen> |
| 51 | <dimen name="container_fastscroll_thumb_max_width">9dp</dimen> |
| 52 | <dimen name="container_fastscroll_thumb_height">72dp</dimen> |
Winson Chung | b177744 | 2015-06-16 13:35:04 -0700 | [diff] [blame] | 53 | <dimen name="container_fastscroll_thumb_touch_inset">-24dp</dimen> |
| 54 | <dimen name="container_fastscroll_popup_size">72dp</dimen> |
| 55 | <dimen name="container_fastscroll_popup_text_size">48dp</dimen> |
| 56 | |
Sunny Goyal | 05c8c57 | 2016-03-17 11:57:24 -0700 | [diff] [blame] | 57 | <item name="container_margin" format="fraction" type="fraction">0%</item> |
| 58 | <dimen name="container_min_margin">8dp</dimen> |
Sunny Goyal | 13178ac | 2016-04-04 16:35:22 -0700 | [diff] [blame] | 59 | <dimen name="container_max_width">0dp</dimen> |
Sunny Goyal | 05c8c57 | 2016-03-17 11:57:24 -0700 | [diff] [blame] | 60 | |
Winson Chung | b177744 | 2015-06-16 13:35:04 -0700 | [diff] [blame] | 61 | <!-- All Apps --> |
Tony Wickham | d6b4037 | 2015-09-23 18:37:57 -0700 | [diff] [blame] | 62 | <dimen name="all_apps_button_scale_down">0dp</dimen> |
Winson Chung | fbc5b18 | 2015-06-12 14:18:55 -0700 | [diff] [blame] | 63 | <dimen name="all_apps_grid_view_start_margin">0dp</dimen> |
Winson Chung | 5f4e0fd | 2015-05-22 11:12:27 -0700 | [diff] [blame] | 64 | <dimen name="all_apps_grid_section_y_offset">8dp</dimen> |
| 65 | <dimen name="all_apps_grid_section_text_size">24sp</dimen> |
Sunny Goyal | 0ac7ede | 2016-01-29 13:14:14 -0800 | [diff] [blame] | 66 | <dimen name="all_apps_search_bar_height">60dp</dimen> |
Peter Schiller | 310a988 | 2016-06-30 13:52:36 -0700 | [diff] [blame^] | 67 | <dimen name="all_apps_search_bar_icon_margin_right">4dp</dimen> |
| 68 | <dimen name="all_apps_search_bar_icon_margin_top">1dp</dimen> |
Winson Chung | 5f4e0fd | 2015-05-22 11:12:27 -0700 | [diff] [blame] | 69 | <dimen name="all_apps_icon_top_bottom_padding">8dp</dimen> |
Winson Chung | 2c6e5cc | 2015-06-01 14:38:24 -0700 | [diff] [blame] | 70 | <dimen name="all_apps_icon_width_gap">24dp</dimen> |
Winson Chung | 1ae7a50 | 2015-07-06 17:14:51 -0700 | [diff] [blame] | 71 | <!-- The top padding should account for the existing all_apps_list_top_bottom_padding --> |
| 72 | <dimen name="all_apps_prediction_icon_top_padding">8dp</dimen> |
| 73 | <dimen name="all_apps_prediction_icon_bottom_padding">18dp</dimen> |
Winson Chung | b177744 | 2015-06-16 13:35:04 -0700 | [diff] [blame] | 74 | <dimen name="all_apps_list_top_bottom_padding">8dp</dimen> |
Winson | fee206f | 2015-08-19 17:26:21 -0700 | [diff] [blame] | 75 | <dimen name="all_apps_empty_search_message_top_offset">40dp</dimen> |
| 76 | <dimen name="all_apps_empty_search_bg_top_offset">144dp</dimen> |
| 77 | <dimen name="all_apps_background_canvas_width">700dp</dimen> |
| 78 | <dimen name="all_apps_background_canvas_height">475dp</dimen> |
Sunny Goyal | 12fb2cc | 2015-05-13 17:40:42 -0700 | [diff] [blame] | 79 | |
Sunny Goyal | 0ac7ede | 2016-01-29 13:14:14 -0800 | [diff] [blame] | 80 | <!-- Search bar in All Apps --> |
Peter Schiller | 310a988 | 2016-06-30 13:52:36 -0700 | [diff] [blame^] | 81 | <dimen name="all_apps_header_max_elevation">3dp</dimen> |
Sunny Goyal | 0ac7ede | 2016-01-29 13:14:14 -0800 | [diff] [blame] | 82 | <dimen name="all_apps_header_scroll_to_elevation">16dp</dimen> |
| 83 | <dimen name="all_apps_header_shadow_height">6dp</dimen> |
| 84 | |
| 85 | <!-- The overflow is used to create a bottom border, by drawing other three sides |
| 86 | outside the bounds. Ensure that: |
| 87 | all_apps_search_bar_bg_overflow < (-3 * all_apps_search_bar_divider_width) |
| 88 | -6dp is picked at random, any smaller value would do. |
| 89 | --> |
| 90 | <dimen name="all_apps_search_bar_bg_overflow">-6dp</dimen> |
| 91 | <dimen name="all_apps_search_bar_divider_width">1dp</dimen> |
| 92 | |
Hyunyoung Song | eac1dac | 2016-06-21 16:37:13 -0700 | [diff] [blame] | 93 | <dimen name="all_apps_bezel_swipe_height">24dp</dimen> |
Hyunyoung Song | 3f47144 | 2015-04-08 19:01:34 -0700 | [diff] [blame] | 94 | <!-- Widget tray --> |
Hyunyoung Song | 3f47144 | 2015-04-08 19:01:34 -0700 | [diff] [blame] | 95 | <dimen name="widget_preview_label_vertical_padding">8dp</dimen> |
| 96 | <dimen name="widget_preview_label_horizontal_padding">8dp</dimen> |
| 97 | |
Hyunyoung Song | f17a1c9 | 2015-04-27 17:01:32 -0700 | [diff] [blame] | 98 | <dimen name="widget_section_height">56dp</dimen> |
Sunny Goyal | 0e08f16 | 2015-05-12 11:32:39 -0700 | [diff] [blame] | 99 | <dimen name="widget_section_icon_size">40dp</dimen> |
| 100 | <dimen name="widget_section_vertical_padding">8dp</dimen> |
| 101 | <dimen name="widget_section_horizontal_padding">16dp</dimen> |
Sunny Goyal | 756cd26 | 2015-08-20 12:33:21 -0700 | [diff] [blame] | 102 | <dimen name="widget_section_indent">0dp</dimen> |
Hyunyoung Song | 3f47144 | 2015-04-08 19:01:34 -0700 | [diff] [blame] | 103 | |
Hyunyoung Song | f17a1c9 | 2015-04-27 17:01:32 -0700 | [diff] [blame] | 104 | <dimen name="widget_row_padding">8dp</dimen> |
Hyunyoung Song | 4b69f2c | 2015-05-11 14:55:07 -0700 | [diff] [blame] | 105 | <dimen name="widget_row_divider">2dp</dimen> |
Michael Jurka | dac8591 | 2012-05-18 15:04:49 -0700 | [diff] [blame] | 106 | |
| 107 | <!-- Padding applied to shortcut previews --> |
| 108 | <dimen name="shortcut_preview_padding_left">0dp</dimen> |
| 109 | <dimen name="shortcut_preview_padding_right">0dp</dimen> |
| 110 | <dimen name="shortcut_preview_padding_top">0dp</dimen> |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame] | 111 | |
Winson Chung | 5f4e0fd | 2015-05-22 11:12:27 -0700 | [diff] [blame] | 112 | <!-- Dragging --> |
| 113 | <!-- Drag padding to add to the bottom of drop targets --> |
| 114 | <dimen name="drop_target_drag_padding">14dp</dimen> |
| 115 | <dimen name="drop_target_text_size">14sp</dimen> |
| 116 | |
Tony Wickham | 855b1b5 | 2016-03-28 16:56:30 -0700 | [diff] [blame] | 117 | <!-- the distance an icon must be dragged before button drop targets accept it --> |
| 118 | <dimen name="drag_distanceThreshold">30dp</dimen> |
| 119 | |
Tony Wickham | 0f97b78 | 2015-12-02 17:55:07 -0800 | [diff] [blame] | 120 | <!-- the area at the edge of the screen that makes the workspace go left |
| 121 | or right while you're dragging. --> |
| 122 | <dimen name="scroll_zone">20dp</dimen> |
| 123 | |
Winson Chung | 5f4e0fd | 2015-05-22 11:12:27 -0700 | [diff] [blame] | 124 | <!-- When dragging an item, how much bigger (fixed dps) the dragged view |
| 125 | should be. If 0, it will not be scaled at all. --> |
| 126 | <dimen name="dragViewScale">12dp</dimen> |
| 127 | |
| 128 | <!-- Elevation for the drag view. It should be larger than elevation of all other drag sources |
| 129 | and drop targets like all-apps and folders --> |
| 130 | <dimen name="drag_elevation">30dp</dimen> |
| 131 | |
Sunny Goyal | 756cd26 | 2015-08-20 12:33:21 -0700 | [diff] [blame] | 132 | <dimen name="drag_flingToDeleteMinVelocity">-1500dp</dimen> |
| 133 | |
Tony Wickham | 95cdb3a | 2016-02-18 14:37:07 -0800 | [diff] [blame] | 134 | <dimen name="spring_loaded_panel_border">1dp</dimen> |
| 135 | |
Sunny Goyal | 5a92b23 | 2015-05-13 13:06:11 -0700 | [diff] [blame] | 136 | <!-- Theme --> |
| 137 | <dimen name="quantum_panel_outer_padding">4dp</dimen> |
| 138 | |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame] | 139 | <!-- Folders --> |
Adam Cohen | 119e898 | 2016-02-05 14:47:50 -0800 | [diff] [blame] | 140 | <!-- The size of the padding on the preview background drawable --> |
| 141 | <dimen name="folder_preview_padding">6dp</dimen> |
Sunny Goyal | c64cfdd | 2016-05-18 14:12:02 -0700 | [diff] [blame] | 142 | <dimen name="page_indicator_dot_size">8dp</dimen> |
Sunny Goyal | ffe83f1 | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 143 | |
| 144 | <!-- Sizes for managed profile badges --> |
| 145 | <dimen name="profile_badge_size">24dp</dimen> |
Hyunyoung Song | 41e3369 | 2015-06-15 12:26:54 -0700 | [diff] [blame] | 146 | <dimen name="profile_badge_margin">5dp</dimen> |
Hyunyoung Song | 6babf2e | 2015-05-14 17:08:45 -0700 | [diff] [blame] | 147 | <dimen name="profile_badge_minimum_top">2dp</dimen> |
Sunny Goyal | 4fe5a37 | 2015-05-14 19:55:10 -0700 | [diff] [blame] | 148 | |
| 149 | <!-- Shadows and outlines --> |
| 150 | <dimen name="blur_size_thin_outline">1dp</dimen> |
| 151 | <dimen name="blur_size_medium_outline">2dp</dimen> |
| 152 | <dimen name="blur_size_click_shadow">4dp</dimen> |
| 153 | <dimen name="click_shadow_high_shift">2dp</dimen> |
| 154 | |
Sunny Goyal | ac36643 | 2015-08-14 17:10:14 -0700 | [diff] [blame] | 155 | <!-- Pending widget --> |
| 156 | <dimen name="pending_widget_min_padding">8dp</dimen> |
| 157 | <dimen name="pending_widget_elevation">2dp</dimen> |
| 158 | |
Tony Wickham | 1bce7fd | 2016-04-28 17:39:03 -0700 | [diff] [blame] | 159 | <!-- Deep shortcuts --> |
| 160 | <dimen name="deep_shortcuts_elevation">9dp</dimen> |
| 161 | <dimen name="deep_shortcuts_width">180dp</dimen> |
| 162 | <dimen name="deep_shortcuts_spacing">4dp</dimen> |
| 163 | <dimen name="deep_shortcuts_drag_view_scale">6dp</dimen> |
| 164 | <!-- an icon with shortcuts must be dragged this much distance away from the nearest edge |
| 165 | of the shortcut container before the container is removed. --> |
| 166 | <dimen name="deep_shortcuts_start_drag_threshold">35dp</dimen> |
| 167 | <dimen name="deep_shortcut_icon_size">36dp</dimen> |
| 168 | |
Jeffrey Sharkey | 7bd74a4 | 2009-03-31 18:25:03 -0700 | [diff] [blame] | 169 | </resources> |