Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <resources>
      3     <color name="notification_action_color_filter">#ffffffff</color>
      4     <color name="notification_icon_bg_color">#ff9e9e9e</color>
      5     <color name="ripple_material_light">#1f000000</color>
      6     <color name="secondary_text_default_material_light">#8a000000</color>
      7     <declare-styleable name="FontFamily">
      8         <!-- The authority of the Font Provider to be used for the request. -->
      9         <attr format="string" name="fontProviderAuthority"/>
     10         <!-- The package for the Font Provider to be used for the request. This is used to verify
     11         the identity of the provider. -->
     12         <attr format="string" name="fontProviderPackage"/>
     13         <!-- The query to be sent over to the provider. Refer to your font provider's documentation
     14         on the format of this string. -->
     15         <attr format="string" name="fontProviderQuery"/>
     16         <!-- The sets of hashes for the certificates the provider should be signed with. This is
     17         used to verify the identity of the provider, and is only required if the provider is not
     18         part of the system image. This value may point to one list or a list of lists, where each
     19         individual list represents one collection of signature hashes. Refer to your font provider's
     20         documentation for these values. -->
     21         <attr format="reference" name="fontProviderCerts"/>
     22         <!-- The strategy to be used when fetching font data from a font provider in XML layouts.
     23         This attribute is ignored when the resource is loaded from code, as it is equivalent to the
     24         choice of API between {@link
     25     androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and
     26         {@link
     27     androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)}
     28         (async). -->
     29         <attr name="fontProviderFetchStrategy">
     30             <!-- The blocking font fetch works as follows.
     31               First, check the local cache, then if the requested font is not cached, request the
     32               font from the provider and wait until it is finished.  You can change the length of
     33               the timeout by modifying fontProviderFetchTimeout.  If the timeout happens, the
     34               default typeface will be used instead. -->
     35             <enum name="blocking" value="0"/>
     36             <!-- The async font fetch works as follows.
     37               First, check the local cache, then if the requeted font is not cached, trigger a
     38               request the font and continue with layout inflation. Once the font fetch succeeds, the
     39               target text view will be refreshed with the downloaded font data. The
     40               fontProviderFetchTimeout will be ignored if async loading is specified. -->
     41             <enum name="async" value="1"/>
     42         </attr>
     43         <!-- The length of the timeout during fetching. -->
     44         <attr format="integer" name="fontProviderFetchTimeout">
     45           <!-- A special value for the timeout. In this case, the blocking font fetching will not
     46             timeout and wait until a reply is received from the font provider. -->
     47             <enum name="forever" value="-1"/>
     48         </attr>
     49     </declare-styleable>
     50     <declare-styleable name="FontFamilyFont">
     51         <!-- The style of the given font file. This will be used when the font is being loaded into
     52          the font stack and will override any style information in the font's header tables. If
     53          unspecified, the value in the font's header tables will be used. -->
     54         <attr name="fontStyle">
     55             <enum name="normal" value="0"/>
     56             <enum name="italic" value="1"/>
     57         </attr>
     58         <!-- The reference to the font file to be used. This should be a file in the res/font folder
     59          and should therefore have an R reference value. E.g. @font/myfont -->
     60         <attr format="reference" name="font"/>
     61         <!-- The weight of the given font file. This will be used when the font is being loaded into
     62          the font stack and will override any weight information in the font's header tables. Must
     63          be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
     64          common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
     65          in the font's header tables will be used. -->
     66         <attr format="integer" name="fontWeight"/>
     67         <!-- The variation settings to be applied to the font. The string should be in the following
     68          format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be
     69          used, or the font used does not support variation settings, this attribute needs not be
     70          specified. -->
     71         <attr format="string" name="fontVariationSettings"/>
     72         <!-- The index of the font in the tcc font file. If the font file referenced is not in the
     73         tcc format, this attribute needs not be specified. -->
     74         <attr format="integer" name="ttcIndex"/>
     75         <!-- References to the framework attrs -->
     76         <attr name="android:fontStyle"/>
     77         <attr name="android:font"/>
     78         <attr name="android:fontWeight"/>
     79         <attr name="android:fontVariationSettings"/>
     80         <attr name="android:ttcIndex"/>
     81     </declare-styleable>
     82     <dimen name="compat_button_inset_horizontal_material">4dp</dimen>
     83     <dimen name="compat_button_inset_vertical_material">6dp</dimen>
     84     <dimen name="compat_button_padding_horizontal_material">8dp</dimen>
     85     <dimen name="compat_button_padding_vertical_material">4dp</dimen>
     86     <dimen name="compat_control_corner_material">2dp</dimen>
     87     <dimen name="compat_notification_large_icon_max_height">320dp</dimen>
     88     <dimen name="compat_notification_large_icon_max_width">320dp</dimen>
     89     <dimen name="notification_action_icon_size">32dp</dimen>
     90     <dimen name="notification_action_text_size">13sp</dimen>
     91     <dimen name="notification_big_circle_margin">12dp</dimen>
     92     <dimen name="notification_content_margin_start">8dp</dimen>
     93     <dimen name="notification_large_icon_height">64dp</dimen>
     94     <dimen name="notification_large_icon_width">64dp</dimen>
     95     <dimen name="notification_main_column_padding_top">10dp</dimen>
     96     <dimen name="notification_media_narrow_margin">@dimen/notification_content_margin_start</dimen>
     97     <dimen name="notification_right_icon_size">16dp</dimen>
     98     <dimen name="notification_right_side_padding_top">2dp</dimen>
     99     <dimen name="notification_small_icon_background_padding">3dp</dimen>
    100     <dimen name="notification_small_icon_size_as_large">24dp</dimen>
    101     <dimen name="notification_subtext_size">13sp</dimen>
    102     <dimen name="notification_top_pad">10dp</dimen>
    103     <dimen name="notification_top_pad_large_text">5dp</dimen>
    104     <drawable name="notification_template_icon_bg">#3333B5E5</drawable>
    105     <drawable name="notification_template_icon_low_bg">#0cffffff</drawable>
    106     <item name="line1" type="id"/>
    107     <item name="line3" type="id"/>
    108     <item name="tag_transition_group" type="id"/>
    109     <item name="tag_unhandled_key_event_manager" type="id"/>
    110     <item name="tag_unhandled_key_listeners" type="id"/>
    111     <item name="text" type="id"/>
    112     <item name="text2" type="id"/>
    113     <item name="title" type="id"/>
    114     <integer name="status_bar_notification_info_maxnum">999</integer>
    115     <string name="status_bar_notification_info_overflow">999+</string>
    116     <style name="TextAppearance.Compat.Notification" parent="@android:style/TextAppearance.StatusBar.EventContent"/>
    117     <style name="TextAppearance.Compat.Notification.Info">
    118         <item name="android:textSize">12sp</item>
    119         <item name="android:textColor">?android:attr/textColorSecondary</item>
    120     </style>
    121     <style name="TextAppearance.Compat.Notification.Line2" parent="TextAppearance.Compat.Notification.Info"/>
    122     <style name="TextAppearance.Compat.Notification.Time">
    123         <item name="android:textSize">12sp</item>
    124         <item name="android:textColor">?android:attr/textColorSecondary</item>
    125     </style>
    126     <style name="TextAppearance.Compat.Notification.Title" parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/>
    127     <style name="Widget.Compat.NotificationActionContainer" parent=""/>
    128     <style name="Widget.Compat.NotificationActionText" parent=""/>
    129 </resources>