2016-03-12 08:22:40 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!--========-->
|
|
|
|
<!--Toolbars-->
|
|
|
|
<!--========-->
|
2020-03-15 16:52:27 -04:00
|
|
|
<style name="Theme.Toolbar" parent="@style/ThemeOverlay.MaterialComponents.ActionBar" />
|
2015-09-24 11:27:43 -04:00
|
|
|
|
2020-03-15 16:52:27 -04:00
|
|
|
<style name="Theme.Toolbar.Light" parent="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="popupTheme">@style/ThemeOverlay.MaterialComponents.Light</item>
|
2016-05-13 09:45:36 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-15 16:52:27 -04:00
|
|
|
<style name="Theme.Toolbar.Navigation" parent="Widget.AppCompat.Toolbar.Button.Navigation">
|
|
|
|
<item name="tint">?attr/colorOnPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2016-04-10 11:34:10 -04:00
|
|
|
<!--===========-->
|
|
|
|
<!--AlertDialog-->
|
|
|
|
<!--===========-->
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="Theme.AlertDialog" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
|
2016-04-10 11:34:10 -04: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-11 19:08:57 -04:00
|
|
|
|
|
|
|
<item name="android:background">?attr/colorSurface</item>
|
|
|
|
<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 18:43:16 -04:00
|
|
|
<item name="buttonBarNegativeButtonStyle">@style/Theme.Widget.Button</item>
|
|
|
|
<item name="buttonBarNeutralButtonStyle">@style/Theme.Widget.Button</item>
|
2016-04-10 11:34:10 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="Theme.AlertDialog.Light" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
2016-04-10 11:34:10 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="Theme.AlertDialog.Dark" parent="Theme.AlertDialog">
|
|
|
|
<item name="colorAccent">@color/colorAccentDark</item>
|
2020-01-20 21:34:47 -05:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05: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-07 18:46:31 -05:00
|
|
|
<item name="android:fontFamily">sans-serif-regular</item>
|
2016-03-12 08:22:40 -05: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.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 07:54:00 -05:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="TextAppearance.Regular.SubHeading">
|
|
|
|
<item name="android:textSize">16sp</item>
|
2016-01-05 07:54:00 -05:00
|
|
|
</style>
|
|
|
|
|
2017-09-23 07:11:39 -04:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Upper">
|
|
|
|
<item name="android:textAllCaps">true</item>
|
|
|
|
</style>
|
|
|
|
|
2016-09-21 15:26:08 -04:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Secondary">
|
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light">
|
|
|
|
<item name="android:textColor">@color/textColorPrimaryDark</item>
|
2016-01-09 12:23:38 -05:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light.Bold">
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Medium">
|
2020-01-07 18:46:31 -05:00
|
|
|
<item name="android:fontFamily">sans-serif-medium</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Medium.Title">
|
|
|
|
<item name="android:textSize">20sp</item>
|
|
|
|
</style>
|
|
|
|
|
2017-09-23 07:11:39 -04:00
|
|
|
<style name="TextAppearance.Medium.Title.Upper">
|
|
|
|
<item name="android:textAllCaps">true</item>
|
|
|
|
</style>
|
|
|
|
|
2016-09-21 15:26:08 -04:00
|
|
|
<style name="TextAppearance.Medium.Title.Secondary">
|
|
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="TextAppearance.Medium.Body2">
|
|
|
|
<item name="android:textSize">14sp</item>
|
2015-09-24 11:27:43 -04:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="TextAppearance.Medium.Body2.Hint">
|
|
|
|
<item name="android:textColor">?android:attr/textColorHint</item>
|
|
|
|
</style>
|
|
|
|
|
2020-03-12 19:14:43 -04:00
|
|
|
<style name="TextAppearance.Widget.Button" parent="TextAppearance.MaterialComponents.Button">
|
|
|
|
<item name="android:letterSpacing">0</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextAppearance.Widget.Menu" parent="TextAppearance.AppCompat.Menu">
|
|
|
|
<item name="android:textColor">?attr/colorOnBackground</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<!--=======-->
|
|
|
|
<!--Widgets-->
|
|
|
|
<!--=======-->
|
2017-09-23 07:11:39 -04:00
|
|
|
<style name="Theme.Widget" />
|
2016-03-12 08:22:40 -05:00
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="Theme.Widget.FAB" parent="@style/Widget.MaterialComponents.FloatingActionButton">
|
2019-12-27 20:53:04 -05: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 08:22:40 -05: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>
|
|
|
|
</style>
|
|
|
|
|
2016-06-07 14:59:43 -04:00
|
|
|
<style name="Theme.Widget.CardView" parent="CardView">
|
2016-06-07 14:14:36 -04:00
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
2017-05-16 04:18:46 -04:00
|
|
|
<item name="android:padding">@dimen/material_component_cards_top_and_bottom_padding</item>
|
2017-09-23 07:11:39 -04: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>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="cardBackgroundColor">?attr/colorSurface</item>
|
2017-05-16 04:18:46 -04: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 09:26:56 -04:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="Theme.Widget.GridView">
|
2017-09-23 07:11:39 -04: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 12:23:38 -05:00
|
|
|
<item name="android:padding">5dp</item>
|
2015-11-24 12:45:53 -05:00
|
|
|
<item name="android:gravity">top|left</item>
|
|
|
|
<item name="android:smoothScrollbar">true</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
<item name="android:cacheColorHint">?android:attr/textColorHint</item>
|
2015-11-24 12:45:53 -05:00
|
|
|
<item name="android:fastScrollEnabled">true</item>
|
|
|
|
<item name="android:horizontalSpacing">0dp</item>
|
|
|
|
<item name="android:verticalSpacing">0dp</item>
|
2015-09-24 11:27:43 -04:00
|
|
|
</style>
|
|
|
|
|
2015-12-08 13:39:57 -05:00
|
|
|
|
2017-09-23 07:11:39 -04:00
|
|
|
<style name="Theme.Widget.CheckBox" />
|
2015-12-08 13:39:57 -05:00
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="Theme.Widget.CheckBox.Light" parent="TextAppearance.Regular.Body1.Light">
|
|
|
|
<item name="buttonTint">@color/md_white_1000</item>
|
2015-12-08 13:39:57 -05:00
|
|
|
</style>
|
|
|
|
|
2016-05-24 18:09:24 -04:00
|
|
|
|
|
|
|
<style name="Theme.Widget.SpinnerItem" parent="Widget.AppCompat.DropDownItem.Spinner">
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="android:textColor">?attr/colorOnSurface</item>
|
|
|
|
<item name="android:background">@drawable/list_item_selector</item>
|
2016-05-24 18:09:24 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-12 20:12:48 -04:00
|
|
|
|
|
|
|
<style name="Theme.Widget.Snackbar" parent="Widget.MaterialComponents.Snackbar">
|
|
|
|
<item name="android:background">@drawable/snackbar_bg</item>
|
2020-04-05 13:55:42 -04:00
|
|
|
<item name="android:textAppearance">@style/TextAppearance.Widget.Menu</item>
|
|
|
|
<item name="actionTextColorAlpha">1</item>
|
2020-03-12 20:12:48 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-15 12:58:48 -04:00
|
|
|
|
2020-03-29 13:58:30 -04:00
|
|
|
<style name="Theme.Widget.Chip" parent="Widget.MaterialComponents.Chip.Action">
|
|
|
|
<item name="chipStrokeWidth">1dp</item>
|
|
|
|
<item name="chipStrokeColor">?attr/colorAccent</item>
|
|
|
|
<item name="chipBackgroundColor">@android:color/transparent</item>
|
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
|
|
|
|
|
|
<!-- 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-03-15 12:58:48 -04:00
|
|
|
<!--=======================-->
|
|
|
|
<!--Widgets.TextInputLayout-->
|
|
|
|
<!--=======================-->
|
|
|
|
|
|
|
|
<style name="Theme.Widget.TextInputLayout.OutlinedBox" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
|
|
<item name="boxStrokeColor">@color/text_input_stroke</item>
|
2020-03-15 17:31:36 -04:00
|
|
|
<item name="hintTextColor">?attr/colorSecondary</item>
|
2020-03-15 12:58:48 -04:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Widget.TextInputLayout.OutlinedBox.Dense" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
|
|
|
|
<item name="boxStrokeColor">@color/text_input_stroke</item>
|
2020-03-15 17:31:36 -04:00
|
|
|
<item name="hintTextColor">?attr/colorSecondary</item>
|
2020-03-15 12:58:48 -04:00
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2017-09-29 02:34:13 -04:00
|
|
|
<!--==============-->
|
|
|
|
<!--Widgets.Button-->
|
|
|
|
<!--==============-->
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="Theme.Widget.Button" parent="Widget.MaterialComponents.Button.TextButton">
|
2020-03-22 18:43:16 -04:00
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
|
|
<item name="rippleColor">?attr/colorAccent</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
</style>
|
2017-09-29 02:34:13 -04:00
|
|
|
|
2020-03-22 18:43:16 -04:00
|
|
|
<style name="Theme.Widget.Button.Error" parent="Theme.Widget.Button">
|
|
|
|
<item name="android:textColor">?attr/colorError</item>
|
|
|
|
<item name="rippleColor">?attr/colorError</item>
|
2017-09-29 02:34:13 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-22 18:43:16 -04:00
|
|
|
<style name="Theme.Widget.Button.FilledAccent" parent="Widget.MaterialComponents.Button">
|
|
|
|
<item name="android:textColor">?attr/colorOnSecondary</item>
|
|
|
|
<item name="backgroundTint">?attr/colorAccent</item>
|
|
|
|
<item name="rippleColor">?attr/colorAccent</item>
|
2017-09-29 02:34:13 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-22 18:43:16 -04:00
|
|
|
<style name="Theme.Widget.Button.Outlined.Accent" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
|
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
|
|
<item name="rippleColor">?attr/colorAccent</item>
|
2017-09-29 02:34:13 -04:00
|
|
|
</style>
|
|
|
|
|
2020-03-12 20:12:48 -04:00
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<!--===-->
|
|
|
|
<!--OLD-->
|
|
|
|
<!--===-->
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="AlertDialogStyle" parent="Theme.MaterialComponents.Light.Dialog.Alert">
|
2016-03-12 08:22:40 -05:00
|
|
|
<item name="android:windowTitleStyle">@style/DialogTitleText</item>
|
|
|
|
<item name="colorAccent">?attr/colorPrimary</item>
|
2015-12-08 13:39:57 -05:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<style name="DialogTitleText">
|
|
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
|
2015-10-16 20:39:16 -04:00
|
|
|
</style>
|
2016-03-12 08:22:40 -05:00
|
|
|
|
|
|
|
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
|
2016-03-20 16:50:48 -04:00
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
2016-04-10 09:48:57 -04:00
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
2016-03-20 16:50:48 -04:00
|
|
|
<item name="colorButtonNormal">@color/colorPrimary</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
|
|
|
|
<item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
|
|
|
|
|
2016-03-20 16:50:48 -04:00
|
|
|
<item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
</style>
|
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="FilePickerAlertDialogTheme" parent="Theme.MaterialComponents.Light.Dialog.Alert" />
|
2015-11-24 12:45:53 -05:00
|
|
|
|
2015-11-20 20:27:34 -05: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-24 12:45:53 -05:00
|
|
|
|
2015-11-22 14:03:48 -05: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-24 12:45:53 -05:00
|
|
|
|
2015-09-24 11:27:43 -04:00
|
|
|
</resources>
|