summaryrefslogtreecommitdiff
path: root/res/values/dimens.xml
blob: 98ca16a7d607b5e1be70fc35a21e5a709a3a5ddc (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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="utf-8"?>
<!--

     Copyright (C) 2018 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>
    <dimen name="bottom_navbar_font_text_size">12sp</dimen>

    <dimen name="tip_dot_size">8dp</dimen>
    <dimen name="tip_dot_line_width">2dp</dimen>

    <dimen name="check_size">16dp</dimen>
    <dimen name="check_offset">4dp</dimen>

    <dimen name="component_preview_page_bottom_margin">16dp</dimen>

    <!-- Dimensions for the customization option tiles -->
    <dimen name="options_container_height">120dp</dimen>
    <dimen name="options_container_width">0dp</dimen>
    <dimen name="option_tile_width">88dp</dimen>
    <dimen name="option_icon_size">16dp</dimen>
    <dimen name="theme_option_icon_sample_height">22dp</dimen>
    <dimen name="theme_option_icon_sample_width">22dp</dimen>
    <dimen name="theme_option_shape_sample_height">20dp</dimen>
    <dimen name="theme_option_shape_sample_width">20dp</dimen>
    <dimen name="theme_option_font_sample_height">20dp</dimen>
    <dimen name="theme_option_font_sample_width">52dp</dimen>
    <dimen name="theme_option_sample_margin">10dp</dimen>
    <!-- Note, using dp instead of sp as this is just the "+" symbol, not text -->
    <dimen name="option_tile_padding_vertical">18dp</dimen>
    <dimen name="option_tile_padding_horizontal">18dp</dimen>

    <dimen name="option_bottom_margin">8dp</dimen>
    <dimen name="option_padding_horizontal">2dp</dimen>
    <!-- Note, using dp instead of sp as this text is more like a "snapshot" of the font -->
    <dimen name="theme_option_font_text_size">20dp</dimen>
    <dimen name="theme_option_font_min_text_size">15dp</dimen>

    <dimen name="option_tile_margin_horizontal">6dp</dimen>
    <dimen name="theme_option_label_margin">4dp</dimen>

    <dimen name="preview_card_top_padding">@dimen/preview_card_padding</dimen>

    <dimen name="card_title_text_size">16sp</dimen>
    <dimen name="card_cover_title_text_size">24sp</dimen>
    <dimen name="card_header_icon_size">32dp</dimen>
    <dimen name="card_header_top_margin">0dp</dimen>
    <dimen name="preview_theme_max_height">400dp</dimen>
    <dimen name="preview_theme_min_height">180dp</dimen>
    <dimen name="theme_preview_header_drawable_padding">8dp</dimen>
    <dimen name="preview_theme_content_margin">18dp</dimen>
    <dimen name="preview_theme_content_max_height">192dp</dimen>
    <dimen name="preview_theme_content_min_height">120dp</dimen>
    <dimen name="preview_theme_icon_size">30dp</dimen>
    <dimen name="preview_theme_tile_size">16dp</dimen>
    <dimen name="preview_theme_shape_size">36dp</dimen>
    <dimen name="preview_theme_cover_topbar_clock_size">12sp</dimen>
    <dimen name="preview_theme_cover_topbar_icon_size">16dp</dimen>
    <dimen name="preview_theme_content_bottom">@dimen/min_taptarget_height</dimen>

    <!--  For the new preview of theme picker.  -->
    <dimen name="preview_theme_content_padding_top">16dp</dimen>
    <dimen name="preview_theme_content_padding_bottom">24dp</dimen>
    <dimen name="preview_theme_topbar_container_margin_horizontal">16dp</dimen>
    <dimen name="preview_theme_color_icons_container_margin_horizontal">10dp</dimen>
    <dimen name="preview_theme_qsb_container_margin_horizontal">14dp</dimen>
    <dimen name="preview_theme_smart_space_date_size">16sp</dimen>
    <dimen name="preview_theme_app_icon_size">64dp</dimen>
    <dimen name="preview_theme_app_icon_shape_text_margin_top">8dp</dimen>
    <dimen name="preview_theme_app_icon_shape_text_size">16sp</dimen>
    <dimen name="preview_theme_color_icons_padding_top">12dp</dimen>
    <dimen name="preview_theme_color_icons_padding_bottom">20dp</dimen>
    <dimen name="preview_theme_color_icons_padding_horizontal">18dp</dimen>
    <dimen name="preview_theme_color_icons_title_text_size">12sp</dimen>
    <dimen name="preview_theme_color_icons_icon_size">@dimen/preview_theme_icon_size</dimen>
    <dimen name="preview_theme_color_icons_tile_size">@dimen/preview_theme_tile_size</dimen>

    <!--  For the customization previews on the picker. -->
    <dimen name="preview_content_padding_top">@dimen/preview_page_top_margin</dimen>
    <dimen name="preview_content_padding_bottom">@dimen/indicator_container_height</dimen>

    <dimen name="font_preview_body_width">200dp</dimen>
    <dimen name="font_preview_divider_gap">24dp</dimen>

    <dimen name="custom_theme_nav_height">56dp</dimen>

    <!-- Note, using dp instead of sp as this is just the font thumbnail, not text -->
    <dimen name="font_comonent_option_thumbnail_size">32dp</dimen>

    <dimen name="component_icon_thumb_size">40dp</dimen>

    <dimen name="component_color_chip_size">32dp</dimen>
    <dimen name="component_color_chip_container_size">33dp</dimen>

    <dimen name="component_shape_thumb_size">72dp</dimen>
    <dimen name="component_options_title_size">18sp</dimen>

    <!-- For a corner radius of this size or larger, we'll preview a rounded qsb widget. -->
    <dimen name="roundCornerThreshold">16dp</dimen>

    <dimen name="min_taptarget_height">48dp</dimen>

    <!--  For the style info preview sheet. -->
    <dimen name="theme_info_margin">12dp</dimen>
    <dimen name="theme_info_icon_size">24dp</dimen>
    <dimen name="theme_info_app_preview_icon_margin">2dp</dimen>
    <dimen name="theme_info_app_preview_icon_elevation">2dp</dimen>
    <dimen name="theme_info_text_size">28sp</dimen>

</resources>