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 19 <dimen name="click_shadow_elevation">4dp</dimen> 20 21 <!-- Dynamic Grid --> 22 <dimen name="dynamic_grid_edge_margin">8dp</dimen> 23 <dimen name="dynamic_grid_left_right_margin">8dp</dimen> 24 <dimen name="dynamic_grid_icon_drawable_padding">7dp</dimen> 25 <!-- Minimum space between workspace and hotseat in spring loaded mode --> 26 <dimen name="dynamic_grid_min_spring_loaded_space">8dp</dimen> 27 28 <dimen name="dynamic_grid_cell_border_spacing">16dp</dimen> 29 <dimen name="dynamic_grid_cell_layout_padding">5.5dp</dimen> 30 <dimen name="dynamic_grid_cell_padding_x">8dp</dimen> 31 32 <dimen name="two_panel_home_side_padding">18dp</dimen> 33 34 <!-- Hotseat --> 35 <dimen name="dynamic_grid_hotseat_top_padding">8dp</dimen> 36 <dimen name="dynamic_grid_hotseat_bottom_padding">2dp</dimen> 37 <!-- Extra bottom padding for non-tall devices. --> 38 <dimen name="dynamic_grid_hotseat_bottom_non_tall_padding">0dp</dimen> 39 <dimen name="dynamic_grid_hotseat_extra_vertical_size">34dp</dimen> 40 <dimen name="dynamic_grid_hotseat_side_padding">0dp</dimen> 41 42 <!-- Scalable Grid --> 43 <dimen name="scalable_grid_left_right_margin">22dp</dimen> 44 <dimen name="scalable_grid_qsb_bottom_margin">42dp</dimen> 45 46 <!-- Workspace page indicator --> 47 <dimen name="workspace_page_indicator_height">24dp</dimen> 48 <dimen name="workspace_page_indicator_line_height">1dp</dimen> 49 <dimen name="workspace_page_indicator_overlap_workspace">0dp</dimen> 50 51<!-- Drop target bar --> 52 <dimen name="dynamic_grid_drop_target_size">52dp</dimen> 53 <dimen name="drop_target_vertical_gap">20dp</dimen> 54 55<!-- App Widget resize frame --> 56 <dimen name="widget_handle_margin">13dp</dimen> 57 <dimen name="resize_frame_background_padding">24dp</dimen> 58 <dimen name="resize_frame_margin">22dp</dimen> 59 60 <!-- App widget reconfigure button --> 61 <dimen name="widget_reconfigure_button_corner_radius">14dp</dimen> 62 <dimen name="widget_reconfigure_button_padding">6dp</dimen> 63 <dimen name="widget_reconfigure_button_margin">32dp</dimen> 64 <dimen name="widget_reconfigure_button_size">36dp</dimen> 65 <dimen name="widget_reconfigure_tip_top_margin">16dp</dimen> 66 67<!-- Fast scroll --> 68 <dimen name="fastscroll_track_min_width">6dp</dimen> 69 <dimen name="fastscroll_track_max_width">8dp</dimen> 70 <dimen name="fastscroll_thumb_padding">1dp</dimen> 71 <dimen name="fastscroll_thumb_height">52dp</dimen> 72 <dimen name="fastscroll_thumb_touch_inset">-24dp</dimen> 73 74 <dimen name="fastscroll_popup_width">75dp</dimen> 75 <dimen name="fastscroll_popup_height">62dp</dimen> 76 <dimen name="fastscroll_popup_padding">13dp</dimen> 77 <dimen name="fastscroll_popup_text_size">32dp</dimen> 78 <dimen name="fastscroll_popup_margin">19dp</dimen> 79 80 <!-- 81 Fast scroller draws the content horizontally centered. The end of the track should be 82 aligned at the end of the container. 83 fastscroll_end_margin = - (fastscroll_width - fastscroll_track_min_width) / 2 84 --> 85 <dimen name="fastscroll_width">58dp</dimen> 86 <dimen name="fastscroll_end_margin">-26dp</dimen> 87 88 <!-- All Apps --> 89 <dimen name="all_apps_open_vertical_translate">320dp</dimen> 90 <dimen name="all_apps_search_bar_field_height">48dp</dimen> 91 <dimen name="all_apps_search_bar_bottom_padding">30dp</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 <dimen name="all_apps_header_pill_height">48dp</dimen> 97 <dimen name="all_apps_header_pill_corner_radius">12dp</dimen> 98 <dimen name="all_apps_header_tab_height">48dp</dimen> 99 <dimen name="all_apps_tabs_indicator_height">2dp</dimen> 100 <dimen name="all_apps_header_top_padding">36dp</dimen> 101 <dimen name="all_apps_header_bottom_padding">6dp</dimen> 102 <dimen name="all_apps_work_profile_tab_footer_top_padding">16dp</dimen> 103 <dimen name="all_apps_work_profile_tab_footer_bottom_padding">20dp</dimen> 104 <dimen name="all_apps_tabs_button_horizontal_padding">4dp</dimen> 105 <dimen name="all_apps_tabs_vertical_padding">6dp</dimen> 106 <dimen name="all_apps_divider_height">2dp</dimen> 107 <dimen name="all_apps_divider_width">128dp</dimen> 108 109 <dimen name="all_apps_tip_bottom_margin">8dp</dimen> 110 <!-- The size of corner radius of the arrow in the arrow toast. --> 111 <dimen name="arrow_toast_corner_radius">2dp</dimen> 112 <dimen name="arrow_toast_arrow_width">10dp</dimen> 113 114<!-- Search bar in All Apps --> 115 <dimen name="all_apps_header_max_elevation">3dp</dimen> 116 <dimen name="all_apps_header_scroll_to_elevation">16dp</dimen> 117 <dimen name="all_apps_header_shadow_height">6dp</dimen> 118 119 <dimen name="all_apps_divider_margin_vertical">8dp</dimen> 120 121<!-- Floating action button inside work tab to toggle work profile --> 122 <dimen name="work_fab_height">56dp</dimen> 123 <dimen name="work_fab_radius">28dp</dimen> 124 <dimen name="work_card_padding_horizontal">24dp</dimen> 125 <dimen name="work_card_button_height">52dp</dimen> 126 <dimen name="work_fab_margin">16dp</dimen> 127 <dimen name="work_profile_footer_padding">20dp</dimen> 128 <dimen name="work_profile_footer_text_size">16sp</dimen> 129 <dimen name="work_edu_card_margin">16dp</dimen> 130 <dimen name="work_edu_card_radius">28dp</dimen> 131 132 <!-- rounded button shown inside card views, and snack bars --> 133 <dimen name="padded_rounded_button_height">48dp</dimen> 134 <dimen name="rounded_button_height">32dp</dimen> 135 <dimen name="rounded_button_radius">16dp</dimen> 136 <dimen name="rounded_button_padding">8dp</dimen> 137 138 139 <!-- Widget tray --> 140 <dimen name="widget_cell_vertical_padding">8dp</dimen> 141 <dimen name="widget_cell_horizontal_padding">16dp</dimen> 142 <dimen name="widget_cell_font_size">14sp</dimen> 143 144 <dimen name="widget_tabs_button_horizontal_padding">4dp</dimen> 145 <dimen name="widget_tabs_horizontal_margin">32dp</dimen> 146 <dimen name="widget_apps_header_pill_height">48dp</dimen> 147 <dimen name="widget_apps_tabs_vertical_padding">6dp</dimen> 148 149 <dimen name="recommended_widgets_table_vertical_padding">8dp</dimen> 150 151 <!-- Bottom margin for the search and recommended widgets container without work profile --> 152 <dimen name="search_and_recommended_widgets_container_bottom_margin">16dp</dimen> 153 <!-- Bottom margin for the search and recommended widgets container with work profile --> 154 <dimen name="search_and_recommended_widgets_container_small_bottom_margin">10dp</dimen> 155 156 <dimen name="widget_list_top_bottom_corner_radius">28dp</dimen> 157 <dimen name="widget_list_content_corner_radius">4dp</dimen> 158 159 <dimen name="widget_list_header_view_vertical_padding">20dp</dimen> 160 <dimen name="widget_list_entry_spacing">2dp</dimen> 161 <dimen name="widget_list_horizontal_margin">16dp</dimen> 162 163 <dimen name="widget_preview_shadow_blur">0.5dp</dimen> 164 <dimen name="widget_preview_key_shadow_distance">1dp</dimen> 165 <dimen name="widget_preview_corner_radius">2dp</dimen> 166 <dimen name="widget_preview_cell_divider_width">0.5dp</dimen> 167 <dimen name="widget_preview_shortcut_padding">8dp</dimen> 168 169 <dimen name="widget_section_height">56dp</dimen> 170 <dimen name="widget_section_icon_size">40dp</dimen> 171 <dimen name="widget_section_vertical_padding">8dp</dimen> 172 <dimen name="widget_section_horizontal_padding">16dp</dimen> 173 174 <dimen name="widget_row_padding">8dp</dimen> 175 <dimen name="widget_row_divider">2dp</dimen> 176 177 <dimen name="widget_picker_education_tip_max_width">308dp</dimen> 178 <dimen name="widget_picker_education_tip_min_margin">4dp</dimen> 179 180 <dimen name="widget_picker_view_pager_top_padding">10dp</dimen> 181 182 <!-- Padding applied to shortcut previews --> 183 <dimen name="shortcut_preview_padding_left">0dp</dimen> 184 <dimen name="shortcut_preview_padding_right">0dp</dimen> 185 <dimen name="shortcut_preview_padding_top">0dp</dimen> 186 187<!-- Pin widget dialog --> 188 <dimen name="pin_widget_button_padding_horizontal">8dp</dimen> 189 <dimen name="pin_widget_button_padding_vertical">4dp</dimen> 190 <dimen name="pin_widget_button_inset_horizontal">4dp</dimen> 191 <dimen name="pin_widget_button_inset_vertical">6dp</dimen> 192 193<!-- Dragging --> 194 <!-- Drag padding to add to the bottom of drop targets --> 195 <dimen name="drop_target_drag_padding">14dp</dimen> 196 <dimen name="drop_target_text_size">16sp</dimen> 197 <dimen name="drop_target_shadow_elevation">2dp</dimen> 198 <dimen name="drop_target_bar_margin_horizontal">4dp</dimen> 199 200 <!-- the distance an icon must be dragged before button drop targets accept it --> 201 <dimen name="drag_distanceThreshold">30dp</dimen> 202 203 <!-- Elevation for the drag view. It should be larger than elevation of all other drag sources 204 and drop targets like all-apps and folders --> 205 <dimen name="drag_elevation">30dp</dimen> 206 207 <dimen name="drag_flingToDeleteMinVelocity">-1500dp</dimen> 208 209 <dimen name="spring_loaded_panel_border">2dp</dimen> 210 <dimen name="keyboard_drag_stroke_width">4dp</dimen> 211 212<!-- Folders --> 213 <dimen name="page_indicator_dot_size">8dp</dimen> 214 215 <dimen name="folder_cell_x_padding">9dp</dimen> 216 <dimen name="folder_cell_y_padding">6dp</dimen> 217 <!-- label text size = workspace text size multiplied by this scale --> 218 <dimen name="folder_label_text_scale">1.14</dimen> 219 <dimen name="folder_label_height">48dp</dimen> 220 221 <dimen name="folder_content_padding_left_right">8dp</dimen> 222 <dimen name="folder_content_padding_top">16dp</dimen> 223 224<!-- Sizes for managed profile badges --> 225 <dimen name="profile_badge_size">24dp</dimen> 226 <dimen name="profile_badge_margin">5dp</dimen> 227 <dimen name="profile_badge_minimum_top">2dp</dimen> 228 229<!-- Shadows and outlines --> 230 <dimen name="blur_size_thin_outline">1dp</dimen> 231 <dimen name="blur_size_medium_outline">2dp</dimen> 232 <dimen name="blur_size_click_shadow">4dp</dimen> 233 <dimen name="click_shadow_high_shift">2dp</dimen> 234 235<!-- Pending widget --> 236 <dimen name="pending_widget_min_padding">8dp</dimen> 237 <dimen name="pending_widget_elevation">2dp</dimen> 238 239<!-- Deep shortcuts --> 240 <dimen name="deep_shortcuts_elevation">2dp</dimen> 241 <dimen name="bg_popup_padding">2dp</dimen> 242 <dimen name="bg_popup_item_width">216dp</dimen> 243 <dimen name="bg_popup_item_height">56dp</dimen> 244 <dimen name="pre_drag_view_scale">6dp</dimen> 245 <!-- an icon with shortcuts must be dragged this far before the container is removed. --> 246 <dimen name="deep_shortcuts_start_drag_threshold">16dp</dimen> 247 <dimen name="deep_shortcut_icon_size">32dp</dimen> 248 <dimen name="popup_margin">2dp</dimen> 249 <dimen name="popup_single_item_radius">100dp</dimen> 250 <dimen name="popup_smaller_radius">4dp</dimen> 251 <dimen name="deep_shortcut_drawable_padding">12dp</dimen> 252 <dimen name="deep_shortcut_drag_handle_size">16dp</dimen> 253 <dimen name="popup_padding_start">10dp</dimen> 254 <dimen name="popup_padding_end">16dp</dimen> 255 <dimen name="popup_vertical_padding">4dp</dimen> 256 <dimen name="popup_arrow_width">12dp</dimen> 257 <dimen name="popup_arrow_height">10dp</dimen> 258 <dimen name="popup_arrow_vertical_offset">-1dp</dimen> 259 <!-- popup_padding_start + deep_shortcut_icon_size / 2 --> 260 <dimen name="popup_arrow_horizontal_center_offset">26dp</dimen> 261 <dimen name="popup_arrow_corner_radius">2dp</dimen> 262 <!-- popup_padding_start + icon_size + 10dp --> 263 <dimen name="deep_shortcuts_text_padding_start">52dp</dimen> 264 <dimen name="system_shortcut_icon_size">24dp</dimen> 265 <!-- popup_arrow_horizontal_center_offset - system_shortcut_icon_size / 2 --> 266 <dimen name="system_shortcut_margin_start">16dp</dimen> 267 <dimen name="system_shortcut_header_height">56dp</dimen> 268 <dimen name="system_shortcut_header_icon_touch_size">48dp</dimen> 269 <!-- (touch_size - icon_size) / 2 --> 270 <dimen name="system_shortcut_header_icon_padding">12dp</dimen> 271 272<!-- Notifications --> 273 <dimen name="bg_round_rect_radius">8dp</dimen> 274 <dimen name="notification_padding">16dp</dimen> 275 <dimen name="notification_padding_top">18dp</dimen> 276 <dimen name="notification_header_text_size">14sp</dimen> 277 <dimen name="notification_header_count_text_size">12sp</dimen> 278 <dimen name="notification_main_title_size">14sp</dimen> 279 <dimen name="notification_main_text_size">14sp</dimen> 280 <dimen name="notification_circle_icon_size">24dp</dimen> 281 <dimen name="notification_icon_size">32dp</dimen> 282 <!-- Space between edge and icon and icon and text --> 283 <dimen name="notification_icon_padding">12dp</dimen> 284 <!-- notification_icon_padding + notification_icon_size + notification_icon_padding --> 285 <dimen name="notification_main_text_padding_start">56dp</dimen> 286 <dimen name="horizontal_ellipsis_size">18dp</dimen> 287 288<!-- Overview --> 289 <dimen name="options_menu_icon_size">24dp</dimen> 290 <dimen name="options_menu_thumb_size">32dp</dimen> 291 292<!-- Snackbar --> 293 <dimen name="snackbar_height">48dp</dimen> 294 <dimen name="snackbar_content_height">32dp</dimen> 295 <dimen name="snackbar_padding">8dp</dimen> 296 <dimen name="snackbar_min_margin_left_right">6dp</dimen> 297 <dimen name="snackbar_max_margin_left_right">72dp</dimen> 298 <dimen name="snackbar_margin_bottom">30dp</dimen> 299 <dimen name="snackbar_elevation">3dp</dimen> 300 <dimen name="snackbar_min_text_size">12sp</dimen> 301 <dimen name="snackbar_max_text_size">14sp</dimen> 302 303<!-- Developer Options --> 304 <dimen name="developer_options_filter_margins">10dp</dimen> 305 306<!-- Theming related --> 307 <dimen name="default_dialog_corner_radius">8dp</dimen> 308 <dimen name="dialogCornerRadius">@dimen/default_dialog_corner_radius</dimen> 309 310 <!-- Onboarding bottomsheet related --> 311 <dimen name="bottom_sheet_edu_padding">24dp</dimen> 312 313<!-- Taskbar related (placeholders to compile in Launcher3 without Quickstep) --> 314 <dimen name="taskbar_size">0dp</dimen> 315 316 <!-- Size of the maximum radius for the enforced rounded rectangles. --> 317 <dimen name="enforced_rounded_corner_max_radius">16dp</dimen> 318 319<!-- Overview placeholder to compile in Launcer3 without Quickstep --> 320 <dimen name="task_thumbnail_icon_size">0dp</dimen> 321 <dimen name="task_thumbnail_icon_size_grid">0dp</dimen> 322 <dimen name="overview_task_margin">0dp</dimen> 323 <dimen name="overview_actions_bottom_margin_gesture">0dp</dimen> 324 <dimen name="overview_actions_bottom_margin_three_button">0dp</dimen> 325 326<!-- Workspace grid visualization parameters --> 327 <dimen name="grid_visualization_rounding_radius">22dp</dimen> 328 <dimen name="grid_visualization_cell_spacing">6dp</dimen> 329 330<!-- Search results related parameters --> 331 <dimen name="search_row_icon_size">48dp</dimen> 332 <dimen name="search_row_small_icon_size">32dp</dimen> 333 <dimen name="padded_rounded_button_padding">8dp</dimen> 334</resources> 335