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
|
|
|
|
2020-01-30 08:57:17 +01:00
|
|
|
<style name="Theme.ActionBar.DayNight" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
2020-02-02 01:28:45 +01:00
|
|
|
<item name="popupTheme">@style/ThemeOverlay.MaterialComponents.Light</item>
|
2016-05-13 15:45:36 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--====-->
|
|
|
|
<!--Tabs-->
|
|
|
|
<!--====-->
|
2017-09-23 13:11:39 +02:00
|
|
|
<style name="Theme.ActionBar.Tab" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
2016-01-05 13:54:00 +01:00
|
|
|
|
2020-02-01 10:29:26 +01:00
|
|
|
<style name="CustomActionModeStyle" parent="Base.Widget.AppCompat.ActionMode">
|
|
|
|
<item name="background">@drawable/action_mode_bg</item>
|
|
|
|
</style>
|
|
|
|
|
2016-04-10 17:34:10 +02:00
|
|
|
<!--===========-->
|
|
|
|
<!--AlertDialog-->
|
|
|
|
<!--===========-->
|
|
|
|
|
2020-01-30 08:57:17 +01:00
|
|
|
<style name="Theme.AlertDialog.DayNight" parent="Theme.AppCompat.Light.Dialog.Alert">
|
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-01-30 08:57:17 +01:00
|
|
|
<item name="colorAccent">@color/colorAccent</item>
|
2016-04-10 17:34:10 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--==============-->
|
|
|
|
<!--NavigationView-->
|
|
|
|
<!--==============-->
|
2019-10-27 05:42:49 +01:00
|
|
|
<style name="Theme.Widget.NavigationView">
|
|
|
|
<item name="colorControlHighlight">@color/drawerHighlight</item>
|
|
|
|
<item name="colorPrimary">@color/drawerPrimary</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2019-10-27 05:42:49 +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-01-08 00:46:31 +01:00
|
|
|
<item name="android:fontFamily">sans-serif-regular</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>
|
|
|
|
|
2020-02-14 07:49:32 +01:00
|
|
|
<style name="TextAppearance.Regular.Body1.SemiBold">
|
|
|
|
<item name="android:fontFamily">sans-serif-medium</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Regular.Body1.Light">
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="android:textColor">@color/textColorPrimary</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</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.Light">
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="android:textColor">@color/textColorPrimary</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular.Caption.Hint">
|
|
|
|
<item name="android:textColor">?android:attr/textColorHint</item>
|
2016-01-05 13:54:00 +01:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Regular.SubHeading">
|
|
|
|
<item name="android:textSize">16sp</item>
|
2016-01-05 13:54:00 +01:00
|
|
|
</style>
|
|
|
|
|
2016-09-21 21:26:08 +02:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Secondary">
|
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light">
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="android:textColor">@color/textColorPrimary</item>
|
2016-01-09 18:23:38 +01:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light.Bold">
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<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">
|
|
|
|
<item name="android:textSize">20sp</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Medium.Button">
|
|
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
<item name="android:textAllCaps">true</item>
|
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--=======-->
|
|
|
|
<!--Widgets-->
|
|
|
|
<!--=======-->
|
2017-09-23 13:11:39 +02:00
|
|
|
<style name="Theme.Widget" />
|
2016-03-12 14:22:40 +01:00
|
|
|
|
|
|
|
<style name="Theme.Widget.FAB">
|
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>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:layout_gravity">bottom|end</item>
|
|
|
|
<item name="android:layout_margin">@dimen/fab_margin</item>
|
|
|
|
<item name="android:scaleType">fitCenter</item>
|
|
|
|
<item name="layout_anchorGravity">bottom|right|end</item>
|
2020-02-01 10:29:26 +01:00
|
|
|
<item name="tint">@color/md_white_1000</item>
|
|
|
|
<item name="backgroundTint">?attr/colorAccent</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:tint">@color/md_white_1000</item>
|
|
|
|
</style>
|
|
|
|
|
2019-10-28 10:27:01 +01:00
|
|
|
<style name="Theme.Widget.FABFixed">
|
|
|
|
<item name="android:layout_height">@dimen/fab_size</item>
|
|
|
|
<item name="android:layout_width">@dimen/fab_size</item>
|
|
|
|
<item name="android:layout_gravity">bottom|end</item>
|
|
|
|
<item name="android:layout_margin">@dimen/fab_margin</item>
|
|
|
|
<item name="android:scaleType">fitCenter</item>
|
2019-10-31 04:53:14 +01:00
|
|
|
<item name="layout_anchorGravity">bottom|right|end</item>
|
2019-10-28 10:27:01 +01:00
|
|
|
<item name="android:tint">@color/md_white_1000</item>
|
2020-02-01 10:29:26 +01:00
|
|
|
<item name="tint">@color/md_white_1000</item>
|
|
|
|
<item name="backgroundTint">?attr/colorAccent</item>
|
2019-10-31 04:53:14 +01:00
|
|
|
<item name="layout_behavior">eu.kanade.tachiyomi.widget.FABMoveBehaviour</item>
|
2019-10-28 10:27:01 +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>
|
2017-05-16 10:18:46 +02:00
|
|
|
<item name="android:padding">@dimen/material_component_cards_top_and_bottom_padding</item>
|
2017-09-23 13:11:39 +02:00
|
|
|
<item name="android:layout_marginTop">@dimen/material_component_cards_space_between_cards
|
|
|
|
</item>
|
|
|
|
<item name="android:layout_marginBottom">
|
|
|
|
@dimen/material_component_cards_space_between_cards
|
|
|
|
</item>
|
|
|
|
<item name="android:layout_marginStart">
|
|
|
|
@dimen/material_component_cards_space_between_cards
|
|
|
|
</item>
|
|
|
|
<item name="android:layout_marginEnd">@dimen/material_component_cards_space_between_cards
|
|
|
|
</item>
|
2016-06-07 20:59:43 +02:00
|
|
|
<item name="cardBackgroundColor">?attr/background_card</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>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.GridView.Catalogue">
|
2016-01-09 18:23:38 +01:00
|
|
|
<item name="android:padding">5dp</item>
|
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">
|
|
|
|
<item name="android:textColor">?attr/text_color_primary</item>
|
|
|
|
<item name="android:background">?attr/selectable_list_drawable</item>
|
|
|
|
</style>
|
|
|
|
|
2020-02-07 12:27:57 +01:00
|
|
|
<!-- set the rounded drawable as background to your bottom sheet -->
|
|
|
|
<style name="BottomSheet" parent="@style/Widget.Design.BottomSheet.Modal">
|
|
|
|
<item name="android:background">@drawable/bg_bottom_sheet_dialog_fragment</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="RoundedBottomSheetDialogTheme" parent="@style/Theme.MaterialComponents.BottomSheetDialog">
|
|
|
|
<item name="android:background">@android:color/transparent</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="BottomSheetDialogTheme" parent="@style/Theme.MaterialComponents.BottomSheetDialog">
|
|
|
|
<item name="android:colorBackground">@android:color/transparent</item>
|
|
|
|
</style>
|
|
|
|
|
2017-09-29 08:34:13 +02:00
|
|
|
<!--==============-->
|
|
|
|
<!--Widgets.Button-->
|
|
|
|
<!--==============-->
|
|
|
|
<style name="Theme.Widget.Button" parent="Widget.AppCompat.Button"/>
|
|
|
|
|
2020-02-02 01:28:45 +01:00
|
|
|
<style name="Theme.Widget.Button.Colored" parent="Widget.MaterialComponents.Button">
|
|
|
|
<item name="backgroundTint">?attr/colorAccent</item>
|
|
|
|
</style>
|
2017-09-29 08:34:13 +02:00
|
|
|
|
2020-02-02 01:28:45 +01:00
|
|
|
<style name="Theme.Widget.Button.Borderless" parent="Widget.MaterialComponents.Button.TextButton">
|
2017-09-29 08:34:13 +02:00
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.Button.Borderless.Negative">
|
|
|
|
<item name="android:textColor">@color/md_red_500</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.Button.Borderless.Small">
|
|
|
|
<item name="android:minHeight">48dip</item>
|
|
|
|
<item name="android:minWidth">48dip</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--===-->
|
|
|
|
<!--OLD-->
|
|
|
|
<!--===-->
|
|
|
|
|
|
|
|
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
|
2016-03-20 21:50:48 +01:00
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="colorAccent">@color/colorAccent</item>
|
2016-03-20 21:50:48 +01:00
|
|
|
<item name="colorButtonNormal">@color/colorPrimary</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
|
|
|
|
<item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
|
|
|
|
|
2016-03-20 21:50:48 +01:00
|
|
|
<item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2017-09-23 13:11:39 +02:00
|
|
|
<style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert"></style>
|
2015-11-24 18:45:53 +01:00
|
|
|
|
2020-01-05 03:19:09 +01:00
|
|
|
<style name="SheetDialog" parent="Theme.Design.Light.BottomSheetDialog">
|
|
|
|
<!--<item name="android:windowCloseOnTouchOutside">false</item>-->
|
|
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
|
|
<item name="android:colorBackground"> @android:color/transparent</item>
|
|
|
|
<item name="android:backgroundDimEnabled">true</item>
|
|
|
|
<item name="android:backgroundDimAmount">0.3</item>
|
|
|
|
<item name="android:windowFrame">@null</item>
|
|
|
|
<item name="android:windowIsFloating">true</item>
|
|
|
|
</style>
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2015-09-24 17:27:43 +02:00
|
|
|
</resources>
|