summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: b2e183c63e60248098c3cabb26016887adb7995e (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
103
104
105
106
107
108
<?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>
<!-- Dynamic Grid -->
    <dimen name="dynamic_grid_edge_margin">6dp</dimen>
    <dimen name="dynamic_grid_search_bar_max_width">500dp</dimen>
    <dimen name="dynamic_grid_search_bar_height">56dp</dimen>
    <dimen name="dynamic_grid_page_indicator_height">20dp</dimen>
    <dimen name="dynamic_grid_icon_drawable_padding">4dp</dimen>
    <dimen name="dynamic_grid_all_apps_cell_padding">18dp</dimen>
    <dimen name="dynamic_grid_workspace_page_spacing">8dp</dimen>
    <dimen name="dynamic_grid_overview_min_icon_zone_height">80dp</dimen>
    <dimen name="dynamic_grid_overview_max_icon_zone_height">120dp</dimen>
    <dimen name="dynamic_grid_overview_bar_item_width">48dp</dimen>
    <dimen name="dynamic_grid_overview_bar_spacer_width">68dp</dimen>

<!-- Cling -->
    <dimen name="clingPunchThroughGraphicCenterRadius">94dp</dimen>
    <dimen name="folderClingMarginTop">20dp</dimen>
    <!-- The offset for the text in the cling -->
    <dimen name="cling_text_block_offset_x">0dp</dimen>
    <dimen name="cling_text_block_offset_y">0dp</dimen>
    <!-- entries for custom clings, will be set in overlays -->
    <add-resource type="dimen" name="custom_cling_margin_top" />
    <add-resource type="dimen" name="custom_cling_margin_right" />
    <add-resource type="dimen" name="custom_cling_margin_left" />
    
    <dimen name="cling_title_text_size">20sp</dimen>
    <dimen name="cling_text_size">14sp</dimen>
    <dimen name="cling_alt_title_text_size">24sp</dimen>
    <dimen name="cling_alt_text_size">16sp</dimen>
    <dimen name="cling_hint_text_size">14sp</dimen>

<!-- Workspace -->
    <dimen name="workspace_max_gap">16dp</dimen>
    <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>

<!-- QSB -->
    <dimen name="toolbar_button_vertical_padding">4dip</dimen>
    <dimen name="toolbar_button_horizontal_padding">12dip</dimen>
    <!-- External toolbar icon size (for bounds) -->
    <dimen name="toolbar_external_icon_width">36dp</dimen>
    <dimen name="toolbar_external_icon_height">36dp</dimen>

<!-- AllApps/Customize/AppsCustomize -->
    <!-- The height of the tab bar - if this changes, we should update the
         external icon width/height above to compensate -->
    <dimen name="apps_customize_tab_bar_height">52dp</dimen>
    <dimen name="apps_customize_tab_bar_margin_top">0dp</dimen>
    <dimen name="app_icon_size">48dp</dimen>
    <dimen name="apps_customize_horizontal_padding">0dp</dimen>

    <!-- The AppsCustomize page indicator -->
    <dimen name="apps_customize_page_indicator_height">12dp</dimen>
    <dimen name="apps_customize_page_indicator_margin">4dp</dimen>
    <dimen name="apps_customize_page_indicator_offset">16dp</dimen>

    <!-- Drag padding to add to the bottom of drop targets -->
    <dimen name="drop_target_drag_padding">14dp</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">0dp</dimen>
    <!--  When dragging an item, how much bigger (fixed dps) the dragged view
          should be. If 0, it will not be scaled at all. -->
    <dimen name="dragViewScale">12dp</dimen>

    <!-- Padding applied to AppWidget previews -->
    <dimen name="app_widget_preview_padding_left">16dp</dimen>
    <dimen name="app_widget_preview_padding_right">16dp</dimen>
    <dimen name="app_widget_preview_padding_top">32dp</dimen>
    <dimen name="app_widget_preview_label_vertical_padding">8dp</dimen>
    <dimen name="app_widget_preview_label_horizontal_padding">8dp</dimen>

    <!-- Padding applied to shortcut previews -->
    <dimen name="shortcut_preview_padding_left">0dp</dimen>
    <dimen name="shortcut_preview_padding_right">0dp</dimen>
    <dimen name="shortcut_preview_padding_top">0dp</dimen>

<!-- Folders -->
    <!-- The amount that the preview contents are inset from the preview background -->
    <dimen name="folder_preview_padding">4dp</dimen>
    <dimen name="folder_name_padding">10dp</dimen>

<!-- Sizes for managed profile badges -->
    <dimen name="profile_badge_size">24dp</dimen>
    <dimen name="profile_badge_margin">4dp</dimen>
</resources>