2019-09-24 18:29:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<style name="Foundation" parent="Theme.MaterialComponents.Light.NoActionBar">
|
|
|
|
<item name="android:windowBackground">?colorSurface</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--This should be overridden in v19 for transparency, etc-->
|
|
|
|
<style name="Foundation.Compat" />
|
|
|
|
|
|
|
|
<!--region Do not remove-->
|
2019-10-03 16:41:04 +00:00
|
|
|
<style name="WidgetFoundation" parent="android:Widget" />
|
2019-09-24 18:29:35 +00:00
|
|
|
|
2019-10-03 16:41:04 +00:00
|
|
|
<style name="AppearanceFoundation">
|
|
|
|
<item name="android:fontFamily">@font/exo</item>
|
|
|
|
</style>
|
2019-09-24 18:29:35 +00:00
|
|
|
<!--endregion-->
|
|
|
|
|
2019-09-30 17:37:57 +00:00
|
|
|
<style name="Foundation.Base" parent="Foundation.Compat">
|
|
|
|
<item name="android:fontFamily">@font/exo</item>
|
|
|
|
<item name="android:includeFontPadding">false</item>
|
|
|
|
|
|
|
|
<!--///-->
|
2019-09-24 18:29:35 +00:00
|
|
|
|
2019-10-05 10:42:27 +00:00
|
|
|
<item name="selectableItemBackground">@drawable/bg_selectable</item>
|
2019-11-19 16:56:32 +00:00
|
|
|
<item name="selectableItemBackgroundBorderless">@drawable/bg_selectable_borderless</item>
|
2019-10-05 20:51:21 +00:00
|
|
|
<item name="actionBarSize">@dimen/internal_action_bar_size</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
|
|
|
|
<item name="styleAppbar">@style/WidgetFoundation.Appbar</item>
|
|
|
|
|
|
|
|
<item name="styleToolbar">@style/WidgetFoundation.Toolbar</item>
|
|
|
|
|
|
|
|
<item name="styleCardNormal">@style/WidgetFoundation.Card</item>
|
2019-10-12 14:10:44 +00:00
|
|
|
<item name="styleCardVariant">@style/WidgetFoundation.Card.Variant</item>
|
2019-10-10 15:34:06 +00:00
|
|
|
<item name="styleCardElevated">@style/WidgetFoundation.Card.Elevated</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
<item name="styleCardOnPrimary">@style/WidgetFoundation.Card.OnPrimary</item>
|
|
|
|
|
|
|
|
<item name="styleButtonDefault">@style/WidgetFoundation.Button</item>
|
2019-10-06 09:14:11 +00:00
|
|
|
<item name="styleButtonDefaultOnPrimary">@style/WidgetFoundation.Button.OnPrimary</item>
|
2019-11-18 16:49:03 +00:00
|
|
|
<item name="styleButtonOutlined">@style/WidgetFoundation.Button.Outlined</item>
|
|
|
|
<item name="styleButtonOutlinedOnPrimary">
|
|
|
|
@style/WidgetFoundation.Button.Outlined.OnPrimary
|
|
|
|
</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
<item name="styleButtonFlat">@style/WidgetFoundation.Button.Flat</item>
|
2019-10-06 09:14:11 +00:00
|
|
|
<item name="styleButtonFlatOnPrimary">@style/WidgetFoundation.Button.Flat.OnPrimary</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
<item name="styleButtonText">@style/WidgetFoundation.Button.Text</item>
|
2019-11-16 19:07:35 +00:00
|
|
|
<item name="styleButtonTextSecondary">@style/WidgetFoundation.Button.Text.Secondary</item>
|
2019-10-06 09:14:11 +00:00
|
|
|
<item name="styleButtonTextOnPrimary">@style/WidgetFoundation.Button.Text.OnPrimary</item>
|
2019-09-30 17:37:57 +00:00
|
|
|
<item name="styleButtonError">@style/WidgetFoundation.Button.Error</item>
|
|
|
|
|
|
|
|
<item name="styleIconNormal">@style/WidgetFoundation.Icon</item>
|
|
|
|
<item name="styleIconPrimary">@style/WidgetFoundation.Icon.Primary</item>
|
2019-10-06 09:14:11 +00:00
|
|
|
<item name="styleIconOnPrimary">@style/WidgetFoundation.Icon.OnPrimary</item>
|
2019-09-30 17:37:57 +00:00
|
|
|
<item name="styleIconError">@style/WidgetFoundation.Icon.Error</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
|
2019-10-02 16:15:16 +00:00
|
|
|
<item name="styleImageBig">@style/WidgetFoundation.Image.Big</item>
|
|
|
|
<item name="styleImageNormal">@style/WidgetFoundation.Image</item>
|
|
|
|
<item name="styleImageSmall">@style/WidgetFoundation.Image.Small</item>
|
|
|
|
|
2019-10-19 20:14:23 +00:00
|
|
|
<item name="styleCheckboxNormal">@style/WidgetFoundation.Checkbox</item>
|
|
|
|
|
2019-10-22 18:46:09 +00:00
|
|
|
<item name="styleRadioNormal">@style/WidgetFoundation.RadioButton</item>
|
|
|
|
|
2019-10-20 10:40:50 +00:00
|
|
|
<item name="styleProgressDeterminate">@style/WidgetFoundation.ProgressBar</item>
|
2019-11-14 17:56:03 +00:00
|
|
|
<item name="styleProgressIndeterminate">
|
|
|
|
@style/WidgetFoundation.ProgressBar.Indeterminate
|
|
|
|
</item>
|
|
|
|
<item name="styleProgressIndeterminateCircular">
|
|
|
|
@style/WidgetFoundation.ProgressBar.Indeterminate.Circular
|
2019-10-20 10:40:50 +00:00
|
|
|
</item>
|
|
|
|
|
2019-09-24 18:29:35 +00:00
|
|
|
<!--///-->
|
|
|
|
|
2019-10-02 17:42:38 +00:00
|
|
|
<item name="appearanceTextDisplayNormal">@style/AppearanceFoundation.Display</item>
|
|
|
|
<item name="appearanceTextDisplayVariant">@style/AppearanceFoundation.Display.Variant</item>
|
|
|
|
<item name="appearanceTextDisplayOnPrimary">@style/AppearanceFoundation.Display.OnPrimary
|
|
|
|
</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
<item name="appearanceTextDisplayOnPrimaryVariant">
|
|
|
|
@style/AppearanceFoundation.Display.OnPrimary.Variant
|
2019-10-02 17:42:38 +00:00
|
|
|
</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
|
2019-10-02 17:42:38 +00:00
|
|
|
<item name="appearanceTextTitleNormal">@style/AppearanceFoundation.Title</item>
|
|
|
|
<item name="appearanceTextTitleVariant">@style/AppearanceFoundation.Title.Variant</item>
|
|
|
|
<item name="appearanceTextTitleOnPrimary">@style/AppearanceFoundation.Title.OnPrimary</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
<item name="appearanceTextTitleOnPrimaryVariant">
|
|
|
|
@style/AppearanceFoundation.Title.OnPrimary.Variant
|
2019-10-02 17:42:38 +00:00
|
|
|
</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
|
2019-10-02 17:42:38 +00:00
|
|
|
<item name="appearanceTextBodyNormal">@style/AppearanceFoundation.Body</item>
|
|
|
|
<item name="appearanceTextBodyVariant">@style/AppearanceFoundation.Body.Variant</item>
|
|
|
|
<item name="appearanceTextBodyOnPrimary">@style/AppearanceFoundation.Body.OnPrimary</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
<item name="appearanceTextBodyOnPrimaryVariant">
|
|
|
|
@style/AppearanceFoundation.Body.OnPrimary.Variant
|
2019-10-02 17:42:38 +00:00
|
|
|
</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
|
2019-10-02 17:42:38 +00:00
|
|
|
<item name="appearanceTextCaptionNormal">@style/AppearanceFoundation.Caption</item>
|
|
|
|
<item name="appearanceTextCaptionVariant">@style/AppearanceFoundation.Caption.Variant</item>
|
|
|
|
<item name="appearanceTextCaptionOnPrimary">@style/AppearanceFoundation.Caption.OnPrimary
|
|
|
|
</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
<item name="appearanceTextCaptionOnPrimaryVariant">
|
|
|
|
@style/AppearanceFoundation.Caption.OnPrimary.Variant
|
2019-10-02 17:42:38 +00:00
|
|
|
</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Foundation.Default" parent="Foundation.Base">
|
2019-11-19 17:53:50 +00:00
|
|
|
<item name="android:theme">@style/ThemeFoundationMD2.Default</item>
|
|
|
|
<!--setting window background to transparent should reduce overdraw-->
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
2019-09-24 18:29:35 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
</resources>
|