Commit Graph

140 Commits

Author SHA1 Message Date
Soitora
0fb9ca3e8b
Added "Strawberry Daiquiri" theme (#5176) 2021-05-24 16:02:45 -04:00
Soitora
176e984b56
Add "Midnight Dusk" and "Hot Pink" themes (#5161)
* Organize and clarify themes file

Increases clarification with better commenting, should make it easier to add or modify current themes.

* Make AMOLED its own theme category

* Tweak ripples for AMOLED

* Add "Midnight Dusk" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add "Hot Pink" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>

* Make AMOLED a base theme

* Final tweaks

Rename "Toolbar.Light" to "Custom.PopupTheme"
Changes placing of backgroundDusk

Removes HotPink and MidnightDusk custom Toolbars, I believe they are unnecessary.

* Rename a Midnight Dusk color

* Make AMOLED independent from Dark as a theme

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
Co-authored-by: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>
2021-05-24 11:16:32 -04:00
Soitora
fed6f44995
Create a toolbar variable for ripples (#5159)
* Rename rippleNavColor to rippleSecondaryColor

It's not just for the navigation anymore

* Add a rippleToolbarColor for toolbar ripples

Fixes so you can use specialized colors in case of using a theme such as Dark Blue or Light Blue

* Add so text buttons are also themed secondary color

Apparently this is also a common Google app thing

* Changes variable name for Navigation Rail
2021-05-23 14:29:59 -04:00
Soitora
33dcdc1599
Ripples patch (#5144)
* Combine ripple_dark and ripple_light

Fixes AMOLED theme and doesn't require two seperate items.

* Fix ripple for the new About icons

* Fixes nav/tab ripple in Dark Blue and Light Blue themes

* Theme some ripples using their Style instead
2021-05-22 18:08:48 -04:00
Soitora
562dce60ee
Ripple overhaul (#5109)
* Create drawables for the ripples

Temporary colors in them to aid in unifying the ripples.

The 'ripple_circular' and 'ripple_normal' are probably going to be merge as one in the end.

* Change selectableItems to drawables

Changes 'selectableItemBackgroundBorderless' to 'ripple_circular' drawable.

Changes 'selectableItemBackground' to 'selectable_item_background' drawable.

* Add temporary colors to aid in finding unstyled ripples

* Fix button sizes to not make oval ripples

* Make the chip selectable follow ripple color

* Style using the built in rippleColor when possible

* Ripple away 💸

* Set ripple color for tabs

Main activity tabs as well as sheet tabs

* Set ripple color in seekbar buttons

* Fix ripple color for the toolbar

* Round off and start to finish the ripples

* Set custom colorful ripple for bottom navigation

Makes the app a little more fun than just black and white. Took inspiration from a ton of updated Google apps.

* Revert two layout changes

These were not necessary for the ripple as it is designed now, but it was before.

Co-authored-by: Andreas E <andreas.everos@gmail.com>
2021-05-22 11:55:05 -04:00
arkon
89619b7836 Drop support for Android 5.x 2021-04-27 09:29:05 -04:00
Ivan Iskandar
ad57fde1c5
Themes cleanup (#4894) 2021-04-18 11:29:56 -04:00
Ivan Iskandar
1f729f1cb3
Add navigation bar scrim (#4845)
* Revert "Add navigation bar scrim (closes #4836)"

This reverts commit 2a69d1b0

* Add navigation bar scrim
2021-04-15 09:55:39 -04:00
arkon
a4e5e3ece5 Use accent color for edge effect 2021-04-13 22:48:39 -04:00
arkon
f4f1efe5fa Disallow forced dark mode, such as MIUI's 2021-04-13 08:51:08 -04:00
Ivan Iskandar
f3660d88dd
Draw edge-to-edge (#4802) 2021-04-10 09:38:55 -04:00
arkon
f7a6cbe5e2 Revert "Drop support for Android 5.x"
This reverts commit 443024cebb. Guess I'll do this a bit later so scb can get another major update first.

April Fools or whatever.
2021-03-31 22:20:59 -04:00
arkon
443024cebb Drop support for Android 5.x
It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
2021-03-30 23:15:17 -04:00
arkon
112e233498 Use Material dialogs for preferences
Partially addresses #2907
2021-03-13 18:00:24 -05:00
arkon
18b1326f3a Tweak dialog corner radius 2021-03-13 17:18:22 -05:00
arkon
6662e2002f Rounded bottom sheets 2021-02-01 22:23:29 -05:00
arkon
eaccfdde59 Replace circular ProgressBars with Material component 2020-12-26 11:24:10 -05:00
arkon
a8e536478c Replace ProgressBars with Material component 2020-12-26 10:40:45 -05:00
arkon
d548c690d6 Fix transparent navbar when bottom sheets are opened (fixes #3848) 2020-11-22 15:49:57 -05:00
arkon
2695bdddf8 Fix non-transparent navigation bar 2020-11-20 22:28:06 -05:00
arkon
972a595c74 Color selected tab with accent color when theme isn't blue 2020-09-26 19:18:58 -04:00
arkon
4929e66ecc Update ActionMode styling 2020-08-22 12:36:29 -04:00
arkon
d8f4e6b45f Don't capitalize buttons (closes #3454) 2020-07-12 22:20:37 -04:00
arkon
526e029ebb Update some themes 2020-06-13 15:34:55 -04:00
arkon
f5a44245e9 Update SwipeRefreshLayout 2020-06-10 23:01:47 -04:00
arkon
c4ca3606ad Slightly simplify AMOLED theme definition 2020-05-15 09:22:01 -04:00
arkon
3b45fcdb21 Use borderless buttons everywhere for consistency 2020-05-07 22:24:30 -04:00
arkon
1ab07d169d Add gray reader background option (closes #3019) 2020-05-01 21:40:36 -04:00
arkon
4da760d614 Simplify outlined button style name 2020-04-25 12:02:14 -04:00
arkon
ab97de2763 Set default textInputStyle (fixes #2926) 2020-04-22 21:24:43 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
arkon
01dd46c5ed Remove unused widget styles and animations 2020-04-19 12:23:37 -04:00
arkon
bcde4337ac Replace colorPrimaryDark with colorPrimaryVariant 2020-04-17 18:32:27 -04:00
arkon
135e55fe27 Fix switch style in reader settings sheet (fixes #2784) 2020-04-11 11:29:55 -04:00
arkon
7c7d40ea44 Fix status/navigation bar colors (fixes #2858) 2020-04-10 18:07:09 -04:00
arkon
9c44cae5b8 Tweak dark theme snackbar (closes #2699) 2020-04-05 13:55:42 -04:00
arkon
912629c2dc Replace TagGroup library with Material chips 2020-03-29 14:11:13 -04:00
arkon
e86103fdcc Tweak error button appearance 2020-03-29 12:10:36 -04:00
arkon
5fd1865504 Remove elevation overlay 2020-03-24 18:18:10 -04:00
arkon
3f4140900d Tweak button styles 2020-03-22 18:43:16 -04:00
arkon
3f88a67865 Fix webview close button tinting 2020-03-15 16:52:27 -04:00
arkon
ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
arkon
e41edc1fb7 Pure white light theme 2020-03-15 11:36:38 -04:00
arkon
e77db309b8 Move filter icon tint color to resources 2020-03-15 11:05:11 -04:00
arkon
04bbc764a0 Match status/nav bar color with toolbar 2020-03-14 13:42:41 -04:00
arkon
9deaff9181 Dark snackbar in dark themes (fixes #2699) 2020-03-12 20:12:48 -04:00
arkon
b9ea6e8d96 Fix common toolbar popup menu text color (fixes #2695) 2020-03-12 19:14:43 -04:00
arkon
231771e16c Prune inherited/add missing base theme attributes 2020-03-12 18:59:42 -04:00
arkon
5b8308b3d2 Fix list divider color in dark themes 2020-03-12 18:59:13 -04:00
arkon
f91f9c4862 Remove letter spacing from buttons (fixes #2696) 2020-03-12 18:58:21 -04:00
arkon
24b848faac Fix reader background color (fixes #2694) 2020-03-12 18:27:19 -04:00
arkon
7d0ea614da Migrate to MaterialComponents themes 2020-03-11 22:59:37 -04:00
arkon
c275adbb91 Remove chapter item popup menu 2020-03-07 23:00:29 -05:00
arkon
fbaaed1516 Match status/nav bar to reader toolbar color 2020-03-07 17:08:11 -05:00
arkon
11544fe8ef Migrate to bottom navigation 2020-02-25 22:31:54 -05:00
arkon
c694160c9c Minor layout tweaks for better RTL support 2020-02-21 18:41:37 -05:00
arkon
3bce3502d2 Dark mode splash screen (closes #2540) 2020-02-18 22:13:45 -05:00
arkon
f9098b5379 Restrict translucent reader UI to API 26+ (fixes #2580) 2020-02-09 22:59:03 -05:00
arkon
a5fadcda15 Translucent reader UI 2020-02-09 17:10:35 -05:00
arkon
578bab5fdd
Use black background for AMOLED theme cards, dialogs (#2422) 2020-01-20 21:34:47 -05:00
MCAxiaz
7f5e650796 Bug/2513 edit text preference crash (#2522)
* use themedContext for preference

* use inflater with themed context
remove icon space

* v14 preferenceThemes are deprecated
2020-01-20 18:37:42 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00
arkon
cd90702fe5 Fix splash screen status bar color 2020-01-11 10:41:16 -05:00
arkon
797553ce16
Convert webview into an activity (#2470)
Based on 65804ebb3a
2020-01-10 22:22:12 -05:00
arkon
ba9f6fef99
Tweak splash screen color, set nav bar to match (#2476)
Tweak splash screen color, set nav bar to match
2020-01-10 08:11:10 -05:00
arkon
07caea8b4e Clean up splash screen code 2020-01-09 18:29:36 -05:00
arkon
0d5099f230
Drop support for Android 4.x (#2440)
* Bump minSdkVersion

* Remove Android 4.x specific logic

* Consolidate res assets

* Add note about minimum Android version to README

* Restore incorrectly removed method, remove unneeded Lollipop TargetApi annotations
2020-01-07 18:46:31 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
inorichi
2c4fd340c8 Restore dark blue theme. Closes #1302 2018-10-27 19:10:11 +02:00
inorichi
18f89cc341
New reader (#1550)
* Delete old reader

* Add utility methods

* Update dependencies

* Add new reader

* Update tracking services. Extract transition strings into resources

* Restore delete read chapters

* Documentation and some minor changes

* Remove content providers for compressed files, they are not needed anymore

* Update subsampling. New changes allow to parse magic numbers and decode tiles with a single stream. Drop support for custom image decoders. Other minor fixes
2018-09-01 17:12:59 +02:00
Bram van de Kerkhof
2159b72e69
Dialog color fix (#1308) 2018-03-14 18:01:30 +01:00
Sai
fcdb80830b New colors + theme attrs (#1272)
* New colors + theme attrs

Added new colors.xml values and modified some themes.xml fields for more customisability when switching between themes.

* Small fix for dialogs

It should look more distinguishable for the Dark theme now
2018-03-10 20:17:26 +01:00
Bram van de Kerkhof
bfd46f28e0 Reversed some things from AMOLED update (#1015) 2017-10-01 10:44:48 +02:00
Bram van de Kerkhof
9b40d10352 Improved AMOLED theme. Added Button style for borderless buttons. (#1009)
* Improved AMOLED theme. Added Button style for borderless buttons. Some UI improvements.

* Deleted unused drawables from app.
2017-09-29 08:34:13 +02:00
Bram van de Kerkhof
75cb94b51a Fix tint on AMOLED theme (#966)
Fix tint on AMOLED theme
2017-08-30 21:50:19 +02:00
inorichi
ff190e02d4 Preferences with conductor (#792)
* Settings with conductor WIP

* Add downloads preference controller. Implement source/track login

* Improve settings controllers

* Backup settings controller

* Delete preferences xml

* Remove keys from xml

* PreferenceKeys is now an object

* Remove now unused dependency
2017-05-14 00:45:14 +02:00
Bram van de Kerkhof
2118434823 Initial AMOLED theme + some CardView fixes (#787)
* Initial AMOLED theme + some CardView fixes

* small fix
2017-05-07 12:36:25 +02:00
len
10a1ba95d6 Support API 25 again. Bump dependencies 2016-11-05 19:28:47 +01:00
len
e375101132 Revert "Support API 25. Use new DividerItemDecoration."
This reverts commit 05b14bae7b.
2016-10-22 21:42:48 +02:00
len
05b14bae7b Support API 25. Use new DividerItemDecoration. 2016-10-22 20:21:25 +02:00
len
11ac4df5d7 Bump dependencies, remove unused resources 2016-09-29 19:53:59 +02:00
inorichi
05c0516a57 New reader menu (#368) 2016-06-27 16:46:31 +02:00
len
9beeca652f Rewrite preferences with a modified support library v7 2016-06-16 20:52:51 +02:00
Bram van de Kerkhof
86db7497e9 Small card fixes (#338) 2016-06-07 20:36:40 +02:00
Bram van de Kerkhof
172305fc6a Wrong card background fix + bump gradle version (#337) 2016-06-07 20:14:36 +02:00
Bram van de Kerkhof
26f4f53ec2 Fixed spinner + improved ripple (#310) 2016-05-25 00:09:24 +02:00
NoodleMage
575eaee1d2 UI tweaks 2016-05-19 16:29:25 +02:00
len
81d39ea272 Remove unused attrs and colors. Theme preference dialogs on API >= 21 2016-04-10 17:34:10 +02:00
len
936ede9aba Light and dark theme are now using different accent colors 2016-04-10 15:48:57 +02:00
NoodleMage
5ef5f9b45f Rewrote Theme 2016-03-17 20:01:52 +01:00