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> 18 <dimen name="app_icon_size">64dp</dimen> 19 20<!-- Dynamic Grid --> 21 <dimen name="dynamic_grid_edge_margin">6dp</dimen> 22 <dimen name="dynamic_grid_search_bar_height">48dp</dimen> 23 <!-- We want 46dp extra for the tall search bar. --> 24 <dimen name="dynamic_grid_search_bar_height_tall">94dp</dimen> 25 <dimen name="qsb_internal_padding_top">8dp</dimen> 26 <dimen name="qsb_internal_padding_bottom">8dp</dimen> 27 <dimen name="dynamic_grid_search_bar_extra_top_padding">0dp</dimen> 28 <!-- Reduce the space between the status bar and the search bar when the search bar is tall --> 29 <dimen name="dynamic_grid_search_bar_negative_top_padding_short">-4dp</dimen> 30 <dimen name="dynamic_grid_search_bar_bottom_padding">4dp</dimen> 31 <!-- Reduce the padding between the search bar and workspace when the search bar is tall --> 32 <dimen name="dynamic_grid_search_bar_bottom_negative_padding_short">-6dp</dimen> 33 <dimen name="dynamic_grid_search_bar_bottom_padding_tablet">16dp</dimen> 34 <dimen name="dynamic_grid_page_indicator_height">20dp</dimen> 35 <dimen name="dynamic_grid_icon_drawable_padding">4dp</dimen> 36 <dimen name="dynamic_grid_workspace_page_spacing">8dp</dimen> 37 <dimen name="dynamic_grid_overview_min_icon_zone_height">80dp</dimen> 38 <dimen name="dynamic_grid_overview_max_icon_zone_height">120dp</dimen> 39 <dimen name="dynamic_grid_overview_bar_item_width">80dp</dimen> 40 <dimen name="dynamic_grid_overview_bar_spacer_width">20dp</dimen> 41 42<!-- App Widget resize frame --> 43 <dimen name="default_widget_padding">8dp</dimen> 44 <dimen name="widget_handle_margin">13dp</dimen> 45 <dimen name="resize_frame_background_padding">24dp</dimen> 46 47<!-- Cling --> 48 <dimen name="cling_migration_logo_height">240dp</dimen> 49 <dimen name="cling_migration_logo_width">165dp</dimen> 50 <dimen name="cling_migration_bg_size">400dp</dimen> 51 <dimen name="cling_migration_bg_shift">-200dp</dimen> 52 <dimen name="cling_migration_content_margin">16dp</dimen> 53 <dimen name="cling_migration_content_width">280dp</dimen> 54 55<!-- Workspace --> 56 <dimen name="workspace_max_gap">16dp</dimen> 57 58<!-- QSB --> 59 <dimen name="toolbar_button_vertical_padding">4dip</dimen> 60 <dimen name="toolbar_button_horizontal_padding">12dip</dimen> 61 62<!-- Container --> 63 <item name="container_margin" format="fraction" type="fraction">0%</item> 64 <dimen name="container_min_margin">8dp</dimen> 65 <dimen name="container_max_width">0dp</dimen> 66 67 <!-- Note: This needs to match the fixed insets for the search box. --> 68 <dimen name="container_bounds_inset">8dp</dimen> 69 <!-- Notes: container_bounds_inset - quantum_panel_outer_padding --> 70 <dimen name="container_bounds_minus_quantum_panel_padding_inset">4dp</dimen> 71 72 <dimen name="container_fastscroll_thumb_min_width">5dp</dimen> 73 <dimen name="container_fastscroll_thumb_max_width">9dp</dimen> 74 <dimen name="container_fastscroll_thumb_height">72dp</dimen> 75 <dimen name="container_fastscroll_thumb_touch_inset">-24dp</dimen> 76 <dimen name="container_fastscroll_popup_size">72dp</dimen> 77 <dimen name="container_fastscroll_popup_text_size">48dp</dimen> 78 79<!-- All Apps --> 80 <dimen name="all_apps_button_scale_down">0dp</dimen> 81 <dimen name="all_apps_grid_view_start_margin">0dp</dimen> 82 <dimen name="all_apps_grid_section_y_offset">8dp</dimen> 83 <dimen name="all_apps_grid_section_text_size">24sp</dimen> 84 <dimen name="all_apps_search_bar_height">60dp</dimen> 85 <dimen name="all_apps_search_bar_prediction_bar_padding">8dp</dimen> 86 <dimen name="all_apps_icon_top_bottom_padding">8dp</dimen> 87 <dimen name="all_apps_icon_width_gap">24dp</dimen> 88 <!-- The top padding should account for the existing all_apps_list_top_bottom_padding --> 89 <dimen name="all_apps_prediction_icon_top_padding">8dp</dimen> 90 <dimen name="all_apps_prediction_icon_bottom_padding">18dp</dimen> 91 <dimen name="all_apps_list_top_bottom_padding">8dp</dimen> 92 <dimen name="all_apps_empty_search_message_top_offset">40dp</dimen> 93 <dimen name="all_apps_empty_search_bg_top_offset">144dp</dimen> 94 <dimen name="all_apps_background_canvas_width">700dp</dimen> 95 <dimen name="all_apps_background_canvas_height">475dp</dimen> 96 97 <!-- Search bar in All Apps --> 98 <dimen name="all_apps_header_max_elevation">4dp</dimen> 99 <dimen name="all_apps_header_scroll_to_elevation">16dp</dimen> 100 <dimen name="all_apps_header_shadow_height">6dp</dimen> 101 102 <!-- The overflow is used to create a bottom border, by drawing other three sides 103 outside the bounds. Ensure that: 104 all_apps_search_bar_bg_overflow < (-3 * all_apps_search_bar_divider_width) 105 -6dp is picked at random, any smaller value would do. 106 --> 107 <dimen name="all_apps_search_bar_bg_overflow">-6dp</dimen> 108 <dimen name="all_apps_search_bar_divider_width">1dp</dimen> 109 110 <!-- Widget tray --> 111 <dimen name="widget_container_inset">8dp</dimen> 112 <dimen name="widget_preview_label_vertical_padding">8dp</dimen> 113 <dimen name="widget_preview_label_horizontal_padding">8dp</dimen> 114 <dimen name="widget_preview_horizontal_padding">8dp</dimen> 115 116 <dimen name="widget_section_height">56dp</dimen> 117 <dimen name="widget_section_icon_size">40dp</dimen> 118 <dimen name="widget_section_vertical_padding">8dp</dimen> 119 <dimen name="widget_section_horizontal_padding">16dp</dimen> 120 121 <dimen name="widget_row_padding">8dp</dimen> 122 <dimen name="widget_row_divider">2dp</dimen> 123 124 <!-- Padding applied to shortcut previews --> 125 <dimen name="shortcut_preview_padding_left">0dp</dimen> 126 <dimen name="shortcut_preview_padding_right">0dp</dimen> 127 <dimen name="shortcut_preview_padding_top">0dp</dimen> 128 129<!-- Dragging --> 130 <!-- Drag padding to add to the bottom of drop targets --> 131 <dimen name="drop_target_drag_padding">14dp</dimen> 132 <dimen name="drop_target_text_size">14sp</dimen> 133 134 <!-- the area at the edge of the screen that makes the workspace go left 135 or right while you're dragging. --> 136 <dimen name="scroll_zone">20dp</dimen> 137 138 <!-- When dragging an item, how much bigger (fixed dps) the dragged view 139 should be. If 0, it will not be scaled at all. --> 140 <dimen name="dragViewScale">12dp</dimen> 141 142 <!-- Elevation for the drag view. It should be larger than elevation of all other drag sources 143 and drop targets like all-apps and folders --> 144 <dimen name="drag_elevation">30dp</dimen> 145 146<!-- Theme --> 147 <dimen name="quantum_panel_outer_padding">4dp</dimen> 148 149<!-- Folders --> 150 <!-- The amount that the preview contents are inset from the preview background --> 151 <dimen name="folder_preview_padding">4dp</dimen> 152 153<!-- Sizes for managed profile badges --> 154 <dimen name="profile_badge_size">24dp</dimen> 155 <dimen name="profile_badge_margin">5dp</dimen> 156 <dimen name="profile_badge_minimum_top">2dp</dimen> 157 158<!-- Shadows and outlines --> 159 <dimen name="blur_size_thin_outline">1dp</dimen> 160 <dimen name="blur_size_medium_outline">2dp</dimen> 161 <dimen name="blur_size_click_shadow">4dp</dimen> 162 <dimen name="click_shadow_high_shift">2dp</dimen> 163 164<!-- Pending widget --> 165 <dimen name="pending_widget_min_padding">8dp</dimen> 166 <dimen name="pending_widget_elevation">2dp</dimen> 167</resources> 168