/
dimens.xml
65 lines (54 loc) · 3.23 KB
/
dimens.xml
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
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 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
~
~ https://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="design_textinput_caption_translate_y">5dp</dimen>
<dimen name="mtrl_textinput_counter_margin_start">16dp</dimen>
<dimen name="material_textinput_default_width">245dp</dimen>
<!-- Minimum width for text fields without a label. If a label is present,
minimum width should be 88dp. -->
<dimen name="material_textinput_min_width">56dp</dimen>
<dimen name="material_textinput_max_width">488dp</dimen>
<dimen name="mtrl_textinput_outline_box_expanded_padding">16dp</dimen>
<dimen name="mtrl_textinput_box_corner_radius_small">0dp</dimen>
<dimen name="mtrl_textinput_box_corner_radius_medium">4dp</dimen>
<dimen name="mtrl_textinput_box_stroke_width_default">1dp</dimen>
<dimen name="mtrl_textinput_box_stroke_width_focused">2dp</dimen>
<dimen name="mtrl_textinput_box_label_cutout_padding">4dp</dimen>
<!-- Dimens for edit text's top and bottom padding adjustments for large font scale settings. -->
<dimen name="material_filled_edittext_font_1_3_padding_top">23dp</dimen>
<dimen name="material_filled_edittext_font_1_3_padding_bottom">12dp</dimen>
<dimen name="material_filled_edittext_font_2_0_padding_top">32dp</dimen>
<dimen name="material_filled_edittext_font_2_0_padding_bottom">8dp</dimen>
<!-- For 1.3 font scale settings, the edit text's collapsed top padding in box mode. -->
<dimen name="material_font_1_3_box_collapsed_padding_top">4dp</dimen>
<!-- For 2.0 font scale settings, the edit text's collapsed top padding in box mode. -->
<dimen name="material_font_2_0_box_collapsed_padding_top">8dp</dimen>
<dimen name="material_helper_text_default_padding_top">4dp</dimen>
<!-- For large font scale settings, distance from text field to helper text's
baseline should be 24dp when font size is 16 (16 + 8dp = 24dp) and 32dp
when font size is 24 (24 + 8dp = 32dp). -->
<dimen name="material_helper_text_font_1_3_padding_top">8dp</dimen>
<dimen name="material_helper_text_font_1_3_padding_horizontal">12dp</dimen>
<!-- The icon views' minimum width is 48dp and since each icon is 24dp wide we need a 4dp margin
to have the appropriate spacing before and after each icon. -->
<dimen name="mtrl_textinput_end_icon_margin_start">4dp</dimen>
<dimen name="mtrl_textinput_start_icon_margin_end">4dp</dimen>
<dimen name="material_input_text_to_prefix_suffix_padding">2dp</dimen>
<dimen name="mtrl_exposed_dropdown_menu_popup_elevation">8dp</dimen>
<dimen name="mtrl_exposed_dropdown_menu_popup_vertical_padding">8dp</dimen>
<dimen name="mtrl_exposed_dropdown_menu_popup_vertical_offset">-8dp</dimen>
</resources>