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 | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 18 | <!-- Workspace --> |
| 19 | <dimen name="qsb_bar_height">56dp</dimen> |
| 20 | |
| 21 | <!-- QSB --> |
| 22 | <dimen name="toolbar_button_vertical_padding">12dip</dimen> |
| 23 | <dimen name="toolbar_button_horizontal_padding">16dip</dimen> |
| 24 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 25 | <!-- AllApps/Customize/AppsCustomize --> |
| 26 | <!-- Size of icons in Workspace/AppsCustomize --> |
| 27 | <dimen name="app_icon_size">50dp</dimen> |
| 28 | <dimen name="apps_customize_cell_width">68dp</dimen> |
| 29 | <dimen name="apps_customize_cell_height">68dp</dimen> |
Winson Chung | f0ea4d3 | 2011-06-06 14:27:16 -0700 | [diff] [blame] | 30 | <!-- In portrat/normal, we peek only 1/8th the app cell width --> |
| 31 | <dimen name="apps_customize_peek_width">9dp</dimen> |
| 32 | <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen> |
| 33 | <dimen name="apps_customize_widget_cell_height_gap">10dp</dimen> |
Romain Guy | 442eda2 | 2010-02-04 15:59:37 -0800 | [diff] [blame] | 34 | <dimen name="title_texture_width">120px</dimen> |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 35 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 36 | <!-- height of the tab bar in AppsCustomize --> |
| 37 | <dimen name="apps_customize_tab_bar_height">56dp</dimen> |
| 38 | |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 39 | <!-- height of the bottom row of controls --> |
Joe Onorato | c567acb | 2009-08-31 14:34:43 -0700 | [diff] [blame] | 40 | <dimen name="button_bar_height">56dip</dimen> |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 41 | |
| 42 | <!-- so we have access to this dimension in landscape mode even though |
| 43 | button_bar_height changes --> |
| 44 | <dimen name="button_bar_height_portrait">56dip</dimen> |
| 45 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 46 | <!-- extra horizontal spacing between mini screen thumbnails ie. in all |
| 47 | apps and in customization mode --> |
| 48 | <dimen name="smallScreenExtraSpacing">0dip</dimen> |
| 49 | |
| 50 | <!-- Vertical spacing between edge of screen and mini cell layouts when they |
| 51 | are minimized to the bottom in all apps --> |
| 52 | <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen> |
| 53 | <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen> |
| 54 | |
| 55 | <!-- height & width of the drop rectangle for the trash icon --> |
| 56 | <dimen name="delete_zone_size">70dip</dimen> |
| 57 | |
| 58 | <!-- delete_zone_size_full - button_bar_height_portrait --> |
| 59 | <dimen name="delete_zone_padding">14dip</dimen> |
| 60 | |
| 61 | <!-- padding between the delete zone drawable and text --> |
| 62 | <dimen name="delete_zone_drawable_padding">8dip</dimen> |
| 63 | |
Daniel Sandler | 86b4054 | 2010-06-01 14:48:12 -0700 | [diff] [blame] | 64 | <!-- roughly a status bar (for vertically centering the all apps |
| 65 | home icon in landscape) --> |
| 66 | <dimen name="status_bar_height">25dip</dimen> |
| 67 | |
Daniel Sandler | c9b1877 | 2010-04-22 14:37:59 -0400 | [diff] [blame] | 68 | <!-- roughly half a status bar (for vertically centering the right-hand |
| 69 | button cluster in landscape) --> |
| 70 | <dimen name="half_status_bar_height">12dip</dimen> |
Daniel Sandler | e1d923a | 2010-04-28 14:01:54 -0400 | [diff] [blame] | 71 | |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 72 | <!-- Dragging --> |
Joe Onorato | 658db74 | 2010-09-29 11:40:39 -0700 | [diff] [blame] | 73 | <!-- 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 Cohen | 8878a32 | 2011-03-28 13:18:42 -0700 | [diff] [blame] | 76 | |
| 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> |
| 80 | <dimen name="dragViewOffsetY">-8dp</dimen> |
Adam Cohen | 2801caf | 2011-05-13 20:57:39 -0700 | [diff] [blame] | 81 | |
| 82 | <!-- Width/height gap overrides for the workspace --> |
| 83 | <dimen name="workspace_width_gap">-1dp</dimen> |
| 84 | <dimen name="workspace_height_gap">-1dp</dimen> |
Adam Cohen | 41d5d6d | 2011-05-31 15:52:28 -0700 | [diff] [blame] | 85 | |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame^] | 86 | <!-- Workspace grid --> |
Adam Cohen | 41d5d6d | 2011-05-31 15:52:28 -0700 | [diff] [blame] | 87 | <!-- Padding applied to AppWidgets --> |
| 88 | <dimen name="app_widget_padding_left">0dp</dimen> |
| 89 | <dimen name="app_widget_padding_right">0dp</dimen> |
| 90 | <dimen name="app_widget_padding_top">0dp</dimen> |
| 91 | <dimen name="app_widget_padding_bottom">0dp</dimen> |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame^] | 92 | |
| 93 | <!-- Folders --> |
| 94 | <!-- The size of the image which sits behind the preview of the folder contents --> |
| 95 | <dimen name="folder_preview_size">56dp</dimen> |
| 96 | <!-- The amount that the preview contents are inset from the preview background --> |
| 97 | <dimen name="folder_preview_padding">4dp</dimen> |
| 98 | <dimen name="folder_padding">18dp</dimen> |
| 99 | <dimen name="folder_content_name_gap">10dp</dimen> |
Jeffrey Sharkey | 7bd74a4 | 2009-03-31 18:25:03 -0700 | [diff] [blame] | 100 | </resources> |