Winson Chung | b5e74c8 | 2011-10-28 16:39:20 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 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> |
Andrew Flynn | 5820e91 | 2012-05-09 11:12:48 -0700 | [diff] [blame] | 18 | <dimen name="app_icon_size">72dp</dimen> |
Winson Chung | 5a0f45f | 2012-08-28 15:33:22 -0700 | [diff] [blame] | 19 | <dimen name="app_icon_padding_top">0dp</dimen> |
Andrew Flynn | 2f5f945 | 2012-05-12 17:00:35 -0700 | [diff] [blame] | 20 | <dimen name="reveal_radius">72dp</dimen> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 21 | |
| 22 | <!-- Hotseat --> |
Winson Chung | 5a0f45f | 2012-08-28 15:33:22 -0700 | [diff] [blame] | 23 | <dimen name="button_bar_height">82dp</dimen> |
| 24 | <dimen name="button_bar_height_top_padding">12dp</dimen> |
| 25 | <dimen name="button_bar_height_bottom_padding">12dp</dimen> |
| 26 | <dimen name="button_bar_width_left_padding">12dp</dimen> |
| 27 | <dimen name="button_bar_width_right_padding">12dp</dimen> |
| 28 | <dimen name="button_bar_height_plus_padding">82dp</dimen> |
Winson Chung | 411a300 | 2012-09-27 13:24:09 -0700 | [diff] [blame^] | 29 | <dimen name="hotseat_width_gap">58dp</dimen> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 30 | |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 31 | <!-- QSB --> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 32 | <dimen name="toolbar_button_vertical_padding">8dip</dimen> |
| 33 | <dimen name="toolbar_button_horizontal_padding">8dip</dimen> |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 34 | |
| 35 | <!-- Workspace --> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 36 | <dimen name="qsb_bar_height">60dp</dimen> |
| 37 | <dimen name="qsb_bar_height_inset">60dp</dimen> |
Winson Chung | 411a300 | 2012-09-27 13:24:09 -0700 | [diff] [blame^] | 38 | <dimen name="qsb_padding_left">177dp</dimen> |
| 39 | <dimen name="qsb_padding_right">177dp</dimen> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 40 | <!-- We offset the proxy to overlap with the voice icon --> |
| 41 | <dimen name="qsb_voice_proxy_padding_right">230dp</dimen> |
| 42 | <!-- 44dp high for the optical bounds --> |
| 43 | <dimen name="search_bar_height">52dp</dimen> |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 44 | |
Winson Chung | 6032e7e | 2011-11-08 15:47:17 -0800 | [diff] [blame] | 45 | <!-- AppsCustomize --> |
Winson Chung | 9218d81 | 2012-05-16 11:52:39 -0700 | [diff] [blame] | 46 | <dimen name="apps_customize_cell_width">96dp</dimen> |
| 47 | <dimen name="apps_customize_cell_height">96dp</dimen> |
Winson Chung | 6032e7e | 2011-11-08 15:47:17 -0800 | [diff] [blame] | 48 | <integer name="apps_customize_maxCellCountX">-1</integer> |
| 49 | <integer name="apps_customize_maxCellCountY">-1</integer> |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 50 | <dimen name="all_apps_button_vertical_padding">4dip</dimen> |
| 51 | |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 52 | <!-- dimensions for the wallpaper picker wallpaper thumbnail width --> |
| 53 | <dimen name="wallpaper_chooser_grid_width">196dp</dimen> |
| 54 | <dimen name="wallpaper_chooser_grid_height">140dp</dimen> |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 55 | |
| 56 | <!-- When dragging items on the workspace, the number of dps by which the position of |
| 57 | the drag view should be offset from the position of the original view. --> |
| 58 | <dimen name="dragViewOffsetX">0dp</dimen> |
Winson Chung | eecf02d | 2012-03-02 17:14:58 -0800 | [diff] [blame] | 59 | <dimen name="dragViewOffsetY">0dp</dimen> |
Adam Cohen | d5f8c34 | 2012-04-26 14:56:12 -0700 | [diff] [blame] | 60 | |
| 61 | <!-- CellLayout padding land / port--> |
Winson Chung | 5a0f45f | 2012-08-28 15:33:22 -0700 | [diff] [blame] | 62 | <dimen name="cell_layout_left_padding_port">4dp</dimen> |
| 63 | <dimen name="cell_layout_left_padding_land">4dp</dimen> |
| 64 | <dimen name="cell_layout_right_padding_port">4dp</dimen> |
| 65 | <dimen name="cell_layout_right_padding_land">4dp</dimen> |
| 66 | <dimen name="cell_layout_top_padding_port">12dp</dimen> |
| 67 | <dimen name="cell_layout_top_padding_land">12dp</dimen> |
| 68 | <dimen name="cell_layout_bottom_padding_port">8dp</dimen> |
| 69 | <dimen name="cell_layout_bottom_padding_land">8dp</dimen> |
Adam Cohen | d5f8c34 | 2012-04-26 14:56:12 -0700 | [diff] [blame] | 70 | |
Adam Cohen | 985b9b6 | 2012-08-15 15:35:48 -0700 | [diff] [blame] | 71 | <!-- Folders --> |
| 72 | <!-- The size of the image which sits behind the preview of the folder contents --> |
| 73 | <dimen name="folder_cell_width">96dp</dimen> |
| 74 | <dimen name="folder_cell_height">96dp</dimen> |
| 75 | <dimen name="folder_preview_size">75dp</dimen> |
| 76 | <dimen name="folder_width_gap">2dp</dimen> |
| 77 | <dimen name="folder_height_gap">2dp</dimen> |
| 78 | <dimen name="folder_padding">4dp</dimen> |
| 79 | |
Adam Cohen | d5f8c34 | 2012-04-26 14:56:12 -0700 | [diff] [blame] | 80 | <!-- Workspace padding --> |
| 81 | <dimen name="workspace_left_padding_port">0dp</dimen> |
| 82 | <dimen name="workspace_left_padding_land">0dp</dimen> |
| 83 | <dimen name="workspace_right_padding_port">0dp</dimen> |
| 84 | <dimen name="workspace_right_padding_land">0dp</dimen> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 85 | |
| 86 | <dimen name="workspace_top_padding_port">@dimen/qsb_bar_height_inset</dimen> |
| 87 | <dimen name="workspace_top_padding_land">@dimen/qsb_bar_height_inset</dimen> |
Winson Chung | 5a0f45f | 2012-08-28 15:33:22 -0700 | [diff] [blame] | 88 | <dimen name="workspace_bottom_padding_port">@dimen/button_bar_height_plus_padding</dimen> |
| 89 | <dimen name="workspace_bottom_padding_land">@dimen/button_bar_height_plus_padding</dimen> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 90 | |
Winson Chung | 5a0f45f | 2012-08-28 15:33:22 -0700 | [diff] [blame] | 91 | <!-- Divider width set to match the qsb width --> |
| 92 | <dimen name="workspace_divider_width">0dp</dimen> |
Winson Chung | 411a300 | 2012-09-27 13:24:09 -0700 | [diff] [blame^] | 93 | <dimen name="workspace_divider_padding_left">177dp</dimen> |
| 94 | <dimen name="workspace_divider_padding_right">177dp</dimen> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 95 | <dimen name="workspace_divider_padding_top">0dp</dimen> |
| 96 | <dimen name="workspace_divider_padding_bottom">0dp</dimen> |
Adam Cohen | f4bd579 | 2012-04-27 11:35:29 -0700 | [diff] [blame] | 97 | |
| 98 | <!-- Workspace cell size --> |
| 99 | <dimen name="workspace_cell_width_land">96dp</dimen> |
| 100 | <dimen name="workspace_cell_width_port">96dp</dimen> |
| 101 | <dimen name="workspace_cell_height_land">96dp</dimen> |
| 102 | <dimen name="workspace_cell_height_port">96dp</dimen> |
Winson Chung | 411a300 | 2012-09-27 13:24:09 -0700 | [diff] [blame^] | 103 | <dimen name="workspace_width_gap_land">50dp</dimen> |
Adam Cohen | f4bd579 | 2012-04-27 11:35:29 -0700 | [diff] [blame] | 104 | <dimen name="workspace_width_gap_port">0dp</dimen> |
Winson Chung | 0e721a4 | 2012-08-02 17:40:30 -0700 | [diff] [blame] | 105 | <dimen name="workspace_height_gap_land">16dp</dimen> |
Winson Chung | 411a300 | 2012-09-27 13:24:09 -0700 | [diff] [blame^] | 106 | <dimen name="workspace_height_gap_port">70dp</dimen> |
Andrew Flynn | 0dca1ec | 2012-02-29 13:33:22 -0800 | [diff] [blame] | 107 | </resources> |