1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2014 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
17 <!-- Preference activity, vertical padding for the header list -->
18 <dimen name="preference_screen_header_vertical_padding_material">0dp</dimen>
20 <!-- Preference activity side margins -->
21 <dimen name="preference_screen_side_margin_material">0dp</dimen>
22 <!-- Preference activity side margins negative-->
23 <dimen name="preference_screen_side_margin_negative_material">0dp</dimen>
25 <!-- Preference fragment padding, sides -->
26 <dimen name="preference_fragment_padding_side_material">0dp</dimen>
27 <!-- Preference fragment padding, vertical -->
28 <dimen name="preference_fragment_padding_vertical_material">0dp</dimen>
30 <!-- Preference breadcrumbs padding, start padding -->
31 <dimen name="preference_breadcrumbs_padding_start_material">12dp</dimen>
33 <!-- Preference breadcrumbs padding, end padding -->
34 <dimen name="preference_breadcrumbs_padding_end_material">24dp</dimen>
36 <dimen name="preference_screen_header_padding_side_material">0dp</dimen>
38 <!-- Default height of an action bar. -->
39 <dimen name="action_bar_default_height_material">56dp</dimen>
40 <!-- Default start padding of an action bar. -->
41 <dimen name="action_bar_default_padding_start_material">0dp</dimen>
42 <!-- Default end padding of an action bar. -->
43 <dimen name="action_bar_default_padding_end_material">0dp</dimen>
44 <!-- Default content inset of an action bar. -->
45 <dimen name="action_bar_content_inset_material">16dp</dimen>
46 <!-- Default content inset of an action bar when a navigation button is present. -->
47 <dimen name="action_bar_content_inset_with_nav">72dp</dimen>
48 <!-- Vertical padding around action bar icons. -->
49 <dimen name="action_bar_icon_vertical_padding_material">16dp</dimen>
50 <!-- Top margin for action bar subtitles -->
51 <dimen name="action_bar_subtitle_top_margin_material">-3dp</dimen>
52 <!-- Bottom margin for action bar subtitles -->
53 <dimen name="action_bar_subtitle_bottom_margin_material">5dp</dimen>
55 <!-- Default padding for list items. This should match the action bar
56 content inset so that ListActivity items line up correctly. -->
57 <dimen name="list_item_padding_horizontal_material">@dimen/action_bar_content_inset_material</dimen>
58 <dimen name="list_item_padding_start_material">@dimen/action_bar_content_inset_material</dimen>
59 <dimen name="list_item_padding_end_material">@dimen/action_bar_content_inset_material</dimen>
61 <!-- Padding to add to the start of the overflow action button. -->
62 <dimen name="action_bar_overflow_padding_start_material">6dp</dimen>
63 <!-- Padding to add to the end of the overflow action button. -->
64 <dimen name="action_bar_overflow_padding_end_material">10dp</dimen>
65 <dimen name="action_bar_elevation_material">4dp</dimen>
67 <dimen name="action_button_min_width_overflow_material">36dp</dimen>
68 <dimen name="action_button_min_width_material">48dp</dimen>
69 <dimen name="action_button_min_height_material">48dp</dimen>
71 <dimen name="text_size_display_4_material">112sp</dimen>
72 <dimen name="text_size_display_3_material">56sp</dimen>
73 <dimen name="text_size_display_2_material">45sp</dimen>
74 <dimen name="text_size_display_1_material">34sp</dimen>
75 <dimen name="text_size_headline_material">24sp</dimen>
76 <dimen name="text_size_title_material">20sp</dimen>
77 <dimen name="text_size_subhead_material">16sp</dimen>
78 <dimen name="text_size_title_material_toolbar">20dp</dimen>
79 <dimen name="text_size_subtitle_material_toolbar">16dp</dimen>
80 <dimen name="text_size_menu_material">16sp</dimen>
81 <dimen name="text_size_menu_header_material">14sp</dimen>
82 <dimen name="text_size_body_2_material">14sp</dimen>
83 <dimen name="text_size_body_1_material">14sp</dimen>
84 <dimen name="text_size_caption_material">12sp</dimen>
85 <dimen name="text_size_button_material">14sp</dimen>
87 <dimen name="text_size_large_material">22sp</dimen>
88 <dimen name="text_size_medium_material">18sp</dimen>
89 <dimen name="text_size_small_material">14sp</dimen>
91 <item name="text_line_spacing_multiplier_material" format="float" type="dimen">1.0</item>
93 <dimen name="text_edit_floating_toolbar_elevation">2dp</dimen>
94 <dimen name="text_edit_floating_toolbar_margin">20dp</dimen>
96 <dimen name="floating_window_z">16dp</dimen>
97 <dimen name="floating_window_margin_left">16dp</dimen>
98 <dimen name="floating_window_margin_top">8dp</dimen>
99 <dimen name="floating_window_margin_right">16dp</dimen>
100 <dimen name="floating_window_margin_bottom">32dp</dimen>
102 <!-- Elevation when button is pressed -->
103 <dimen name="button_elevation_material">2dp</dimen>
104 <!-- Z translation to apply when button is pressed -->
105 <dimen name="button_pressed_z_material">4dp</dimen>
106 <!-- Default insets (outer padding) around buttons -->
107 <dimen name="button_inset_vertical_material">6dp</dimen>
108 <dimen name="button_inset_horizontal_material">@dimen/control_inset_material</dimen>
109 <!-- Default inner padding within buttons -->
110 <dimen name="button_padding_vertical_material">@dimen/control_padding_material</dimen>
111 <dimen name="button_padding_horizontal_material">8dp</dimen>
113 <!-- Default insets (outer padding) around controls -->
114 <dimen name="control_inset_material">4dp</dimen>
115 <!-- Default inner padding within controls -->
116 <dimen name="control_padding_material">4dp</dimen>
117 <!-- Default rounded corner for controls -->
118 <dimen name="control_corner_material">2dp</dimen>
120 <dimen name="edit_text_inset_horizontal_material">4dp</dimen>
121 <dimen name="edit_text_inset_top_material">10dp</dimen>
122 <dimen name="edit_text_inset_bottom_material">7dp</dimen>
124 <dimen name="dialog_padding_material">24dp</dimen>
125 <dimen name="dialog_padding_top_material">18dp</dimen>
126 <dimen name="dialog_title_divider_material">8dp</dimen>
127 <dimen name="dialog_list_padding_top_no_title">8dp</dimen>
128 <dimen name="dialog_list_padding_bottom_no_buttons">8dp</dimen>
130 <!-- Dialog padding minus control padding, used to fix alignment. -->
131 <dimen name="select_dialog_padding_start_material">20dp</dimen>
132 <dimen name="select_dialog_drawable_padding_start_material">20dp</dimen>
134 <dimen name="seekbar_track_background_height_material">2dp</dimen>
135 <dimen name="seekbar_track_progress_height_material">2dp</dimen>
137 <dimen name="progress_bar_height_material">4dp</dimen>
139 <!-- Material time picker dimensions. -->
140 <!-- Text size for the time picker header HH:MM label. This value is large
141 enough that we don't need to use scaled pixels, dp is fine. -->
142 <dimen name="timepicker_time_label_size">60dp</dimen>
143 <dimen name="timepicker_ampm_label_size">16dp</dimen>
144 <dimen name="timepicker_ampm_horizontal_padding">16dp</dimen>
145 <dimen name="timepicker_am_top_padding">4dp</dimen>
146 <dimen name="timepicker_pm_top_padding">4dp</dimen>
147 <dimen name="timepicker_separator_padding">2dp</dimen>
148 <dimen name="timepicker_header_height">96dp</dimen>
149 <dimen name="timepicker_radial_picker_dimen">296dp</dimen>
150 <dimen name="timepicker_radial_picker_top_margin">16dp</dimen>
151 <dimen name="timepicker_radial_picker_horizontal_margin">16dp</dimen>
152 <dimen name="timepicker_edit_text_size">24sp</dimen>
154 <!-- Used by RadialTimePicker in clock-style TimePicker. -->
155 <dimen name="timepicker_selector_radius">20dp</dimen>
156 <dimen name="timepicker_selector_stroke">2dp</dimen>
157 <dimen name="timepicker_center_dot_radius">3dp</dimen>
158 <dimen name="timepicker_selector_dot_radius">2dp</dimen>
159 <dimen name="timepicker_text_inset_normal">22dp</dimen>
160 <dimen name="timepicker_text_inset_inner">58dp</dimen>
161 <dimen name="timepicker_text_size_normal">16sp</dimen>
162 <dimen name="timepicker_text_size_inner">12sp</dimen>
164 <!-- Material date picker dimensions. -->
165 <dimen name="datepicker_year_label_height">64dp</dimen>
166 <dimen name="datepicker_component_width">260dp</dimen>
167 <dimen name="datepicker_dialog_width">520dp</dimen>
168 <dimen name="datepicker_selected_date_day_size">88dp</dimen>
169 <dimen name="datepicker_selected_date_month_size">24dp</dimen>
170 <dimen name="datepicker_selected_date_year_size">24dp</dimen>
171 <dimen name="datepicker_header_height">30dp</dimen>
172 <dimen name="datepicker_header_text_size">14dp</dimen>
174 <dimen name="datepicker_list_year_label_size">16sp</dimen>
175 <dimen name="datepicker_list_year_activated_label_size">26sp</dimen>
177 <dimen name="date_picker_year_label_size">16sp</dimen>
178 <dimen name="date_picker_date_label_size">34dp</dimen>
180 <!-- Used by Material-style SimpleMonthView -->
181 <dimen name="date_picker_month_text_size">14sp</dimen>
182 <dimen name="date_picker_day_of_week_text_size">12sp</dimen>
183 <dimen name="date_picker_day_text_size">12sp</dimen>
184 <dimen name="date_picker_month_height">56dp</dimen>
185 <dimen name="date_picker_day_of_week_height">36dp</dimen>
186 <dimen name="date_picker_day_height">40dp</dimen>
187 <dimen name="date_picker_day_width">44dp</dimen>
188 <dimen name="date_picker_day_selector_radius">20dp</dimen>
189 <dimen name="day_picker_padding_horizontal">20dp</dimen>
190 <dimen name="day_picker_padding_top">6dp</dimen>
191 <dimen name="day_picker_button_margin_top">0dp</dimen>
193 <dimen name="datepicker_view_animator_height">226dp</dimen>
195 <!-- Date and time picker legacy dimens -->
196 <dimen name="picker_top_margin">16dip</dimen>
197 <dimen name="picker_bottom_margin">16dip</dimen>
199 <!-- Progress bar dimens -->
200 <dimen name="progress_bar_size_small">16dip</dimen>
201 <dimen name="progress_bar_size_medium">48dp</dimen>
202 <dimen name="progress_bar_size_large">76dp</dimen>