• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3
4     Copyright (C) 2018 The Android Open Source Project
5
6     Licensed under the Apache License, Version 2.0 (the "License");
7     you may not use this file except in compliance with the License.
8     You may obtain a copy of the License at
9
10          http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17-->
18<resources>
19    <dimen name="bottom_navbar_height">56dp</dimen>
20    <dimen name="bottom_navbar_font_text_size">12sp</dimen>
21
22    <dimen name="tip_dot_size">8dp</dimen>
23    <dimen name="tip_dot_line_width">2dp</dimen>
24
25    <dimen name="check_size">20dp</dimen>
26    <dimen name="check_offset">-4dp</dimen>
27
28    <dimen name="preview_indicator_width">16dp</dimen>
29    <dimen name="preview_indicator_height">8dp</dimen>
30    <dimen name="indicator_container_height">48dp</dimen>
31    <dimen name="indicator_arrow_size">24dp</dimen>
32    <dimen name="indicator_arrow_touch_area_size">48dp</dimen>
33
34    <dimen name="indicator_arrow_container_margin_horizontal">4dp</dimen>
35    <dimen name="preview_page_gap">16dp</dimen>
36    <dimen name="preview_page_horizontal_margin">56dp</dimen>
37    <dimen name="preview_page_top_margin">16dp</dimen>
38    <dimen name="preview_page_bottom_margin">2dp</dimen>
39    <dimen name="component_preview_page_bottom_margin">16dp</dimen>
40
41    <!-- Dimensions for the customization option tiles -->
42    <dimen name="options_container_height">104dp</dimen>
43    <dimen name="options_container_width">0dp</dimen>
44    <dimen name="option_tile_width">72dp</dimen>
45    <dimen name="theme_option_icon_sample_height">18dp</dimen>
46    <dimen name="theme_option_icon_sample_width">18dp</dimen>
47    <dimen name="theme_option_shape_sample_height">16dp</dimen>
48    <dimen name="theme_option_shape_sample_width">16dp</dimen>
49    <dimen name="theme_option_font_sample_height">16dp</dimen>
50    <dimen name="theme_option_font_sample_width">52dp</dimen>
51    <dimen name="theme_option_sample_padding">5dp</dimen>
52    <!-- Note, using dp instead of sp as this is just the "+" symbol, not text -->
53    <dimen name="option_tile_padding_vertical">12dp</dimen>
54    <dimen name="option_tile_padding_horizontal">10dp</dimen>
55
56    <dimen name="option_bottom_margin">8dp</dimen>
57    <!-- Note, using dp instead of sp as this text is more like a "snapshot" of the font -->
58    <dimen name="theme_option_font_text_size">16dp</dimen>
59    <dimen name="theme_option_title_font_text_size">12sp</dimen>
60
61    <dimen name="option_tile_margin_horizontal">6dp</dimen>
62    <dimen name="theme_option_label_margin">4dp</dimen>
63
64    <dimen name="preview_card_padding">20dp</dimen>
65    <dimen name="preview_card_top_padding">@dimen/preview_card_padding</dimen>
66
67    <dimen name="card_title_text_size">16sp</dimen>
68    <dimen name="card_cover_title_text_size">24sp</dimen>
69    <dimen name="card_header_top_margin">0dp</dimen>
70    <dimen name="preview_pager_max_height">450dp</dimen>
71    <dimen name="preview_pager_min_height">350dp</dimen>
72    <dimen name="preview_theme_max_height">400dp</dimen>
73    <dimen name="preview_theme_min_height">180dp</dimen>
74    <dimen name="theme_preview_header_drawable_padding">8dp</dimen>
75    <dimen name="preview_theme_content_margin">18dp</dimen>
76    <dimen name="preview_theme_content_max_height">192dp</dimen>
77    <dimen name="preview_theme_content_min_height">120dp</dimen>
78    <dimen name="preview_theme_icon_size">30dp</dimen>
79    <dimen name="preview_theme_tile_size">16dp</dimen>
80    <dimen name="preview_theme_shape_size">36dp</dimen>
81    <dimen name="preview_theme_cover_topbar_clock_size">14sp</dimen>
82    <dimen name="preview_theme_cover_topbar_icon_size">16dp</dimen>
83    <dimen name="preview_theme_cover_content_extra_margin">16dp</dimen>
84    <dimen name="preview_theme_content_bottom">@dimen/min_taptarget_height</dimen>
85    <dimen name="preview_theme_cover_content_bottom">@dimen/preview_theme_content_bottom</dimen>
86
87    <dimen name="font_preview_body_width">200dp</dimen>
88    <dimen name="font_preview_divider_gap">24dp</dimen>
89
90    <dimen name="custom_theme_nav_height">56dp</dimen>
91
92    <!-- Note, using dp instead of sp as this is just the font thumbnail, not text -->
93    <dimen name="font_comonent_option_thumbnail_size">32dp</dimen>
94
95    <dimen name="component_icon_thumb_size">40dp</dimen>
96
97    <dimen name="component_color_chip_size">32dp</dimen>
98
99    <dimen name="component_shape_thumb_size">72dp</dimen>
100    <dimen name="option_border_width">2dp</dimen>
101    <dimen name="option_selected_border_width">3dp</dimen>
102    <dimen name="component_options_title_size">18sp</dimen>
103
104    <!-- For a corner radius of this size or larger, we'll preview a rounded qsb widget. -->
105    <dimen name="roundCornerThreshold">16dp</dimen>
106
107    <dimen name="min_taptarget_height">48dp</dimen>
108
109</resources>
110