Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2017 The Android Open Source Project
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License.
     16   -->
     17 
     18 <resources>
     19     <dimen name="compat_button_inset_vertical_material">6dp</dimen>
     20     <dimen name="compat_button_inset_horizontal_material">4dp</dimen>
     21     <!-- Default inner padding within buttons -->
     22     <dimen name="compat_button_padding_vertical_material">4dp</dimen>
     23     <dimen name="compat_button_padding_horizontal_material">8dp</dimen>
     24 
     25     <!-- Default rounded corner for controls -->
     26     <dimen name="compat_control_corner_material">2dp</dimen>
     27 
     28     <!-- The width of the big icons in notifications. -->
     29     <dimen name="notification_large_icon_width">64dp</dimen>
     30 
     31     <!-- The width of the big icons in notifications. -->
     32     <dimen name="notification_large_icon_height">64dp</dimen>
     33 
     34     <!-- Size of smaller notification text (see TextAppearance.StatusBar.EventContent.Line2, Info,
     35          Time) -->
     36     <dimen name="notification_subtext_size">13sp</dimen>
     37 
     38     <!-- Size of notification action text -->
     39     <dimen name="notification_action_text_size">13sp</dimen>
     40 
     41     <!-- Top padding for notifications in the standard layout. -->
     42     <dimen name="notification_top_pad">10dp</dimen>
     43 
     44     <!-- Top padding for notification when text is large -->
     45     <dimen name="notification_top_pad_large_text">5dp</dimen>
     46 
     47     <!-- The size of the action icons -->
     48     <dimen name="notification_action_icon_size">32dp</dimen>
     49 
     50     <!-- the size of the small icon on the right of the largeIcon -->
     51     <dimen name="notification_right_icon_size">16dp</dimen>
     52 
     53     <!-- the padding of the small icon to the circle -->
     54     <dimen name="notification_small_icon_background_padding">3dp</dimen>
     55 
     56     <!-- the side margin of the big notification circle -->
     57     <dimen name="notification_big_circle_margin">12dp</dimen>
     58 
     59     <!-- small icon size when placed as large icon -->
     60     <dimen name="notification_small_icon_size_as_large">24dp</dimen>
     61 
     62     <!-- the margin at the beginning of the notification content -->
     63     <dimen name="notification_content_margin_start">8dp</dimen>
     64 
     65     <!-- image margin on the large icon in the narrow media template -->
     66     <dimen name="notification_media_narrow_margin">@dimen/notification_content_margin_start</dimen>
     67 
     68     <!-- the top padding of the notification content -->
     69     <dimen name="notification_main_column_padding_top">10dp</dimen>
     70 
     71     <!-- the paddingtop on the right side of the notification (for time etc.) -->
     72     <dimen name="notification_right_side_padding_top">2dp</dimen>
     73 
     74     <!-- the maximum width of the large icon, above which it will be downscaled -->
     75     <dimen name="compat_notification_large_icon_max_width">320dp</dimen>
     76 
     77     <!-- the maximum height of the large icon, above which it will be downscaled -->
     78     <dimen name="compat_notification_large_icon_max_height">320dp</dimen>
     79 </resources>
     80