blob: ea32e17f0d96400c9787c8a295894e860b87a15e [file] [log] [blame]
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -07001<?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 Chung5f8afe62013-08-12 16:19:28 -070018<!-- Dynamic Grid -->
19 <dimen name="dynamic_grid_edge_margin">6dp</dimen>
20 <dimen name="dynamic_grid_search_bar_max_width">500dp</dimen>
21 <dimen name="dynamic_grid_search_bar_height">48dp</dimen>
22 <dimen name="dynamic_grid_page_indicator_height">24dp</dimen>
Winson Chung6e1c0d32013-10-25 15:24:24 -070023 <dimen name="dynamic_grid_icon_drawable_padding">4dp</dimen>
Winson Chung67ca7e42013-10-31 16:53:19 -070024 <dimen name="dynamic_grid_all_apps_cell_padding">18dp</dimen>
Adam Cohen3b185e22013-10-29 14:45:58 -070025 <dimen name="dynamic_grid_workspace_page_spacing">8dp</dimen>
Winson Chung5f8afe62013-08-12 16:19:28 -070026
Michael Jurka104c4562013-07-08 18:03:46 -070027<!-- Wallpaper picker -->
28 <dimen name="wallpaperThumbnailWidth">106.5dp</dimen>
29 <dimen name="wallpaperThumbnailHeight">94.5dp</dimen>
Michael Jurka5b4b6902013-10-03 18:15:08 -070030 <dimen name="wallpaperItemIconSize">32dp</dimen>
Michael Jurka104c4562013-07-08 18:03:46 -070031
Winson Chung82f55532011-08-09 14:14:23 -070032<!-- Cling -->
33 <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen>
Winson Chung93065f02011-10-05 16:37:26 -070034 <dimen name="folderClingMarginTop">20dp</dimen>
Winson Chungd0160152011-11-15 15:04:42 -080035 <!-- The offset for the text in the cling -->
36 <dimen name="cling_text_block_offset_x">0dp</dimen>
37 <dimen name="cling_text_block_offset_y">0dp</dimen>
Michael Jurka45355c42012-10-08 13:21:35 +020038 <!-- entries for custom clings, will be set in overlays -->
39 <add-resource type="dimen" name="custom_cling_margin_top" />
40 <add-resource type="dimen" name="custom_cling_margin_right" />
Michael Jurkab86d5162012-10-10 22:20:47 +020041 <add-resource type="dimen" name="custom_cling_margin_left" />
Winson Chung82f55532011-08-09 14:14:23 -070042
Winson Chung1cad91e2011-05-25 17:41:01 -070043<!-- Workspace -->
Winson Chung4afe9b32011-07-27 17:46:20 -070044 <dimen name="workspace_max_gap">16dp</dimen>
Adam Cohenb5ba0972011-09-07 18:02:31 -070045 <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
Adam Cohenf358a4b2013-07-23 16:47:31 -070046 <dimen name="overview_panel_bottom_padding">50dp</dimen>
Adam Cohen410f3cd2013-09-22 12:09:32 -070047 <dimen name="overview_panel_buttonSpacing">60dp</dimen>
48 <dimen name="overview_mode_page_offset">130dp</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070049
50<!-- QSB -->
Winson Chungb301f3f2013-04-12 12:36:56 -070051 <dimen name="toolbar_button_vertical_padding">4dip</dimen>
Winson Chung649723c2011-07-06 20:41:23 -070052 <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
Winson Chung128bbcd2011-08-31 16:58:52 -070053 <!-- External toolbar icon size (for bounds) -->
54 <dimen name="toolbar_external_icon_width">36dp</dimen>
55 <dimen name="toolbar_external_icon_height">36dp</dimen>
Winson Chung1cad91e2011-05-25 17:41:01 -070056
Winson Chung785d2eb2011-04-14 16:08:02 -070057<!-- AllApps/Customize/AppsCustomize -->
Jeff Sharkey82aef762011-08-31 17:37:40 -070058 <!-- The height of the tab bar - if this changes, we should update the
Winson Chung128bbcd2011-08-31 16:58:52 -070059 external icon width/height above to compensate -->
Winson Chungd2c1f802011-10-14 12:26:54 -070060 <dimen name="apps_customize_tab_bar_height">52dp</dimen>
Winson Chung8ea7f6b2011-11-14 15:17:47 -080061 <dimen name="apps_customize_tab_bar_margin_top">0dp</dimen>
Michael Jurka931dc972011-08-05 15:08:15 -070062 <dimen name="app_icon_size">48dp</dimen>
Daniel Sandlerc9b18772010-04-22 14:37:59 -040063
Winson Chungd2be3812013-07-16 11:11:32 -070064 <!-- The AppsCustomize page indicator -->
65 <dimen name="apps_customize_page_indicator_height">12dp</dimen>
66 <dimen name="apps_customize_page_indicator_margin">4dp</dimen>
Winson Chungc58497e2013-09-03 17:48:37 -070067 <dimen name="apps_customize_page_indicator_offset">16dp</dimen>
Winson Chungd2be3812013-07-16 11:11:32 -070068
Winson Chung3f4e1422011-11-17 14:58:51 -080069 <!-- Drag padding to add to the bottom of drop targets -->
70 <dimen name="drop_target_drag_padding">14dp</dimen>
71
Winson Chung785d2eb2011-04-14 16:08:02 -070072<!-- Dragging -->
Joe Onorato658db742010-09-29 11:40:39 -070073 <!-- the area at the edge of the screen that makes the workspace go left
74 or right while you're dragging. -->
75 <dimen name="scroll_zone">20dp</dimen>
Adam Cohen8878a322011-03-28 13:18:42 -070076
77 <!-- When dragging items on the workspace, the number of dps by which the position of
78 the drag view should be offset from the position of the original view. -->
79 <dimen name="dragViewOffsetX">0dp</dimen>
Winson Chungeecf02d2012-03-02 17:14:58 -080080 <dimen name="dragViewOffsetY">0dp</dimen>
Winson Chung7bd1bbb2012-02-13 18:29:29 -080081 <!-- When dragging an item, how much bigger (fixed dps) the dragged view
82 should be. If 0, it will not be scaled at all. -->
Winson Chungeecf02d2012-03-02 17:14:58 -080083 <dimen name="dragViewScale">12dp</dimen>
Adam Cohen2801caf2011-05-13 20:57:39 -070084
Michael Jurkadac85912012-05-18 15:04:49 -070085 <!-- Padding applied to AppWidget previews -->
86 <dimen name="app_widget_preview_padding_left">16dp</dimen>
87 <dimen name="app_widget_preview_padding_right">16dp</dimen>
88 <dimen name="app_widget_preview_padding_top">32dp</dimen>
89 <dimen name="app_widget_preview_label_margin_top">4dp</dimen>
90 <dimen name="app_widget_preview_label_margin_left">2dp</dimen>
91 <dimen name="app_widget_preview_label_margin_right">2dp</dimen>
92
93 <!-- Padding applied to shortcut previews -->
94 <dimen name="shortcut_preview_padding_left">0dp</dimen>
95 <dimen name="shortcut_preview_padding_right">0dp</dimen>
96 <dimen name="shortcut_preview_padding_top">0dp</dimen>
Adam Cohen76fc0852011-06-17 13:26:23 -070097
98<!-- Folders -->
Adam Cohen76fc0852011-06-17 13:26:23 -070099 <!-- The amount that the preview contents are inset from the preview background -->
100 <dimen name="folder_preview_padding">4dp</dimen>
Adam Cohenfdd6c832011-08-24 14:00:54 -0700101 <dimen name="folder_name_padding">10dp</dimen>
Jeffrey Sharkey7bd74a42009-03-31 18:25:03 -0700102</resources>