Home | History | Annotate | Download | only in values
      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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
     23     <dimen name="time_text_size">120dip</dimen>
     24     <dimen name="ampm_text_size">20dip</dimen>
     25     <dimen name="date_text_size">15sp</dimen>
     26     <dimen name="next_alarm_text_size">15sp</dimen>
     27     <dimen name="time_margin_right">18dip</dimen>
     28     <dimen name="small_time_margin_right">10dip</dimen>
     29     <dimen name="mini_time_margin_right">10dip</dimen>
     30     <dimen name="small_ampm_margin_left">6dip</dimen>
     31     <dimen name="time_margin_left">8dip</dimen>
     32     <dimen name="time_margin_bottom">8dip</dimen>
     33     <dimen name="time_margin_top">32dip</dimen>
     34     <dimen name="digital_margin_bottom">24dip</dimen>
     35     <dimen name="timer_padding_left">16dip</dimen>
     36     <dimen name="screensaver_margin">16dip</dimen>
     37     <dimen name="ampm_margin_top">8dip</dimen>
     38     <dimen name="font_margin_adjust">4dip</dimen>
     39     <dimen name="next_alarm_margin_top">-4dip</dimen>
     40     <dimen name="alarm_label_padding">8dip</dimen>
     41     <dimen name="alert_dialog_title_height">64dip</dimen>
     42     <dimen name="popup_window_width">196dip</dimen>
     43     <dimen name="bottom_text_spacing_digital">-8dp</dimen>
     44     <dimen name="top_text_spacing_digital">4dp</dimen>
     45     <dimen name="bottom_text_spacing_analog">14dp</dimen>
     46     <dimen name="bottom_text_spacing_analog_small">6dp</dimen>
     47     <dimen name="digital_world_clock_text_size">60dp</dimen>
     48     <dimen name="digital_world_clock_ampm_text_size">14dp</dimen>
     49     <dimen name="digital_main_clock_text_size">120dp</dimen>
     50     <dimen name="digital_screensaver_clock_text_size">100dp</dimen>
     51 
     52     <!-- Analog clock size in the the screen saver -->
     53     <dimen name="analog_clock_diameter">236dip</dimen>
     54     <dimen name="timer_circle_diameter">300dip</dimen>
     55     <dimen name="timer_circle_width">350dip</dimen>
     56     <dimen name="bottom_text_size">16sp</dimen>
     57 
     58     <dimen name="actionbar_tab_padding">0dip</dimen>
     59     <dimen name="actionbar_title_font_size">22sp</dimen>
     60 
     61     <dimen name="footer_button_size">56dip</dimen>
     62     <dimen name="footer_button_layout_margin">16dip</dimen>
     63 
     64     <dimen name="alarm_timeline_layout_width">350dp</dimen>
     65     <dimen name="alarm_timeline_width">2dp</dimen>
     66     <dimen name="alarm_timeline_margin_top">50dp</dimen>
     67     <dimen name="alarm_timeline_length">1200dp</dimen>
     68     <dimen name="alarm_timeline_radius">5dp</dimen>
     69     <dimen name="alarm_timeline_inner_radius">4dp</dimen>
     70     <dimen name="alarm_text_padding">15dp</dimen>
     71     <dimen name="alarm_text_font_size">16sp</dimen>
     72     <dimen name="alarm_min_distance">2dp</dimen>
     73     <dimen name="alarm_timeline_layout_padding_top">50dp</dimen>
     74     <dimen name="alarm_timeline_title_margin_bottom">10dp</dimen>
     75     <dimen name="alarm_timeline_title_text_size">24dp</dimen>
     76     <dimen name="alarm_undo_bar_horizontal_margin">8dp</dimen>
     77     <dimen name="circletimer_dot_size">12dip</dimen>
     78     <dimen name="circletimer_circle_size">4dip</dimen>
     79     <dimen name="circletimer_marker_size">16dip</dimen>
     80 
     81     <dimen name="big_font_size">120dp</dimen>
     82     <dimen name="small_font_size">48sp</dimen>
     83     <dimen name="medium_font_size">60dp</dimen>
     84     <dimen name="label_font_size">14sp</dimen>
     85     <dimen name="widget_label_font_size">14sp</dimen>
     86     <dimen name="main_ampm_font_size">18sp</dimen>
     87     <dimen name="header_font_size">24sp</dimen>
     88     <dimen name="body_font_size">18sp</dimen>
     89     <dimen name="alarm_time_font_size">48sp</dimen>
     90     <dimen name="no_alarms_font_size">36sp</dimen>
     91 
     92     <dimen name="body_font_padding">4dp</dimen>
     93     <dimen name="button_font_size">24sp</dimen>
     94     <dimen name="timer_label_font_size">24sp</dimen>
     95     <dimen name="dialog_button_font_size">14sp</dimen>
     96 
     97     <dimen name="alarm_label_size">14sp</dimen>
     98 
     99     <dimen name="medium_font_padding">12dp</dimen>
    100 
    101     <dimen name="small_space">16dp</dimen>
    102     <dimen name="medium_space_top">22dp</dimen>
    103     <dimen name="medium_space_bottom">12dp</dimen>
    104     <dimen name="style_label_space">4dip</dimen>
    105     <dimen name="sw_item_space">16dip</dimen>
    106     <dimen name="main_clock_padding">34dp</dimen>
    107 
    108     <dimen name="label_margin_big">4dp</dimen>
    109     <dimen name="label_margin_small">2dp</dimen>
    110 
    111     <dimen name="dialpad_font_size">36sp</dimen>
    112     <!--padding should be (in dip) ~ 60% dialpad_font_size -->
    113     <dimen name="dialpad_digit_padding">22dip</dimen>
    114     <dimen name="timer_setup_font_size">56sp</dimen>
    115     <dimen name="timer_setup_button_size">24sp</dimen>
    116     <!--margin should be ~ half timer_setup_font_size -->
    117     <dimen name="timer_setup_delete_start_margin">28sp</dimen>
    118     <dimen name="timer_setup_delete_padding">12dip</dimen>
    119     <dimen name="timer_setup_label_size">18sp</dimen>
    120 
    121     <dimen name="city_name_font_size">24sp</dimen>
    122     <dimen name="city_time_font_size">18sp</dimen>
    123 
    124 
    125     <dimen name="cities_list_item_height">64dip</dimen>
    126 
    127     <!-- Size of margin for circles. -->
    128     <dimen name="circle_margin_top">16dp</dimen>
    129     <dimen name="circle_margin">32dp</dimen>
    130     <dimen name="analog_clock_margin">60dp</dimen>
    131     <dimen name="timer_circle_margin">32dp</dimen>
    132 
    133     <dimen name="sw_padding_end">32dp</dimen>
    134 
    135     <!-- The width of the big icons in notifications. -->
    136     <dimen name="notification_large_icon_width">64dp</dimen>
    137     <!-- The width of the big icons in notifications. -->
    138     <dimen name="notification_large_icon_height">64dp</dimen>
    139      <!-- Size of notification text (see TextAppearance.StatusBar.EventContent) -->
    140     <dimen name="notification_text_size">14dp</dimen>
    141     <!-- Size of notification text titles (see TextAppearance.StatusBar.EventContent.Title) -->
    142     <dimen name="notification_title_text_size">18dp</dimen>
    143      <!-- Size of smaller notification text (see TextAppearance.StatusBar.EventContent.Line2, Info, Time) -->
    144     <dimen name="notification_subtext_size">12dp</dimen>
    145 
    146     <!-- Width of the clock, for use with alarm buttons. -->
    147     <dimen name="alarm_alert_display_width">304dip</dimen>
    148 
    149     <!-- Size of analog clock in world clock. -->
    150     <dimen name="world_clock_analog_size">100dip</dimen>
    151     <dimen name="world_clock_margin">32dp</dimen>
    152 
    153     <dimen name="toast_bar_bottom_margin_in_conversation">24dip</dimen>
    154 
    155     <!-- Empty space at the edges of the +1 and reset button icons. Based off of 56dip width, only nonzero for tablets.-->
    156     <dimen name="plusone_reset_button_padding">0dip</dimen>
    157     <!-- Empty space at the edges of the delete button icons. Based off of 56dip width, only nonzero for tablets. -->
    158     <dimen name="delete_button_padding">0dip</dimen>
    159     <!-- Empty space at the edges of the lap button icon. Based off of 56dip width, only nonzero for tablets.-->
    160     <dimen name="lap_button_padding">0dip</dimen> <!-- 11 -->
    161     <!-- Empty space at the edges of the delete button icons. Based off of 56dip width, only nonzero for tablets. -->
    162     <dimen name="share_button_padding">0dip</dimen> <!-- 16 -->
    163     <!-- Extra offset for timer button paddings. Only nonzero for non-tablets. -->
    164     <dimen name="timer_button_extra_offset">14dip</dimen>
    165 
    166     <!-- Height of the button footers. 56 height and 16 on top and bottom. -->
    167     <dimen name="button_footer_height">88dip</dimen>
    168     <!-- Negative value of the height of the button footers, for use with lightsout. -->
    169     <dimen name="button_footer_height_neg">-48dip</dimen>
    170     <!-- Height of space between timers. -->
    171     <dimen name="timer_divider_height">24dip</dimen>
    172 
    173     <!-- Size of alarm alert outer ring. -->
    174     <dimen name="glowpadview_outerring_diameter">270dip</dimen>
    175 
    176     <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
    177     <dimen name="glowpadview_target_placement_radius">135dip</dimen>
    178 
    179     <!-- Default glow radius for GlowPadView -->
    180     <dimen name="glowpadview_glow_radius">75dip</dimen>
    181 
    182     <!-- Default distance beyond which GlowPadView snaps to the matching target -->
    183     <dimen name="glowpadview_snap_margin">40dip</dimen>
    184 
    185     <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
    186     <dimen name="glowpadview_inner_radius">15dip</dimen>
    187 
    188     <dimen name="glowpadview_margin_bottom">-64dip</dimen>
    189     <dimen name="glowpadview_margin_right">0dip</dimen>
    190 
    191     <!-- Digital Widget settings (keyguard|home_screen) -->
    192     <!-- Clock and world clock sizes -->
    193     <dimen name="widget_big_font_size">80dp</dimen>
    194     <dimen name="widget_medium_font_size">32dp</dimen>
    195     <dimen name="widget_24_medium_font_size">40dp</dimen>
    196 
    197     <!-- Hour and minute spacing -->
    198     <dimen name="widget_big_time_margin_right">10dip</dimen>
    199     <dimen name="widget_medium_time_margin_right">5dip</dimen>
    200 
    201     <!-- width/height of layout/digital_widget_time -->
    202     <!-- height is sum of widget_big_font_size + label_font_size + margins -->
    203     <dimen name="min_digital_widget_width">206dp</dimen>
    204     <dimen name="min_digital_widget_height">129dp</dimen>
    205     <!-- same as min_digital_widget_{width,height} -->
    206     <dimen name="min_digital_widget_resize_width">206dp</dimen>
    207     <dimen name="min_digital_widget_resize_height">129dp</dimen>
    208     <!-- sum of scaled heights -->
    209     <dimen name="digital_widget_list_min_scaled_height">162dp</dimen>
    210     <!-- sum of fixed heights -->
    211     <dimen name="digital_widget_list_min_fixed_height">12dp</dimen>
    212     <!-- top margin for digital_appwidget_listview -->
    213     <dimen name="digital_widget_list_margin_top">20dp</dimen>
    214     <dimen name="digital_widget_city_margin_bottom">10dp</dimen>
    215 
    216     <!-- Bottom margin for the expand area -->
    217     <dimen name="collapse_expand_height">48dp</dimen>
    218 </resources>
    219