129 lines
8.1 KiB
XML
129 lines
8.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<color name="notification_action_color_filter">#ffffffff</color>
|
|
<color name="notification_icon_bg_color">#ff9e9e9e</color>
|
|
<color name="ripple_material_light">#1f000000</color>
|
|
<color name="secondary_text_default_material_light">#8a000000</color>
|
|
<declare-styleable name="FontFamily">
|
|
<!-- The authority of the Font Provider to be used for the request. -->
|
|
<attr format="string" name="fontProviderAuthority"/>
|
|
<!-- The package for the Font Provider to be used for the request. This is used to verify
|
|
the identity of the provider. -->
|
|
<attr format="string" name="fontProviderPackage"/>
|
|
<!-- The query to be sent over to the provider. Refer to your font provider's documentation
|
|
on the format of this string. -->
|
|
<attr format="string" name="fontProviderQuery"/>
|
|
<!-- The sets of hashes for the certificates the provider should be signed with. This is
|
|
used to verify the identity of the provider, and is only required if the provider is not
|
|
part of the system image. This value may point to one list or a list of lists, where each
|
|
individual list represents one collection of signature hashes. Refer to your font provider's
|
|
documentation for these values. -->
|
|
<attr format="reference" name="fontProviderCerts"/>
|
|
<!-- The strategy to be used when fetching font data from a font provider in XML layouts.
|
|
This attribute is ignored when the resource is loaded from code, as it is equivalent to the
|
|
choice of API between {@link
|
|
androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and
|
|
{@link
|
|
androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)}
|
|
(async). -->
|
|
<attr name="fontProviderFetchStrategy">
|
|
<!-- The blocking font fetch works as follows.
|
|
First, check the local cache, then if the requested font is not cached, request the
|
|
font from the provider and wait until it is finished. You can change the length of
|
|
the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the
|
|
default typeface will be used instead. -->
|
|
<enum name="blocking" value="0"/>
|
|
<!-- The async font fetch works as follows.
|
|
First, check the local cache, then if the requeted font is not cached, trigger a
|
|
request the font and continue with layout inflation. Once the font fetch succeeds, the
|
|
target text view will be refreshed with the downloaded font data. The
|
|
fontProviderFetchTimeout will be ignored if async loading is specified. -->
|
|
<enum name="async" value="1"/>
|
|
</attr>
|
|
<!-- The length of the timeout during fetching. -->
|
|
<attr format="integer" name="fontProviderFetchTimeout">
|
|
<!-- A special value for the timeout. In this case, the blocking font fetching will not
|
|
timeout and wait until a reply is received from the font provider. -->
|
|
<enum name="forever" value="-1"/>
|
|
</attr>
|
|
</declare-styleable>
|
|
<declare-styleable name="FontFamilyFont">
|
|
<!-- The style of the given font file. This will be used when the font is being loaded into
|
|
the font stack and will override any style information in the font's header tables. If
|
|
unspecified, the value in the font's header tables will be used. -->
|
|
<attr name="fontStyle">
|
|
<enum name="normal" value="0"/>
|
|
<enum name="italic" value="1"/>
|
|
</attr>
|
|
<!-- The reference to the font file to be used. This should be a file in the res/font folder
|
|
and should therefore have an R reference value. E.g. @font/myfont -->
|
|
<attr format="reference" name="font"/>
|
|
<!-- The weight of the given font file. This will be used when the font is being loaded into
|
|
the font stack and will override any weight information in the font's header tables. Must
|
|
be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
|
|
common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
|
|
in the font's header tables will be used. -->
|
|
<attr format="integer" name="fontWeight"/>
|
|
<!-- The variation settings to be applied to the font. The string should be in the following
|
|
format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be
|
|
used, or the font used does not support variation settings, this attribute needs not be
|
|
specified. -->
|
|
<attr format="string" name="fontVariationSettings"/>
|
|
<!-- The index of the font in the tcc font file. If the font file referenced is not in the
|
|
tcc format, this attribute needs not be specified. -->
|
|
<attr format="integer" name="ttcIndex"/>
|
|
<!-- References to the framework attrs -->
|
|
<attr name="android:fontStyle"/>
|
|
<attr name="android:font"/>
|
|
<attr name="android:fontWeight"/>
|
|
<attr name="android:fontVariationSettings"/>
|
|
<attr name="android:ttcIndex"/>
|
|
</declare-styleable>
|
|
<dimen name="compat_button_inset_horizontal_material">4dp</dimen>
|
|
<dimen name="compat_button_inset_vertical_material">6dp</dimen>
|
|
<dimen name="compat_button_padding_horizontal_material">8dp</dimen>
|
|
<dimen name="compat_button_padding_vertical_material">4dp</dimen>
|
|
<dimen name="compat_control_corner_material">2dp</dimen>
|
|
<dimen name="compat_notification_large_icon_max_height">320dp</dimen>
|
|
<dimen name="compat_notification_large_icon_max_width">320dp</dimen>
|
|
<dimen name="notification_action_icon_size">32dp</dimen>
|
|
<dimen name="notification_action_text_size">13sp</dimen>
|
|
<dimen name="notification_big_circle_margin">12dp</dimen>
|
|
<dimen name="notification_content_margin_start">8dp</dimen>
|
|
<dimen name="notification_large_icon_height">64dp</dimen>
|
|
<dimen name="notification_large_icon_width">64dp</dimen>
|
|
<dimen name="notification_main_column_padding_top">10dp</dimen>
|
|
<dimen name="notification_media_narrow_margin">@dimen/notification_content_margin_start</dimen>
|
|
<dimen name="notification_right_icon_size">16dp</dimen>
|
|
<dimen name="notification_right_side_padding_top">2dp</dimen>
|
|
<dimen name="notification_small_icon_background_padding">3dp</dimen>
|
|
<dimen name="notification_small_icon_size_as_large">24dp</dimen>
|
|
<dimen name="notification_subtext_size">13sp</dimen>
|
|
<dimen name="notification_top_pad">10dp</dimen>
|
|
<dimen name="notification_top_pad_large_text">5dp</dimen>
|
|
<drawable name="notification_template_icon_bg">#3333B5E5</drawable>
|
|
<drawable name="notification_template_icon_low_bg">#0cffffff</drawable>
|
|
<item name="line1" type="id"/>
|
|
<item name="line3" type="id"/>
|
|
<item name="tag_transition_group" type="id"/>
|
|
<item name="tag_unhandled_key_event_manager" type="id"/>
|
|
<item name="tag_unhandled_key_listeners" type="id"/>
|
|
<item name="text" type="id"/>
|
|
<item name="text2" type="id"/>
|
|
<item name="title" type="id"/>
|
|
<integer name="status_bar_notification_info_maxnum">999</integer>
|
|
<string name="status_bar_notification_info_overflow">999+</string>
|
|
<style name="TextAppearance.Compat.Notification" parent="@android:style/TextAppearance.StatusBar.EventContent"/>
|
|
<style name="TextAppearance.Compat.Notification.Info">
|
|
<item name="android:textSize">12sp</item>
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
</style>
|
|
<style name="TextAppearance.Compat.Notification.Line2" parent="TextAppearance.Compat.Notification.Info"/>
|
|
<style name="TextAppearance.Compat.Notification.Time">
|
|
<item name="android:textSize">12sp</item>
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
</style>
|
|
<style name="TextAppearance.Compat.Notification.Title" parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/>
|
|
<style name="Widget.Compat.NotificationActionContainer" parent=""/>
|
|
<style name="Widget.Compat.NotificationActionText" parent=""/>
|
|
</resources> |