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 | 82f5553 | 2011-08-09 14:14:23 -0700 | [diff] [blame] | 18 | <!-- Cling --> |
| 19 | <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen> |
| 20 | |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 21 | <!-- Workspace --> |
Winson Chung | ea359c6 | 2011-08-03 17:06:35 -0700 | [diff] [blame] | 22 | <dimen name="qsb_bar_height">40dp</dimen> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 23 | <dimen name="workspace_cell_width">80dp</dimen> |
Winson Chung | ea359c6 | 2011-08-03 17:06:35 -0700 | [diff] [blame] | 24 | <dimen name="workspace_cell_height">100dp</dimen> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 25 | <dimen name="workspace_width_gap">-1dp</dimen> |
| 26 | <dimen name="workspace_height_gap">-1dp</dimen> |
Winson Chung | 4afe9b3 | 2011-07-27 17:46:20 -0700 | [diff] [blame] | 27 | <dimen name="workspace_max_gap">16dp</dimen> |
Adam Cohen | f4bb1cd | 2011-07-22 14:36:03 -0700 | [diff] [blame] | 28 | <dimen name="folder_cell_width">74dp</dimen> |
| 29 | <dimen name="folder_cell_height">80dp</dimen> |
Winson Chung | a6427b1 | 2011-07-27 10:53:39 -0700 | [diff] [blame] | 30 | <dimen name="workspace_divider_padding_left">12dp</dimen> |
| 31 | <dimen name="workspace_divider_padding_right">12dp</dimen> |
| 32 | <dimen name="workspace_divider_padding_top">0dp</dimen> |
| 33 | <dimen name="workspace_divider_padding_bottom">0dp</dimen> |
Winson Chung | 2b8e445 | 2011-08-26 18:12:08 -0700 | [diff] [blame] | 34 | <dimen name="hotseat_cell_width">64dp</dimen> |
| 35 | <dimen name="hotseat_cell_height">64dp</dimen> |
| 36 | <dimen name="hotseat_width_gap">-1dp</dimen> |
| 37 | <dimen name="hotseat_height_gap">-1dp</dimen> |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 38 | |
| 39 | <!-- QSB --> |
Winson Chung | 649723c | 2011-07-06 20:41:23 -0700 | [diff] [blame] | 40 | <dimen name="toolbar_button_vertical_padding">0dip</dimen> |
| 41 | <dimen name="toolbar_button_horizontal_padding">12dip</dimen> |
Winson Chung | 128bbcd | 2011-08-31 16:58:52 -0700 | [diff] [blame] | 42 | <!-- External toolbar icon size (for bounds) --> |
| 43 | <dimen name="toolbar_external_icon_width">36dp</dimen> |
| 44 | <dimen name="toolbar_external_icon_height">36dp</dimen> |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 45 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 46 | <!-- AllApps/Customize/AppsCustomize --> |
Jeff Sharkey | 82aef76 | 2011-08-31 17:37:40 -0700 | [diff] [blame] | 47 | <!-- The height of the tab bar - if this changes, we should update the |
Winson Chung | 128bbcd | 2011-08-31 16:58:52 -0700 | [diff] [blame] | 48 | external icon width/height above to compensate --> |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 49 | <dimen name="apps_customize_tab_bar_height">56dp</dimen> |
Michael Jurka | 931dc97 | 2011-08-05 15:08:15 -0700 | [diff] [blame] | 50 | <dimen name="app_icon_size">48dp</dimen> |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 51 | <!-- The width can be 72dp because we don't have L/R padding --> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 52 | <dimen name="apps_customize_cell_width">72dp</dimen> |
Winson Chung | 557d6ed | 2011-07-08 15:34:52 -0700 | [diff] [blame] | 53 | <dimen name="apps_customize_cell_height">80dp</dimen> |
Winson Chung | db1138b | 2011-06-30 14:39:35 -0700 | [diff] [blame] | 54 | <dimen name="apps_customize_max_gap">18dp</dimen> |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 55 | <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen> |
| 56 | <dimen name="apps_customize_widget_cell_height_gap">10dp</dimen> |
Romain Guy | 442eda2 | 2010-02-04 15:59:37 -0800 | [diff] [blame] | 57 | <dimen name="title_texture_width">120px</dimen> |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 58 | |
| 59 | <!-- height of the bottom row of controls --> |
Winson Chung | ea359c6 | 2011-08-03 17:06:35 -0700 | [diff] [blame] | 60 | <dimen name="button_bar_height">64dip</dimen> |
Winson Chung | f5f8cef | 2011-07-22 11:16:13 -0700 | [diff] [blame] | 61 | <!-- Because portal animations go beyond the bounds of an icon, we need |
| 62 | to make the dock layout slightly larger than the button_bar_height --> |
Winson Chung | 2b8e445 | 2011-08-26 18:12:08 -0700 | [diff] [blame] | 63 | <dimen name="button_bar_height_top_padding">8dp</dimen> |
| 64 | <dimen name="button_bar_height_bottom_padding">0dp</dimen> |
| 65 | <dimen name="button_bar_width_left_padding">0dp</dimen> |
| 66 | <dimen name="button_bar_width_right_padding">0dp</dimen> |
Winson Chung | ea359c6 | 2011-08-03 17:06:35 -0700 | [diff] [blame] | 67 | <dimen name="button_bar_height_plus_padding">72dp</dimen> |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 68 | |
Winson Chung | a62e9fd | 2011-07-11 15:20:48 -0700 | [diff] [blame] | 69 | <!-- Drag padding to add to the drop targets --> |
Winson Chung | a6427b1 | 2011-07-27 10:53:39 -0700 | [diff] [blame] | 70 | <dimen name="drop_target_drag_padding">40dp</dimen> |
Winson Chung | a62e9fd | 2011-07-11 15:20:48 -0700 | [diff] [blame] | 71 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 72 | <!-- extra horizontal spacing between mini screen thumbnails ie. in all |
| 73 | apps and in customization mode --> |
| 74 | <dimen name="smallScreenExtraSpacing">0dip</dimen> |
| 75 | |
| 76 | <!-- Vertical spacing between edge of screen and mini cell layouts when they |
| 77 | are minimized to the bottom in all apps --> |
| 78 | <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen> |
| 79 | <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen> |
| 80 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 81 | <!-- padding between the delete zone drawable and text --> |
| 82 | <dimen name="delete_zone_drawable_padding">8dip</dimen> |
| 83 | |
Daniel Sandler | 86b4054 | 2010-06-01 14:48:12 -0700 | [diff] [blame] | 84 | <!-- roughly a status bar (for vertically centering the all apps |
| 85 | home icon in landscape) --> |
| 86 | <dimen name="status_bar_height">25dip</dimen> |
| 87 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 88 | <!-- Dragging --> |
Joe Onorato | 658db74 | 2010-09-29 11:40:39 -0700 | [diff] [blame] | 89 | <!-- the area at the edge of the screen that makes the workspace go left |
| 90 | or right while you're dragging. --> |
| 91 | <dimen name="scroll_zone">20dp</dimen> |
Adam Cohen | 8878a32 | 2011-03-28 13:18:42 -0700 | [diff] [blame] | 92 | |
| 93 | <!-- When dragging items on the workspace, the number of dps by which the position of |
| 94 | the drag view should be offset from the position of the original view. --> |
| 95 | <dimen name="dragViewOffsetX">0dp</dimen> |
| 96 | <dimen name="dragViewOffsetY">-8dp</dimen> |
Adam Cohen | 2801caf | 2011-05-13 20:57:39 -0700 | [diff] [blame] | 97 | |
Adam Cohen | 41d5d6d | 2011-05-31 15:52:28 -0700 | [diff] [blame] | 98 | <!-- Padding applied to AppWidgets --> |
Adam Cohen | 4512637 | 2011-09-01 13:57:08 -0700 | [diff] [blame^] | 99 | <dimen name="app_widget_padding_left">16dp</dimen> |
| 100 | <dimen name="app_widget_padding_right">16dp</dimen> |
| 101 | <dimen name="app_widget_padding_top">16dp</dimen> |
| 102 | <dimen name="app_widget_padding_bottom">16dp</dimen> |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame] | 103 | |
| 104 | <!-- Folders --> |
| 105 | <!-- The size of the image which sits behind the preview of the folder contents --> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 106 | <dimen name="folder_preview_size">64dp</dimen> |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame] | 107 | <!-- The amount that the preview contents are inset from the preview background --> |
| 108 | <dimen name="folder_preview_padding">4dp</dimen> |
Adam Cohen | fdd6c83 | 2011-08-24 14:00:54 -0700 | [diff] [blame] | 109 | <dimen name="folder_name_padding">10dp</dimen> |
Adam Cohen | 4ef610f | 2011-06-21 22:37:36 -0700 | [diff] [blame] | 110 | <dimen name="folder_width_gap">0dp</dimen> |
| 111 | <dimen name="folder_height_gap">0dp</dimen> |
Jeffrey Sharkey | 7bd74a4 | 2009-03-31 18:25:03 -0700 | [diff] [blame] | 112 | </resources> |