2016-03-12 14:22:40 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!--========-->
|
|
|
|
<!--Toolbars-->
|
|
|
|
<!--========-->
|
2015-09-24 17:27:43 +02:00
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="ThemeOverlay.Tachiyomi.ActionBar" parent="ThemeOverlay.Material3.ActionBar">
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:colorControlHighlight">?attr/rippleColorToolbar</item>
|
2016-05-13 15:45:36 +02:00
|
|
|
</style>
|
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Widget.Tachiyomi.Toolbar.Button.Navigation" parent="Widget.AppCompat.Toolbar.Button.Navigation">
|
|
|
|
<item name="tint">?attr/colorOnToolbar</item>
|
2021-05-23 20:29:59 +02:00
|
|
|
</style>
|
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Widget.Tachiyomi.ActionMode" parent="Widget.AppCompat.ActionMode">
|
|
|
|
<item name="background">?attr/colorToolbar</item>
|
|
|
|
<item name="titleTextStyle">@style/TextAppearance.Tachiyomi.ActionMode.Title</item>
|
2021-05-22 17:55:05 +02:00
|
|
|
</style>
|
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Theme.Tachiyomi.ActionMode.CloseButton" parent="Widget.AppCompat.ActionButton.CloseMode">
|
|
|
|
<item name="android:tint">?attr/colorOnToolbar</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
</style>
|
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Theme.Tachiyomi.ActionButton.Overflow" parent="Widget.AppCompat.ActionButton.Overflow">
|
|
|
|
<item name="android:tint">?attr/colorOnToolbar</item>
|
2020-03-15 21:52:27 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2016-04-10 17:34:10 +02:00
|
|
|
<!--===========-->
|
|
|
|
<!--AlertDialog-->
|
|
|
|
<!--===========-->
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="ThemeOverlay.Tachiyomi.MaterialAlertDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:background">?attr/colorSurface</item>
|
|
|
|
<item name="android:textColorPrimary">?attr/colorOnSurface</item>
|
|
|
|
<item name="android:textColor">?attr/colorOnSurface</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2020-11-22 21:49:57 +01:00
|
|
|
<!--===========-->
|
|
|
|
<!--BottomSheet-->
|
|
|
|
<!--===========-->
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="ThemeOverlay.Tachiyomi.BottomSheetDialog" parent="ThemeOverlay.Material3.BottomSheetDialog">
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="bottomSheetStyle">@style/Widget.Tachiyomi.BottomSheet.Modal</item>
|
|
|
|
<item name="android:windowAnimationStyle">@style/Animation.Tachiyomi.BottomSheetDialog</item>
|
2021-02-02 04:23:29 +01:00
|
|
|
</style>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.BottomSheet.Modal" parent="Widget.Material3.BottomSheet.Modal">
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Tachiyomi.BottomSheet</item>
|
2021-02-02 04:23:29 +01:00
|
|
|
</style>
|
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="ShapeAppearanceOverlay.Tachiyomi.BottomSheet" parent="">
|
2021-02-02 04:23:29 +01:00
|
|
|
<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-06-19 21:45:16 +02:00
|
|
|
<style name="Animation.Tachiyomi.BottomSheetDialog" parent="Animation.AppCompat.Dialog">
|
2021-05-29 04:36:09 +02:00
|
|
|
<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-->
|
|
|
|
<!--===============-->
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="TextAppearance.Widget.Button" parent="TextAppearance.Material3.TitleSmall" />
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2021-10-03 18:32:04 +02:00
|
|
|
<style name="TextAppearance.Widget.Menu" parent="TextAppearance.AppCompat.Menu">
|
|
|
|
<item name="android:textColor">?attr/colorOnBackground</item>
|
2016-09-21 21:26:08 +02:00
|
|
|
</style>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="TextAppearance.Tachiyomi.ActionMode.Title" parent="TextAppearance.Material3.HeadlineSmall">
|
2021-10-03 18:32:04 +02:00
|
|
|
<item name="android:textColor">?attr/colorOnToolbar</item>
|
2015-09-24 17:27:43 +02:00
|
|
|
</style>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="TextAppearance.Tachiyomi.Preference.Secondary" parent="TextAppearance.Material3.BodySmall" />
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="TextAppearance.Tachiyomi.SectionHeader" parent="TextAppearance.Material3.LabelLarge">
|
2020-09-27 19:41:25 +02:00
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
</style>
|
|
|
|
|
2020-07-07 23:19:56 +02:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--=======-->
|
|
|
|
<!--Widgets-->
|
|
|
|
<!--=======-->
|
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Widget.Tachiyomi.GridView" parent="android:Widget">
|
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>
|
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Widget.Tachiyomi.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
|
|
|
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Widget.Tachiyomi.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
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Snackbar" parent="Widget.Material3.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>
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Snackbar.TextView" parent="Widget.Material3.Snackbar.TextView">
|
2020-06-13 21:34:55 +02:00
|
|
|
<item name="android:textColor">?attr/colorOnSurface</item>
|
|
|
|
</style>
|
2020-03-13 01:12:48 +01:00
|
|
|
|
2020-03-15 17:58:48 +01:00
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Chip.Action" parent="Widget.Material3.Chip.Suggestion">
|
2021-07-11 21:45:53 +02:00
|
|
|
<item name="chipBackgroundColor">?attr/chipBackgroundColor</item>
|
|
|
|
<item name="android:textColor">?attr/chipTextColor</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="rippleColor">?attr/colorControlHighlight</item>
|
2020-03-29 19:58:30 +02:00
|
|
|
|
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="chipMinHeight">24dp</item>
|
2021-10-03 18:32:04 +02:00
|
|
|
<item name="android:textAppearance">?attr/textAppearanceCaption</item>
|
2020-03-29 19:58:30 +02:00
|
|
|
|
|
|
|
<!-- Collapse horizontal margin -->
|
|
|
|
<item name="chipMinTouchTargetSize">30dp</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.CircularProgressIndicator.Small" parent="Widget.Material3.CircularProgressIndicator">
|
2020-12-26 17:24:10 +01:00
|
|
|
<item name="indicatorSize">16dp</item>
|
|
|
|
<item name="trackThickness">2dp</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-15 17:58:48 +01:00
|
|
|
|
2017-09-29 08:34:13 +02:00
|
|
|
<!--==============-->
|
|
|
|
<!--Widgets.Button-->
|
|
|
|
<!--==============-->
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Button.ActionButton" parent="Widget.Material3.Button.TextButton.Icon">
|
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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:textSize">12sp</item>
|
2020-04-19 01:05:19 +02:00
|
|
|
</style>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Button.InlineButton" parent="Widget.Material3.Button.TextButton">
|
2020-09-23 04:20:29 +02:00
|
|
|
<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>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Button.OutlinedButton" parent="Widget.Material3.Button.OutlinedButton" />
|
2021-09-16 23:57:41 +02:00
|
|
|
|
2020-04-19 01:05:19 +02:00
|
|
|
|
|
|
|
<!--=================-->
|
|
|
|
<!--Widgets.TabLayout-->
|
|
|
|
<!--=================-->
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.TabLayout" parent="Widget.Material3.TabLayout">
|
2020-04-19 01:05:19 +02:00
|
|
|
<item name="tabGravity">center</item>
|
|
|
|
<item name="tabIndicator">@drawable/tab_indicator</item>
|
|
|
|
<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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="tabRippleColor">@color/ripple_toolbar_fainter</item>
|
|
|
|
</style>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
|
2021-08-09 23:47:57 +02:00
|
|
|
<!--==============-->
|
|
|
|
<!--Widgets.Switch-->
|
|
|
|
<!--==============-->
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Switch" parent="Widget.Material3.CompoundButton.Switch">
|
2021-08-09 23:47:57 +02:00
|
|
|
<item name="materialThemeOverlay">@style/ThemeOverlay.Tachiyomi.Switch</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="ThemeOverlay.Tachiyomi.Switch" parent="">
|
|
|
|
<item name="elevationOverlayEnabled">@bool/elevationOverlayEnabled</item>
|
|
|
|
</style>
|
|
|
|
|
2021-10-09 16:44:08 +02:00
|
|
|
<!--==============-->
|
|
|
|
<!--Widgets.Slider-->
|
|
|
|
<!--==============-->
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.Slider" parent="Widget.Material3.Slider">
|
2021-10-09 16:44:08 +02:00
|
|
|
<item name="labelBehavior">gone</item>
|
|
|
|
<item name="tickVisible">false</item>
|
|
|
|
</style>
|
|
|
|
|
2021-07-02 14:44:04 +02:00
|
|
|
|
|
|
|
<!--================-->
|
|
|
|
<!--Navigation Views-->
|
|
|
|
<!--================-->
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.BottomNavigationView" parent="Widget.Material3.BottomNavigationView">
|
|
|
|
<item name="itemPaddingBottom">10dp</item>
|
|
|
|
<item name="itemPaddingTop">10dp</item>
|
|
|
|
<item name="android:minHeight">68dp</item>
|
|
|
|
|
2021-07-02 14:44:04 +02:00
|
|
|
<item name="itemRippleColor">@color/ripple_toolbar_fainter</item>
|
|
|
|
<item name="labelVisibilityMode">labeled</item>
|
|
|
|
</style>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="Widget.Tachiyomi.NavigationRailView" parent="Widget.Material3.NavigationRailView">
|
2021-07-02 14:44:04 +02:00
|
|
|
<item name="itemRippleColor">@color/ripple_toolbar_fainter</item>
|
|
|
|
<item name="labelVisibilityMode">labeled</item>
|
|
|
|
</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: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-06-28 17:33:26 +02:00
|
|
|
<!--================-->
|
|
|
|
<!--Shape Appearance-->
|
|
|
|
<!--================-->
|
|
|
|
<style name="ShapeAppearanceOverlay.MaterialCardView.Tracker" parent="">
|
|
|
|
<item name="cornerFamily">rounded</item>
|
|
|
|
<item name="cornerSize">8dp</item>
|
|
|
|
</style>
|
|
|
|
|
2021-09-01 04:35:52 +02:00
|
|
|
<style name="ShapeAppearanceOverlay.Cover" parent="">
|
|
|
|
<item name="cornerFamily">rounded</item>
|
|
|
|
<item name="cornerSize">@dimen/card_radius</item>
|
|
|
|
</style>
|
|
|
|
|
2021-10-19 23:41:59 +02:00
|
|
|
<style name="ThemeOverlay.Tachiyomi.Dialog.Fullscreen" parent="ThemeOverlay.Material3">
|
2021-06-28 17:33:26 +02:00
|
|
|
<item name="android:windowIsFloating">false</item>
|
|
|
|
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
|
|
|
<item name="android:windowAnimationStyle">@style/Animation.Tachiyomi.Dialog</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Animation.Tachiyomi.Dialog" parent="Animation.AppCompat.Dialog">
|
|
|
|
<item name="android:windowEnterAnimation">@anim/fade_in_short</item>
|
|
|
|
<item name="android:windowExitAnimation">@anim/fade_out_short</item>
|
|
|
|
</style>
|
|
|
|
|
2021-10-09 23:47:04 +02:00
|
|
|
<!--===========-->
|
|
|
|
<!--Preferences-->
|
|
|
|
<!--===========-->
|
2021-10-03 18:32:04 +02:00
|
|
|
<style name="PreferenceThemeOverlay.Tachiyomi">
|
|
|
|
<item name="preferenceCategoryTitleTextAppearance">?attr/textAppearanceBody2</item>
|
2021-10-09 23:47:04 +02:00
|
|
|
<item name="switchPreferenceCompatStyle">@style/PreferenceThemeOverlay.Tachiyomi.SwitchPreferenceCompat</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="PreferenceThemeOverlay.Tachiyomi.SwitchPreferenceCompat" parent="Preference.SwitchPreferenceCompat.Material">
|
|
|
|
<item name="android:widgetLayout">@layout/pref_widget_switch_material</item>
|
2021-10-03 18:32:04 +02:00
|
|
|
</style>
|
|
|
|
|
2015-09-24 17:27:43 +02:00
|
|
|
</resources>
|