summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: 36e39949bf1cca3a2d47266ff3aac82caf2432bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>
<!-- Workspace -->
    <dimen name="qsb_bar_height">56dp</dimen>
    <dimen name="workspace_cell_width">80dp</dimen>
    <dimen name="workspace_cell_height">80dp</dimen>
    <dimen name="workspace_width_gap">-1dp</dimen>
    <dimen name="workspace_height_gap">-1dp</dimen>
    <dimen name="workspace_max_gap">8dp</dimen>

<!-- QSB -->
    <dimen name="toolbar_button_vertical_padding">12dip</dimen>
    <dimen name="toolbar_button_horizontal_padding">16dip</dimen>

<!-- AllApps/Customize/AppsCustomize -->
    <!-- Size of icons in Workspace/AppsCustomize -->
    <dimen name="app_icon_size">56dp</dimen>
    <dimen name="apps_customize_cell_width">72dp</dimen>
    <dimen name="apps_customize_cell_height">72dp</dimen>
    <!-- In portrat/normal, we peek only 1/8th the app cell width -->
    <dimen name="apps_customize_peek_width">9dp</dimen>
    <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen>
    <dimen name="apps_customize_widget_cell_height_gap">10dp</dimen>
    <dimen name="title_texture_width">120px</dimen>

    <!-- height of the tab bar in AppsCustomize -->
    <dimen name="apps_customize_tab_bar_height">56dp</dimen>

    <!-- height of the bottom row of controls -->
    <dimen name="button_bar_height">56dip</dimen>

    <!-- so we have access to this dimension in landscape mode even though
         button_bar_height changes -->
    <dimen name="button_bar_height_portrait">56dip</dimen>

    <!-- extra horizontal spacing between mini screen thumbnails ie. in all
         apps and in customization mode -->
    <dimen name="smallScreenExtraSpacing">0dip</dimen>

    <!-- Vertical spacing between edge of screen and mini cell layouts when they
         are minimized to the bottom in all apps -->
    <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen>
    <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen>

    <!-- height & width of the drop rectangle for the trash icon -->
    <dimen name="delete_zone_size">70dip</dimen>

    <!-- delete_zone_size_full - button_bar_height_portrait -->
    <dimen name="delete_zone_padding">14dip</dimen>

    <!-- padding between the delete zone drawable and text -->
    <dimen name="delete_zone_drawable_padding">8dip</dimen>

    <!-- roughly a status bar (for vertically centering the all apps
         home icon in landscape) -->
    <dimen name="status_bar_height">25dip</dimen>

    <!-- roughly half a status bar (for vertically centering the right-hand
         button cluster in landscape) -->
    <dimen name="half_status_bar_height">12dip</dimen>

<!-- Dragging -->
    <!-- the area at the edge of the screen that makes the workspace go left
         or right while you're dragging. -->
    <dimen name="scroll_zone">20dp</dimen>

    <!-- When dragging items on the workspace, the number of dps by which the position of
     the drag view should be offset from the position of the original view. -->
    <dimen name="dragViewOffsetX">0dp</dimen>
    <dimen name="dragViewOffsetY">-8dp</dimen>

    <!-- Padding applied to AppWidgets -->
    <dimen name="app_widget_padding_left">0dp</dimen>
    <dimen name="app_widget_padding_right">0dp</dimen>
    <dimen name="app_widget_padding_top">0dp</dimen>
    <dimen name="app_widget_padding_bottom">0dp</dimen>

<!-- Folders -->
    <!-- The size of the image which sits behind the preview of the folder contents -->
    <dimen name="folder_preview_size">64dp</dimen>
    <!-- The amount that the preview contents are inset from the preview background -->
    <dimen name="folder_preview_padding">4dp</dimen>
    <dimen name="folder_padding">18dp</dimen>
    <dimen name="folder_content_name_gap">10dp</dimen>
    <dimen name="folder_width_gap">0dp</dimen>
    <dimen name="folder_height_gap">0dp</dimen>
</resources>