blob: 4e8281e97482d25bab4cd63d0ad90bd30cde3f53 [file] [log] [blame]
Winson Chungb5e74c82011-10-28 16:39:20 -07001<?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 Flynn5820e912012-05-09 11:12:48 -070018 <dimen name="app_icon_size">72dp</dimen>
Winson Chung5a0f45f2012-08-28 15:33:22 -070019 <dimen name="app_icon_padding_top">0dp</dimen>
Andrew Flynn2f5f9452012-05-12 17:00:35 -070020 <dimen name="reveal_radius">72dp</dimen>
Winson Chung0e721a42012-08-02 17:40:30 -070021
22<!-- Hotseat -->
Winson Chung5a0f45f2012-08-28 15:33:22 -070023 <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 Chung411a3002012-09-27 13:24:09 -070029 <dimen name="hotseat_width_gap">58dp</dimen>
Winson Chung0e721a42012-08-02 17:40:30 -070030
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080031<!-- QSB -->
Winson Chung0e721a42012-08-02 17:40:30 -070032 <dimen name="toolbar_button_vertical_padding">8dip</dimen>
33 <dimen name="toolbar_button_horizontal_padding">8dip</dimen>
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080034
35<!-- Workspace -->
Winson Chung0e721a42012-08-02 17:40:30 -070036 <dimen name="qsb_bar_height">60dp</dimen>
37 <dimen name="qsb_bar_height_inset">60dp</dimen>
Winson Chung411a3002012-09-27 13:24:09 -070038 <dimen name="qsb_padding_left">177dp</dimen>
39 <dimen name="qsb_padding_right">177dp</dimen>
Winson Chung0e721a42012-08-02 17:40:30 -070040 <!-- 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 Flynn0dca1ec2012-02-29 13:33:22 -080044
Winson Chung6032e7e2011-11-08 15:47:17 -080045<!-- AppsCustomize -->
Winson Chung9218d812012-05-16 11:52:39 -070046 <dimen name="apps_customize_cell_width">96dp</dimen>
47 <dimen name="apps_customize_cell_height">96dp</dimen>
Winson Chung6032e7e2011-11-08 15:47:17 -080048 <integer name="apps_customize_maxCellCountX">-1</integer>
49 <integer name="apps_customize_maxCellCountY">-1</integer>
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080050 <dimen name="all_apps_button_vertical_padding">4dip</dimen>
51
Andrew Flynn0dca1ec2012-02-29 13:33:22 -080052 <!-- 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 Flynn0dca1ec2012-02-29 13:33:22 -080055
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 Chungeecf02d2012-03-02 17:14:58 -080059 <dimen name="dragViewOffsetY">0dp</dimen>
Adam Cohend5f8c342012-04-26 14:56:12 -070060
61<!-- CellLayout padding land / port-->
Winson Chung5a0f45f2012-08-28 15:33:22 -070062 <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 Cohend5f8c342012-04-26 14:56:12 -070070
Adam Cohen985b9b62012-08-15 15:35:48 -070071<!-- 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 Cohend5f8c342012-04-26 14:56:12 -070080<!-- 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 Chung0e721a42012-08-02 17:40:30 -070085
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 Chung5a0f45f2012-08-28 15:33:22 -070088 <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 Chung0e721a42012-08-02 17:40:30 -070090
Winson Chung5a0f45f2012-08-28 15:33:22 -070091 <!-- Divider width set to match the qsb width -->
92 <dimen name="workspace_divider_width">0dp</dimen>
Winson Chung411a3002012-09-27 13:24:09 -070093 <dimen name="workspace_divider_padding_left">177dp</dimen>
94 <dimen name="workspace_divider_padding_right">177dp</dimen>
Winson Chung0e721a42012-08-02 17:40:30 -070095 <dimen name="workspace_divider_padding_top">0dp</dimen>
96 <dimen name="workspace_divider_padding_bottom">0dp</dimen>
Adam Cohenf4bd5792012-04-27 11:35:29 -070097
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 Chung411a3002012-09-27 13:24:09 -0700103 <dimen name="workspace_width_gap_land">50dp</dimen>
Adam Cohenf4bd5792012-04-27 11:35:29 -0700104 <dimen name="workspace_width_gap_port">0dp</dimen>
Winson Chung0e721a42012-08-02 17:40:30 -0700105 <dimen name="workspace_height_gap_land">16dp</dimen>
Winson Chung411a3002012-09-27 13:24:09 -0700106 <dimen name="workspace_height_gap_port">70dp</dimen>
Andrew Flynn0dca1ec2012-02-29 13:33:22 -0800107</resources>