2016-03-12 21:22:40 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!--========-->
|
|
|
|
<!--Toolbars-->
|
|
|
|
<!--========-->
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="Theme.ActionBar" parent="@style/ThemeOverlay.AppCompat.ActionBar" />
|
2015-09-24 23:27:43 +08:00
|
|
|
|
2016-05-13 21:45:36 +08:00
|
|
|
<style name="Theme.ActionBar.Light" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
|
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<!--====-->
|
|
|
|
<!--Tabs-->
|
|
|
|
<!--====-->
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="Theme.ActionBar.Tab" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
2016-01-05 20:54:00 +08:00
|
|
|
|
2016-04-10 23:34:10 +08:00
|
|
|
<!--===========-->
|
|
|
|
<!--AlertDialog-->
|
|
|
|
<!--===========-->
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="Theme.AlertDialog" />
|
2016-04-10 23:34:10 +08:00
|
|
|
|
|
|
|
<style name="Theme.AlertDialog.Light" parent="Theme.AppCompat.Light.Dialog.Alert">
|
|
|
|
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
|
|
|
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.AlertDialog.Dark" parent="Theme.AppCompat.Dialog.Alert">
|
|
|
|
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
|
|
|
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
|
|
|
<item name="colorAccent">@color/colorAccentDark</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<!--==============-->
|
|
|
|
<!--NavigationView-->
|
|
|
|
<!--==============-->
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="Theme.Widget.NavigationView" />
|
2016-03-12 21:22:40 +08:00
|
|
|
|
|
|
|
<style name="Theme.Widget.NavigationView.Dark">
|
|
|
|
<item name="colorControlHighlight">@color/md_grey_900</item>
|
2016-04-10 21:48:57 +08:00
|
|
|
<item name="colorPrimary">?colorAccent</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--===============-->
|
|
|
|
<!--Text Appearance-->
|
|
|
|
<!--===============-->
|
|
|
|
<style name="TextAppearance" parent="@android:style/TextAppearance">
|
|
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular">
|
|
|
|
<item name="android:fontFamily">@string/font_roboto_regular</item>
|
|
|
|
</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.Light">
|
|
|
|
<item name="android:textColor">@color/textColorPrimaryDark</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.Light">
|
|
|
|
<item name="android:textColor">@color/textColorPrimaryDark</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Regular.Caption.Hint">
|
|
|
|
<item name="android:textColor">?android:attr/textColorHint</item>
|
2016-01-05 20:54:00 +08:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<style name="TextAppearance.Regular.SubHeading">
|
|
|
|
<item name="android:textSize">16sp</item>
|
2016-01-05 20:54:00 +08:00
|
|
|
</style>
|
|
|
|
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Upper">
|
|
|
|
<item name="android:textAllCaps">true</item>
|
|
|
|
</style>
|
|
|
|
|
2016-09-22 03:26:08 +08:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Secondary">
|
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light">
|
|
|
|
<item name="android:textColor">@color/textColorPrimaryDark</item>
|
2016-01-10 01:23:38 +08:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light.Bold">
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Medium">
|
|
|
|
<item name="android:fontFamily">@string/font_roboto_medium</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Medium.Title">
|
|
|
|
<item name="android:textSize">20sp</item>
|
|
|
|
</style>
|
|
|
|
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="TextAppearance.Medium.Title.Upper">
|
|
|
|
<item name="android:textAllCaps">true</item>
|
|
|
|
</style>
|
|
|
|
|
2016-09-22 03:26:08 +08:00
|
|
|
<style name="TextAppearance.Medium.Title.Secondary">
|
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<style name="TextAppearance.Medium.Body2">
|
|
|
|
<item name="android:textSize">14sp</item>
|
2015-09-24 23:27:43 +08:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08: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 19:11:39 +08:00
|
|
|
<style name="Theme.Widget" />
|
2016-03-12 21:22:40 +08:00
|
|
|
|
|
|
|
<style name="Theme.Widget.FAB">
|
|
|
|
<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>
|
|
|
|
<item name="layout_anchorGravity">bottom|right|end</item>
|
|
|
|
<item name="android:tint">@color/md_white_1000</item>
|
2016-05-27 19:21:21 +08:00
|
|
|
<item name="layout_behavior">eu.kanade.tachiyomi.widget.FABAnimationUpDown</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
</style>
|
|
|
|
|
2016-06-08 02:59:43 +08:00
|
|
|
<style name="Theme.Widget.CardView" parent="CardView">
|
2016-06-08 02:14:36 +08:00
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
2017-05-16 16:18:46 +08:00
|
|
|
<item name="android:padding">@dimen/material_component_cards_top_and_bottom_padding</item>
|
2017-09-23 19:11:39 +08: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-08 02:59:43 +08:00
|
|
|
<item name="cardBackgroundColor">?attr/background_card</item>
|
2017-05-16 16:18:46 +08: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 21:26:56 +08:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<style name="Theme.Widget.GridView">
|
2017-09-23 19:11:39 +08: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-10 01:23:38 +08:00
|
|
|
<item name="android:padding">5dp</item>
|
2015-11-25 01:45:53 +08:00
|
|
|
<item name="android:gravity">top|left</item>
|
|
|
|
<item name="android:smoothScrollbar">true</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
<item name="android:cacheColorHint">?android:attr/textColorHint</item>
|
2015-11-25 01:45:53 +08:00
|
|
|
<item name="android:fastScrollEnabled">true</item>
|
|
|
|
<item name="android:horizontalSpacing">0dp</item>
|
|
|
|
<item name="android:verticalSpacing">0dp</item>
|
2015-09-24 23:27:43 +08:00
|
|
|
</style>
|
|
|
|
|
2015-12-09 02:39:57 +08:00
|
|
|
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="Theme.Widget.CheckBox" />
|
2015-12-09 02:39:57 +08:00
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<style name="Theme.Widget.CheckBox.Light" parent="TextAppearance.Regular.Body1.Light">
|
|
|
|
<item name="buttonTint">@color/md_white_1000</item>
|
2015-12-09 02:39:57 +08:00
|
|
|
</style>
|
|
|
|
|
2016-05-25 06:09:24 +08: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>
|
|
|
|
|
2017-09-29 14:34:13 +08:00
|
|
|
<!--==============-->
|
|
|
|
<!--Widgets.Button-->
|
|
|
|
<!--==============-->
|
|
|
|
<style name="Theme.Widget.Button" parent="Widget.AppCompat.Button"/>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.Button.Colored" parent="Widget.AppCompat.Button.Colored"/>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.Button.Borderless" parent="Widget.AppCompat.Button.Borderless">
|
|
|
|
<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 21:22:40 +08:00
|
|
|
<!--===-->
|
|
|
|
<!--OLD-->
|
|
|
|
<!--===-->
|
|
|
|
<style name="AlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert">
|
|
|
|
<item name="android:windowTitleStyle">@style/DialogTitleText</item>
|
|
|
|
<item name="colorAccent">?attr/colorPrimary</item>
|
2015-12-09 02:39:57 +08:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<style name="DialogTitleText">
|
|
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
|
2015-10-17 08:39:16 +08:00
|
|
|
</style>
|
2016-03-12 21:22:40 +08:00
|
|
|
|
|
|
|
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
|
2016-03-21 04:50:48 +08:00
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
2016-04-10 21:48:57 +08:00
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
2016-03-21 04:50:48 +08:00
|
|
|
<item name="colorButtonNormal">@color/colorPrimary</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
|
|
|
|
<item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
|
|
|
|
|
2016-03-21 04:50:48 +08:00
|
|
|
<item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
</style>
|
|
|
|
|
2017-09-23 19:11:39 +08:00
|
|
|
<style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert"></style>
|
2015-11-25 01:45:53 +08:00
|
|
|
|
2015-11-21 09:27:34 +08:00
|
|
|
<style name="reader_settings_popup_animation">
|
|
|
|
<item name="android:windowEnterAnimation">@anim/enter_from_right</item>
|
|
|
|
<item name="android:windowExitAnimation">@anim/exit_to_right</item>
|
|
|
|
</style>
|
2015-11-25 01:45:53 +08:00
|
|
|
|
2015-11-23 03:03:48 +08:00
|
|
|
<style name="reader_brightness_popup_animation">
|
|
|
|
<item name="android:windowEnterAnimation">@anim/enter_from_left</item>
|
|
|
|
<item name="android:windowExitAnimation">@anim/exit_to_left</item>
|
|
|
|
</style>
|
2015-11-25 01:45:53 +08:00
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
|
2015-09-24 23:27:43 +08:00
|
|
|
</resources>
|