2016-03-12 14:22:40 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!--========-->
|
|
|
|
<!--Toolbars-->
|
|
|
|
<!--========-->
|
2020-03-15 21:52:27 +01:00
|
|
|
<style name="Theme.Toolbar" parent="@style/ThemeOverlay.MaterialComponents.ActionBar" />
|
2015-09-24 17:27:43 +02:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<style name="Theme.Toolbar.Custom.Light" parent="@style/ThemeOverlay.MaterialComponents.ActionBar">
|
|
|
|
<item name="android:colorControlHighlight">?attr/rippleToolbarColor</item>
|
2016-05-13 15:45:36 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<style name="Theme.Toolbar.Custom.Dark" parent="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="android:colorControlHighlight">?attr/rippleToolbarColor</item>
|
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<style name="Theme.Toolbar.Custom.Amoled" parent="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="android:colorControlHighlight">?attr/rippleToolbarColor</item>
|
2021-05-22 17:55:05 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<style name="Theme.Toolbar.Custom.PopupTheme" parent="Theme.Toolbar.Custom.Dark">
|
|
|
|
<item name="popupTheme">@style/ThemeOverlay.MaterialComponents.Light</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-15 21:52:27 +01:00
|
|
|
<style name="Theme.Toolbar.Navigation" parent="Widget.AppCompat.Toolbar.Button.Navigation">
|
|
|
|
<item name="tint">?attr/colorOnPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
2020-08-22 18:36:29 +02:00
|
|
|
<style name="Theme.ActionMode" parent="Base.Widget.AppCompat.ActionMode">
|
|
|
|
<item name="background">?attr/colorPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.ActionMode.CloseButton" parent="Base.Widget.AppCompat.ActionButton.CloseMode">
|
|
|
|
<item name="android:tint">?attr/colorOnPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-15 21:52:27 +01:00
|
|
|
|
2016-04-10 17:34:10 +02:00
|
|
|
<!--===========-->
|
|
|
|
<!--AlertDialog-->
|
|
|
|
<!--===========-->
|
2020-03-12 00:08:57 +01:00
|
|
|
<style name="Theme.AlertDialog" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
|
2016-04-10 17:34:10 +02:00
|
|
|
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
|
|
|
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
|
|
|
|
<item name="android:background">?attr/colorSurface</item>
|
2021-03-13 23:42:49 +01:00
|
|
|
<item name="shapeAppearanceOverlay">@style/Theme.MaterialAlertDialog.Style.ShapeAppearance</item>
|
|
|
|
|
|
|
|
<item name="materialAlertDialogTitleTextStyle">@style/Theme.MaterialAlertDialog.Style.Title</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:textColorPrimary">?attr/colorOnSurface</item>
|
|
|
|
<item name="android:textColor">?attr/colorOnSurface</item>
|
|
|
|
|
|
|
|
<item name="buttonBarPositiveButtonStyle">@style/Theme.Widget.Button</item>
|
2020-03-22 23:43:16 +01:00
|
|
|
<item name="buttonBarNegativeButtonStyle">@style/Theme.Widget.Button</item>
|
|
|
|
<item name="buttonBarNeutralButtonStyle">@style/Theme.Widget.Button</item>
|
2016-04-10 17:34:10 +02:00
|
|
|
</style>
|
|
|
|
|
2021-03-13 23:42:49 +01:00
|
|
|
<style name="Theme.MaterialAlertDialog.Style.ShapeAppearance" parent="">
|
|
|
|
<item name="cornerSize">@dimen/dialog_radius</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.MaterialAlertDialog.Style.Title" parent="@style/MaterialAlertDialog.MaterialComponents.Title.Text">
|
|
|
|
<item name="android:textColor">?android:textColorPrimary</item>
|
|
|
|
<item name="android:textSize">@dimen/md_title_textsize</item>
|
|
|
|
<item name="android:fontFamily">sans-serif-medium</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-12 00:08:57 +01:00
|
|
|
<style name="Theme.AlertDialog.Light" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
2016-04-10 17:34:10 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-27 00:11:14 +02:00
|
|
|
<style name="Theme.AlertDialog.Light.StrawberryDaiquiri" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentStrawberry</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-12 00:08:57 +01:00
|
|
|
<style name="Theme.AlertDialog.Dark" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentDark</item>
|
2020-01-21 03:34:47 +01:00
|
|
|
</style>
|
|
|
|
|
2021-05-27 00:11:14 +02:00
|
|
|
<style name="Theme.AlertDialog.Dark.GreenApple" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentApple</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.AlertDialog.Dark.MidnightDusk" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentDusk</item>
|
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<style name="Theme.AlertDialog.Amoled" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentAmoled</item>
|
|
|
|
</style>
|
|
|
|
|
2021-05-27 00:11:14 +02:00
|
|
|
<style name="Theme.AlertDialog.Amoled.HotPink" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentPink</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2020-11-22 21:49:57 +01:00
|
|
|
<!--===========-->
|
|
|
|
<!--BottomSheet-->
|
|
|
|
<!--===========-->
|
|
|
|
|
|
|
|
<style name="Theme.BottomSheet" parent="ThemeOverlay.MaterialComponents.BottomSheetDialog">
|
|
|
|
<item name="android:windowIsFloating">false</item>
|
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
2021-05-29 04:36:09 +02:00
|
|
|
<item name="android:navigationBarColor">?attr/colorSurface</item>
|
2021-02-02 04:23:29 +01:00
|
|
|
<item name="bottomSheetStyle">@style/Theme.BottomSheet.Style</item>
|
2021-05-29 04:36:09 +02:00
|
|
|
<item name="android:windowAnimationStyle">@style/Animation.BottomSheetDialog</item>
|
2021-02-02 04:23:29 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.BottomSheet.Style" parent="Widget.MaterialComponents.BottomSheet">
|
|
|
|
<item name="shapeAppearanceOverlay">@style/Theme.BottomSheet.Style.ShapeAppearance</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.BottomSheet.Style.ShapeAppearance" parent="">
|
|
|
|
<item name="cornerFamily">rounded</item>
|
2021-03-13 23:18:22 +01:00
|
|
|
<item name="cornerSizeTopRight">@dimen/dialog_radius</item>
|
|
|
|
<item name="cornerSizeTopLeft">@dimen/dialog_radius</item>
|
2021-02-02 04:23:29 +01:00
|
|
|
<item name="cornerSizeBottomRight">0dp</item>
|
|
|
|
<item name="cornerSizeBottomLeft">0dp</item>
|
2020-11-22 21:49:57 +01:00
|
|
|
</style>
|
|
|
|
|
2021-05-29 04:36:09 +02:00
|
|
|
<style name="Animation.BottomSheetDialog" parent="Animation.AppCompat.Dialog">
|
|
|
|
<item name="android:windowEnterAnimation">@anim/bottom_sheet_slide_in</item>
|
|
|
|
<item name="android:windowExitAnimation">@anim/bottom_sheet_slide_out</item>
|
|
|
|
</style>
|
|
|
|
|
2020-11-22 21:49:57 +01:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--===============-->
|
|
|
|
<!--Text Appearance-->
|
|
|
|
<!--===============-->
|
|
|
|
<style name="TextAppearance" parent="@android:style/TextAppearance">
|
|
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular">
|
2020-05-11 14:31:32 +02:00
|
|
|
<item name="android:fontFamily">sans-serif</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular.Body1">
|
|
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular.Body1.Bold">
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular.Body1.Secondary">
|
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular.Caption">
|
|
|
|
<item name="android:textSize">12sp</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular.Caption.Hint">
|
2020-04-19 17:13:04 +02:00
|
|
|
<item name="android:textColor">@color/material_on_surface_emphasis_medium</item>
|
2016-01-05 13:54:00 +01:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Regular.SubHeading">
|
2020-09-27 01:03:46 +02:00
|
|
|
<item name="android:textSize">14sp</item>
|
2017-09-23 13:11:39 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Medium">
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:fontFamily">sans-serif-medium</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Medium.Title">
|
2020-09-07 23:18:41 +02:00
|
|
|
<item name="android:textSize">24sp</item>
|
2016-09-21 21:26:08 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Medium.Body2">
|
|
|
|
<item name="android:textSize">14sp</item>
|
2015-09-24 17:27:43 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Medium.Body2.Hint">
|
|
|
|
<item name="android:textColor">?android:attr/textColorHint</item>
|
|
|
|
</style>
|
|
|
|
|
2020-09-27 19:41:25 +02:00
|
|
|
<style name="TextAppearance.Medium.SubHeading">
|
|
|
|
<item name="android:textAllCaps">true</item>
|
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-13 00:14:43 +01:00
|
|
|
<style name="TextAppearance.Widget.Button" parent="TextAppearance.MaterialComponents.Button">
|
|
|
|
<item name="android:letterSpacing">0</item>
|
2020-10-10 22:34:06 +02:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-03-13 00:14:43 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Widget.Menu" parent="TextAppearance.AppCompat.Menu">
|
|
|
|
<item name="android:textColor">?attr/colorOnBackground</item>
|
|
|
|
</style>
|
|
|
|
|
2020-07-07 23:19:56 +02:00
|
|
|
<style name="TextAppearance.Widget.Tab" parent="TextAppearance.MaterialComponents.Button">
|
|
|
|
<item name="android:textAllCaps">false</item>
|
|
|
|
<item name="android:letterSpacing">0</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--=======-->
|
|
|
|
<!--Widgets-->
|
|
|
|
<!--=======-->
|
2017-09-23 13:11:39 +02:00
|
|
|
<style name="Theme.Widget" />
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2020-10-10 22:34:06 +02:00
|
|
|
<style name="Theme.Widget.FAB" parent="@style/Widget.MaterialComponents.ExtendedFloatingActionButton.Icon">
|
2019-12-28 02:53:04 +01:00
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
<item name="android:layout_width">wrap_content</item>
|
|
|
|
<item name="fabCustomSize">@dimen/fab_size</item>
|
2020-10-13 23:38:56 +02:00
|
|
|
<item name="android:minWidth">@dimen/fab_size</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:layout_gravity">bottom|end</item>
|
2021-01-28 15:13:05 +01:00
|
|
|
<item name="android:layout_margin">16dp</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:scaleType">fitCenter</item>
|
|
|
|
<item name="layout_anchorGravity">bottom|right|end</item>
|
2020-04-22 15:07:40 +02:00
|
|
|
<item name="android:fontFamily">sans-serif-medium</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2016-06-07 20:59:43 +02:00
|
|
|
<style name="Theme.Widget.CardView" parent="CardView">
|
2016-06-07 20:14:36 +02:00
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
2021-05-22 16:10:41 +02:00
|
|
|
<item name="android:padding">16dp</item>
|
|
|
|
<item name="android:layout_marginTop">8dp</item>
|
|
|
|
<item name="android:layout_marginBottom">8dp</item>
|
|
|
|
<item name="android:layout_marginStart">8dp</item>
|
|
|
|
<item name="android:layout_marginEnd">8dp</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="cardBackgroundColor">?attr/colorSurface</item>
|
2020-04-18 20:18:51 +02:00
|
|
|
<item name="cardCornerRadius">@dimen/card_radius</item>
|
2017-05-16 10:18:46 +02:00
|
|
|
<item name="cardElevation">2dp</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.CardView.Item">
|
|
|
|
<item name="android:layout_marginTop">@dimen/space_between_cards</item>
|
|
|
|
<item name="android:layout_marginBottom">@dimen/space_between_cards</item>
|
2016-06-06 15:26:56 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="Theme.Widget.GridView">
|
2017-09-23 13:11:39 +02:00
|
|
|
<item name="android:smoothScrollbar">true</item>
|
|
|
|
<item name="android:numColumns">auto_fit</item>
|
|
|
|
<item name="android:stretchMode">columnWidth</item>
|
|
|
|
<item name="android:scrollbarStyle">outsideOverlay</item>
|
|
|
|
</style>
|
|
|
|
|
2020-04-12 18:21:47 +02:00
|
|
|
<style name="Theme.Widget.GridView.Source">
|
2015-11-24 18:45:53 +01:00
|
|
|
<item name="android:gravity">top|left</item>
|
|
|
|
<item name="android:smoothScrollbar">true</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:cacheColorHint">?android:attr/textColorHint</item>
|
2015-11-24 18:45:53 +01:00
|
|
|
<item name="android:fastScrollEnabled">true</item>
|
|
|
|
<item name="android:horizontalSpacing">0dp</item>
|
|
|
|
<item name="android:verticalSpacing">0dp</item>
|
2015-09-24 17:27:43 +02:00
|
|
|
</style>
|
|
|
|
|
2015-12-08 19:39:57 +01:00
|
|
|
|
2016-05-25 00:09:24 +02:00
|
|
|
<style name="Theme.Widget.SpinnerItem" parent="Widget.AppCompat.DropDownItem.Spinner">
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:textColor">?attr/colorOnSurface</item>
|
|
|
|
<item name="android:background">@drawable/list_item_selector</item>
|
2016-05-25 00:09:24 +02:00
|
|
|
</style>
|
|
|
|
|
2020-03-13 01:12:48 +01:00
|
|
|
|
|
|
|
<style name="Theme.Widget.Snackbar" parent="Widget.MaterialComponents.Snackbar">
|
2021-02-13 16:44:35 +01:00
|
|
|
<item name="android:background">@drawable/snackbar_background</item>
|
2020-04-05 19:55:42 +02:00
|
|
|
<item name="actionTextColorAlpha">1</item>
|
2020-03-13 01:12:48 +01:00
|
|
|
</style>
|
2020-06-13 21:34:55 +02:00
|
|
|
<style name="Theme.Widget.Snackbar.TextView" parent="@style/Widget.MaterialComponents.Snackbar.TextView">
|
|
|
|
<item name="android:textColor">?attr/colorOnSurface</item>
|
|
|
|
</style>
|
2020-03-13 01:12:48 +01:00
|
|
|
|
2020-03-15 17:58:48 +01:00
|
|
|
|
2020-03-29 19:58:30 +02:00
|
|
|
<style name="Theme.Widget.Chip" parent="Widget.MaterialComponents.Chip.Action">
|
|
|
|
<item name="chipStrokeWidth">1dp</item>
|
|
|
|
<item name="chipStrokeColor">?attr/colorAccent</item>
|
2021-05-22 17:55:05 +02:00
|
|
|
<item name="chipBackgroundColor">@color/background_color_chip_state</item>
|
2020-03-29 19:58:30 +02:00
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
|
|
|
2021-05-22 17:55:05 +02:00
|
|
|
<!-- Custom chip states -->
|
|
|
|
<item name="android:clickable">true</item>
|
|
|
|
<item name="android:focusable">true</item>
|
|
|
|
|
2020-03-29 19:58:30 +02:00
|
|
|
<!-- Smaller text/height -->
|
|
|
|
<item name="chipCornerRadius">12dp</item>
|
|
|
|
<item name="chipMinHeight">24dp</item>
|
|
|
|
<item name="android:textAppearance">@style/TextAppearance.Regular.Caption</item>
|
|
|
|
|
|
|
|
<!-- Collapse horizontal margin -->
|
|
|
|
<item name="chipMinTouchTargetSize">30dp</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2020-04-11 17:29:55 +02:00
|
|
|
<style name="Theme.Widget.BasicSwitch" parent="Widget.MaterialComponents.CompoundButton.Switch">
|
|
|
|
<item name="useMaterialThemeColors">false</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2020-12-26 17:24:10 +01:00
|
|
|
<style name="Theme.Widget.CircularProgressIndicator" parent="Widget.MaterialComponents.CircularProgressIndicator">
|
|
|
|
<item name="indicatorColor">?attr/colorAccent</item>
|
|
|
|
</style>
|
|
|
|
<style name="Theme.Widget.CircularProgressIndicator.Small" parent="Theme.Widget.CircularProgressIndicator">
|
|
|
|
<item name="indicatorSize">16dp</item>
|
|
|
|
<item name="trackThickness">2dp</item>
|
|
|
|
</style>
|
|
|
|
|
2020-12-26 16:39:09 +01:00
|
|
|
<style name="Theme.Widget.LinearProgressIndicator" parent="Widget.MaterialComponents.LinearProgressIndicator">
|
|
|
|
<item name="indicatorColor">?attr/colorAccent</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2020-03-15 17:58:48 +01:00
|
|
|
<!--=======================-->
|
|
|
|
<!--Widgets.TextInputLayout-->
|
|
|
|
<!--=======================-->
|
|
|
|
|
2020-04-10 16:43:39 +02:00
|
|
|
<style name="ThemeOverlay.Widget.TextInputEditText.OutlinedBox" parent="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox">
|
|
|
|
<item name="colorControlActivated">?attr/colorSecondary</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-15 17:58:48 +01:00
|
|
|
<style name="Theme.Widget.TextInputLayout.OutlinedBox" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
2020-04-10 16:43:39 +02:00
|
|
|
<item name="materialThemeOverlay">@style/ThemeOverlay.Widget.TextInputEditText.OutlinedBox</item>
|
2020-03-15 17:58:48 +01:00
|
|
|
<item name="boxStrokeColor">@color/text_input_stroke</item>
|
2020-03-15 22:31:36 +01:00
|
|
|
<item name="hintTextColor">?attr/colorSecondary</item>
|
2020-03-15 17:58:48 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.TextInputLayout.OutlinedBox.Dense" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
|
2020-04-10 21:15:31 +02:00
|
|
|
<item name="materialThemeOverlay">@style/ThemeOverlay.Widget.TextInputEditText.OutlinedBox</item>
|
2020-03-15 17:58:48 +01:00
|
|
|
<item name="boxStrokeColor">@color/text_input_stroke</item>
|
2020-03-15 22:31:36 +01:00
|
|
|
<item name="hintTextColor">?attr/colorSecondary</item>
|
2020-03-15 17:58:48 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2017-09-29 08:34:13 +02:00
|
|
|
<!--==============-->
|
|
|
|
<!--Widgets.Button-->
|
|
|
|
<!--==============-->
|
2020-03-12 00:08:57 +01:00
|
|
|
<style name="Theme.Widget.Button" parent="Widget.MaterialComponents.Button.TextButton">
|
2020-03-22 23:43:16 +01:00
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="rippleColor">?attr/rippleSecondaryColor</item>
|
2020-07-13 04:20:37 +02:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
</style>
|
2017-09-29 08:34:13 +02:00
|
|
|
|
2020-03-22 23:43:16 +01:00
|
|
|
<style name="Theme.Widget.Button.FilledAccent" parent="Widget.MaterialComponents.Button">
|
|
|
|
<item name="android:textColor">?attr/colorOnSecondary</item>
|
|
|
|
<item name="backgroundTint">?attr/colorAccent</item>
|
2021-05-22 17:55:05 +02:00
|
|
|
<item name="rippleColor">?attr/rippleColor</item>
|
2020-07-13 04:20:37 +02:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2017-09-29 08:34:13 +02:00
|
|
|
</style>
|
|
|
|
|
2020-10-03 18:41:33 +02:00
|
|
|
<style name="Theme.Widget.Button.Action" parent="Widget.MaterialComponents.Button.UnelevatedButton.Icon">
|
2020-04-04 04:41:37 +02:00
|
|
|
<item name="android:textSize">12sp</item>
|
2020-10-03 18:41:33 +02:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-04-04 04:41:37 +02:00
|
|
|
|
2020-10-03 18:41:33 +02:00
|
|
|
<item name="backgroundTint">@android:color/transparent</item>
|
2021-05-23 00:08:48 +02:00
|
|
|
<item name="rippleColor">?attr/rippleColor</item>
|
2020-07-17 20:20:36 +02:00
|
|
|
|
2020-10-03 18:41:33 +02:00
|
|
|
<item name="iconGravity">top</item>
|
|
|
|
<item name="iconTint">@color/button_action_selector</item>
|
|
|
|
<item name="iconPadding">4dp</item>
|
|
|
|
<item name="android:textColor">@color/button_action_selector</item>
|
2020-04-19 01:05:19 +02:00
|
|
|
</style>
|
|
|
|
|
2020-09-23 04:20:29 +02:00
|
|
|
<style name="Theme.Widget.Button.TextButton" parent="Widget.MaterialComponents.Button.TextButton">
|
|
|
|
<item name="android:letterSpacing">0.0</item>
|
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
|
|
<item name="android:textAllCaps">false</item>
|
|
|
|
|
|
|
|
<item name="android:minHeight">0dp</item>
|
|
|
|
<item name="android:minWidth">0dp</item>
|
|
|
|
<item name="android:paddingTop">0dp</item>
|
|
|
|
<item name="android:paddingBottom">0dp</item>
|
|
|
|
<item name="android:insetTop">0dp</item>
|
|
|
|
<item name="android:insetBottom">0dp</item>
|
|
|
|
|
|
|
|
<item name="android:background">?android:attr/colorBackground</item>
|
|
|
|
<item name="backgroundTint">@null</item>
|
|
|
|
<item name="rippleColor">@null</item>
|
|
|
|
</style>
|
|
|
|
|
2020-04-19 01:05:19 +02:00
|
|
|
|
|
|
|
<!--=================-->
|
|
|
|
<!--Widgets.TabLayout-->
|
|
|
|
<!--=================-->
|
|
|
|
<style name="Theme.Widget.Tabs" parent="Widget.MaterialComponents.TabLayout.Colored">
|
|
|
|
<item name="tabGravity">center</item>
|
|
|
|
<item name="tabIndicator">@drawable/tab_indicator</item>
|
2020-09-27 01:18:58 +02:00
|
|
|
<item name="tabIndicatorColor">?attr/colorAccentOnPrimary</item>
|
|
|
|
<item name="tabTextColor">@color/tabs_selector</item>
|
2020-04-19 01:05:19 +02:00
|
|
|
<item name="tabIndicatorFullWidth">false</item>
|
|
|
|
<item name="tabIndicatorHeight">3dp</item>
|
|
|
|
<item name="tabInlineLabel">true</item>
|
|
|
|
<item name="tabMinWidth">75dp</item>
|
|
|
|
<item name="tabMode">scrollable</item>
|
2020-07-07 23:19:56 +02:00
|
|
|
<item name="tabTextAppearance">@style/TextAppearance.Widget.Tab</item>
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="tabRippleColor">?attr/rippleSecondaryColor</item>
|
2020-04-04 04:41:37 +02:00
|
|
|
</style>
|
|
|
|
|
2020-03-13 01:12:48 +01:00
|
|
|
|
2020-05-08 04:40:23 +02:00
|
|
|
<!--============-->
|
|
|
|
<!--FastScroller-->
|
|
|
|
<!--============-->
|
|
|
|
<style name="FloatingTextView" parent="TextAppearance.AppCompat">
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
<item name="android:layout_width">wrap_content</item>
|
|
|
|
<item name="android:background">@drawable/material_bubble_drawable</item>
|
|
|
|
<item name="android:elevation">5dp</item>
|
|
|
|
<item name="android:paddingStart">12dp</item>
|
|
|
|
<item name="android:paddingEnd">12dp</item>
|
|
|
|
<item name="android:paddingTop">8dp</item>
|
|
|
|
<item name="android:paddingBottom">8dp</item>
|
|
|
|
<item name="android:textColor">?attr/colorOnPrimary</item>
|
|
|
|
<item name="android:textSize">15sp</item>
|
|
|
|
</style>
|
|
|
|
|
2021-05-22 17:55:05 +02:00
|
|
|
|
|
|
|
<!--===============-->
|
|
|
|
<!--Custom Selector-->
|
|
|
|
<!--===============-->
|
2021-05-23 00:08:48 +02:00
|
|
|
<style name="PreferenceThemeCustom" parent="@style/PreferenceThemeOverlay">
|
|
|
|
<item name="android:selectableItemBackground">@drawable/ripple_background</item>
|
2021-05-22 17:55:05 +02:00
|
|
|
</style>
|
|
|
|
|
2015-09-24 17:27:43 +02:00
|
|
|
</resources>
|