1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2011, 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--> 19 20<!-- These resources are around just to allow their values to be customized 21 for different hardware and product builds. --> 22<resources> 23 <dimen name="label_text_size">14sp</dimen> 24 <dimen name="label_edittext_padding">21dp</dimen> 25 <dimen name="time_text_size">120dip</dimen> 26 <dimen name="ampm_text_size">20dip</dimen> 27 <dimen name="date_text_size">15sp</dimen> 28 <dimen name="next_alarm_text_size">15sp</dimen> 29 <dimen name="time_margin_top">32dip</dimen> 30 <dimen name="timer_padding">16dp</dimen> 31 <dimen name="timer_list_padding_bottom">88dip</dimen> 32 <!-- 88dip + 0.5 of footer_button_size --> 33 <dimen name="timer_cancel_end_margin">116dip</dimen> 34 <dimen name="screensaver_margin">16dip</dimen> 35 <dimen name="alarm_label_padding">8dip</dimen> 36 <dimen name="alert_dialog_title_height">64dip</dimen> 37 <dimen name="bottom_text_spacing_digital">-8dp</dimen> 38 <dimen name="top_text_spacing_digital">4dp</dimen> 39 <dimen name="bottom_text_spacing_analog">14dp</dimen> 40 <dimen name="bottom_text_spacing_analog_small">6dp</dimen> 41 42 <dimen name="alarm_side_padding">12dip</dimen> 43 <dimen name="clock_side_padding">12dip</dimen> 44 <!-- clock_side_padding_reduced = clock_side_padding - clock_fragment_end_padding --> 45 <dimen name="clock_side_padding_reduced">0dip</dimen> 46 <dimen name="clock_fragment_end_padding">12dip</dimen> 47 <dimen name="alarm_clock_vertical_margin">12dip</dimen> 48 49 <!-- Analog clock size in the the screen saver --> 50 <dimen name="bottom_text_size">16sp</dimen> 51 52 <dimen name="actionbar_tab_padding">0dip</dimen> 53 <dimen name="actionbar_title_font_size">18sp</dimen> 54 55 <dimen name="footer_button_size">56dip</dimen> 56 57 <dimen name="alarm_text_padding">15dp</dimen> 58 <dimen name="alarm_text_font_size">16sp</dimen> 59 <dimen name="alarm_min_distance">2dp</dimen> 60 <dimen name="circletimer_dot_size">12dip</dimen> 61 <dimen name="circletimer_circle_size">4dip</dimen> 62 <dimen name="circletimer_marker_size">16dip</dimen> 63 64 <dimen name="alarm_lockscreen_alarm_horizontal_padding">16dp</dimen> 65 <dimen name="alarm_lockscreen_alarm_vertical_padding">48dp</dimen> 66 <dimen name="alarm_lockscreen_pulse_radius">128dp</dimen> 67 <dimen name="alarm_lockscreen_bottom_margin">40dp</dimen> 68 69 <dimen name="main_clock_font_size">70sp</dimen> 70 <dimen name="big_font_size">60sp</dimen> 71 <dimen name="medium_font_size">56sp</dimen> 72 <dimen name="small_font_size">32sp</dimen> 73 <dimen name="label_font_size">16sp</dimen> 74 <!-- Use dp on purpose to ensure consistency across multiple screen sizes. --> 75 <dimen name="widget_label_font_size">14dp</dimen> 76 <item name="ampm_font_size_scale" type="fraction">50%</item> 77 <item name="reduced_clock_font_size_scale" type="fraction">65%</item> 78 <dimen name="header_font_size">24sp</dimen> 79 <dimen name="body_font_size">18sp</dimen> 80 <dimen name="day_button_font_size">18sp</dimen> 81 <dimen name="alarm_time_font_size">64sp</dimen> 82 <dimen name="alarm_info_font_size">36sp</dimen> 83 <dimen name="no_alarm_font_size">16sp</dimen> 84 85 <dimen name="alarm_picker_dialog_horizontal_margin">30dp</dimen> 86 <dimen name="alarm_picker_dialog_vertical_margin">20dp</dimen> 87 <dimen name="alarm_picker_margin_bottom">10dp</dimen> 88 89 <dimen name="body_font_padding">4dp</dimen> 90 <dimen name="button_font_size">24sp</dimen> 91 <dimen name="dialog_button_font_size">16sp</dimen> 92 93 <dimen name="alarm_label_size">14sp</dimen> 94 95 <dimen name="medium_font_padding">12dp</dimen> 96 97 <dimen name="small_space">16dp</dimen> 98 <dimen name="medium_space_top">22dp</dimen> 99 <dimen name="medium_space_bottom">12dp</dimen> 100 <dimen name="style_label_space">4dip</dimen> 101 <dimen name="sw_item_space">16dip</dimen> 102 <dimen name="main_clock_padding">34dp</dimen> 103 104 <dimen name="label_margin_big">4dp</dimen> 105 <dimen name="label_margin_small">2dp</dimen> 106 107 <dimen name="dialpad_font_size">36sp</dimen> 108 <!--padding should be (in dip) ~ 60% dialpad_font_size --> 109 <dimen name="dialpad_digit_padding">22dip</dimen> 110 <dimen name="timer_setup_font_size">38sp</dimen> 111 <dimen name="timer_setup_button_size">24sp</dimen> 112 <!--margin should be ~ half timer_setup_font_size --> 113 <dimen name="timer_setup_delete_start_margin">28sp</dimen> 114 <dimen name="timer_setup_delete_padding">12dip</dimen> 115 <dimen name="timer_setup_label_size">18sp</dimen> 116 117 <dimen name="cities_list_item_height">56dip</dimen> 118 119 <!-- Size of margin for circles. --> 120 <dimen name="circle_margin_top">16dp</dimen> 121 <dimen name="circle_margin">32dp</dimen> 122 <dimen name="analog_clock_margin">60dp</dimen> 123 124 <dimen name="circle_size">280dp</dimen> 125 <!-- 126 list_bottom_spacing = footer_button_size + footer_button_layout_margin. 127 Used by both StopwatchFragment and AlarmFragment. 128 --> 129 <dimen name="list_bottom_spacing">72dip</dimen> 130 131 <dimen name="sw_padding_end">32dp</dimen> 132 133 <!-- The width and height of the notification icon --> 134 <dimen name="notification_icon_size">64dip</dimen> 135 <!-- Size of notification text (see TextAppearance.StatusBar.EventContent) --> 136 <dimen name="notification_text_size">14dp</dimen> 137 <!-- Size of notification text titles (see TextAppearance.StatusBar.EventContent.Title) --> 138 <dimen name="notification_title_text_size">18dp</dimen> 139 <!-- Size of margin between icon and text / title text. --> 140 <dimen name="notification_content_margin_start">8dp</dimen> 141 142 <!-- Width of the clock, for use with alarm buttons. --> 143 <dimen name="alarm_alert_display_width">304dip</dimen> 144 <!-- Bottom padding for alarm lock screen hint text --> 145 <dimen name="alarm_alert_hint_padding">32dip</dimen> 146 147 <!-- Size of time zone analog clocks in world clock. --> 148 <dimen name="world_clock_analog_size">100dip</dimen> 149 <dimen name="world_clock_margin">32dp</dimen> 150 151 <!-- Height of the button footers. 56 height and 16 on top and bottom. --> 152 <dimen name="button_footer_height">88dip</dimen> 153 <!-- Negative value of the height of the button footers, for use with lightsout. --> 154 <dimen name="button_footer_height_neg">-48dip</dimen> 155 156 <!-- Digital Widget settings (keyguard|home_screen) --> 157 <!-- Clock and world clock sizes --> 158 <!-- Use dp on purpose to ensure consistency across multiple screen sizes. --> 159 <dimen name="widget_big_font_size">75dp</dimen> 160 <dimen name="widget_medium_font_size">32sp</dimen> 161 <dimen name="widget_24_medium_font_size">40sp</dimen> 162 163 <!-- Hour and minute spacing --> 164 <dimen name="widget_big_time_margin_right">10dip</dimen> 165 <dimen name="widget_medium_time_margin_right">5dip</dimen> 166 167 <dimen name="min_analog_widget_size">110dp</dimen> 168 169 <!-- width/height of layout/digital_widget_time --> 170 <dimen name="min_digital_widget_width">206dip</dimen> 171 <dimen name="min_digital_widget_resize_width">136dip</dimen> 172 <dimen name="min_digital_widget_height">129dip</dimen> 173 <dimen name="min_digital_widget_resize_height">59dip</dimen> 174 175 <!-- sum of scaled heights --> 176 <dimen name="digital_widget_list_min_scaled_height">162dp</dimen> 177 <!-- sum of fixed heights --> 178 <dimen name="digital_widget_list_min_fixed_height">12dp</dimen> 179 <!-- top margin for digital_appwidget_listview --> 180 <dimen name="digital_widget_list_margin_top">20dp</dimen> 181 <dimen name="digital_widget_city_margin_bottom">10dp</dimen> 182 183 <!-- shadow styles for digital widget text --> 184 <item name="digital_widget_shadow_radius" format="float" type="dimen">2.75</item> 185 <item name="digital_widget_shadow_dy" format="float" type="dimen">2.0</item> 186 187 <!-- Bottom margin for the expand area --> 188 <dimen name="collapse_expand_height">72dip</dimen> 189 190 <!-- Divider height --> 191 <dimen name="hairline_height">1dip</dimen> 192 193 <!-- Divider side padding --> 194 <dimen name="hairline_side_padding">6dp</dimen> 195 196 <!-- The minimum height/width of any touch target --> 197 <dimen name="touch_target_min_size">48dip</dimen> 198 199 <!-- Dimens for cities fastscroll --> 200 <dimen name="fastscroll_thumb_height">48dp</dimen> 201 <dimen name="fastscroll_thumb_width">8dp</dimen> 202 <dimen name="fastscroll_preview_padding">8dp</dimen> 203 <dimen name="fastscroll_track_width">8dp</dimen> 204 205 <!-- Dimens for drawable padding on Alarms tab --> 206 <dimen name="alarm_horizontal_padding">16dp</dimen> 207 208 <!-- Dimens for icon padding on Alarms tab --> 209 <dimen name="icon_margin">4dp</dimen> 210 211 <!-- Dimens for taller rows on Alarms tab --> 212 <dimen name="tall_row_height">58dp</dimen> 213 214 <!-- Floating action button style --> 215 <dimen name="fab_margin">0dp</dimen> 216 <dimen name="fab_elevation">8dp</dimen> 217 218 <!-- Height of the bar containing the floating action button --> 219 <dimen name="fab_height">88dp</dimen> 220</resources> 221