Commit Graph

646 Commits

Author SHA1 Message Date
Jays2Kings
ddd2ebf286 Fix warnings in manga list item xml 2021-04-06 20:55:50 -04:00
Jays2Kings
bb31a16190 Add button to remove reading history in recents
As an alternative to long press (which in another commit can be removed)
2021-04-06 18:14:34 -04:00
Jays2Kings
0c66d3b8b6 UI Revamp of Recents
*Now Endless scrolling in ungrouped/history/updates
*Removed going to history/updates controller in grouped (will later be removed entirely)
*Always showing a header to switch modes, instead of using a filter button (which will later be replaced
2021-04-06 17:06:22 -04:00
Jays2Kings
0e62516777 Changing Add to/Change in library dialog to a bottom sheet
I just don't get tired of them.

This also has a button to add a new category

Also updating the snackbar when adding to library to show a "change" button to update the categories. In case you have a default category set
2021-04-05 21:07:59 -04:00
Jays2Kings
6d6766a86a
Double pages (#699)
* Start of dual pages

* Fixes to dual pages + added button to shift

Next to add a button to get out of this nightmare

* Adding preference to truly support on and off

* Set double pages correctly for L2R reading mode

* Hide shift double page in single page mode

also fix shift into or out of double pages not going to right page

* Shift page back on loading a new chapter

* Fix back shift when reaching near end of chapter with shifted pages

* Fix chapters not being marked as read when last pages are doubled

* more fixes

* change menu icon and verbage

* Fixed going to previous/next chapter when turning on/off double shift sometimes

* Fix shift icon for double page in R2L

* Adding double page as option in reader sheet

* Adding saving/share/setting cover for second page

* Add back page indicator

* RTL language support for current page in double mode

* Changing to double page always moves the current page to first slot

Also fix bad snap back from single to double or vice versa

* Reset shift icon when going to a new chapter

* Add Double pages to reader settings

* Add padding to current/total pages text

since it gets pretty long with double digits in double pages mode

* Option for automatic single/double layout based on orientation

With option to change mid read

* More fixes

* Lotta reworking to make this work

Lotta reworking to make this work

Seriously a lot of reworking to make this work

* Cleanup + Some documentation

Because I won't "know my own code"

I genuinely do not know what I just coded

* Swapped around icons for double page in chapter sheet bar

Since it was confusing even me

* Fix shifting not updating the ui, nor shifting back to the right page

* Fix changing chapters

* Fixed Prev Chapter transition page jumping back 1

* Fixed progress spinner for single page loading

* Fix the case of a second page shifting for full width while double shift is on

It would unshift the pages in this case, requiring another shift back

If this sounds confusing or complex, it's because it is

Also clean up

* Update Initial dual page bg to match reader bg theme

* More cleanup

* More cleanup + docs + refactoring

* String update

* more cleanup

* Update toolbar ripple based if the menu item is visible

* Fix more issues with shifting + next chapter's first page being a double

* Cleanup ChapterTransision Checks

* Always run shifting logic

* Even more optimizing

which hopefully didnt break something (prolly did)

(spoilers it did I had to undo this local commit)
(more spoilers it still will break again)

* Fix Retry in double mode

* Set gifs as fullpages

* Fix going from automatic to single/double page layout

* More cleanup, more comments

* Fix changing page layout when on a transition page for a manga with a single chapter

The edge cases you can find....man

* Restore shifted pages on activity recrreation

* Adding a "beta" tag to page layout

IMO it's absolutely solid and release candidate ready, but you can get away with so much by calling something a "beta" or an "alpha"
2021-04-05 14:55:22 -04:00
Jays2Kings
1f707141a6 Fix settings tracking crash 2021-04-02 21:44:01 -04:00
Jays2Kings
c43d5f01fa Collaspe chapter sheet when touching outside of chapter sheet
Which fixes the wonky logic when switching chapters in it
2021-04-02 00:32:29 -04:00
Jays2Kings
004b596671 Fix Browse sources padding 2021-03-31 17:36:52 -04:00
Jays2Kings
214a4d2e5a Removing progress dialog in reader
still needs some adjustments
2021-03-31 16:31:07 -04:00
Jays2Kings
965af17a2a Fix browse scrolling back to top
same with extensions + migrations
2021-03-31 16:28:53 -04:00
Jays2Kings
a6a2ef6399 More updates to move the chapter bar 2021-03-30 23:32:28 -04:00
Jays2Kings
538ad09754 Add button to collapse reader filters
Also adding gesture ignoring for custom brightness since its extremely close to the nav bar
2021-03-30 14:23:22 -04:00
Jays2Kings
b7b91f4230 Move Reader settings button to bottom settings sheet 2021-03-30 02:03:01 -04:00
Jays2Kings
21343225e3 Split Reader Bar
Taken from Neko

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-03-30 01:15:38 -04:00
Jays2Kings
89f4ad393b Binding Holders
I'm in absolute pain
2021-03-29 23:07:05 -04:00
Jays2Kings
ea3ea165aa Binding Sheets
And you know what being honest,
2021-03-29 22:22:54 -04:00
Jays2Kings
474e125d59 Rename library controller xml 2021-03-29 18:23:02 -04:00
Jays2Kings
fee50ce84d Cleanup categories item xml 2021-03-29 17:26:09 -04:00
Jays2Kings
96aa91e75d Binding for Browse Section 2021-03-29 17:25:10 -04:00
Jays2Kings
c92b1ce956 Remove id in browse controller
Can't use until its binded
2021-03-29 15:40:32 -04:00
Jays2Kings
cd2b348719 Fix crash on recents when using grouped 2021-03-29 15:40:14 -04:00
Jays2Kings
2e563d7d0c Rename SourceController and title to Browse 2021-03-29 14:47:42 -04:00
Jays2Kings
e2362a2f72 Truly binded all library views 2021-03-29 03:15:03 -04:00
Jays2Kings
0a36245177 Binding for Recents 2021-03-29 02:55:40 -04:00
Jays2Kings
7b91a8a23b Binding Reader Activity and reader view
i want to die.
2021-03-29 02:35:01 -04:00
Jays2Kings
57abbd6eda Reader Spinner Binding + rename
to MaterialSpinnerView (sorry arkon)
2021-03-29 02:14:47 -04:00
Jays2Kings
028ed3ea1e More binding for library (and some reader) views 2021-03-29 01:50:10 -04:00
Jays2Kings
fa01471728 Binding for manga details 2021-03-28 23:01:53 -04:00
Jays2Kings
bde20b8135 Converting main activity to binding 2021-03-28 22:24:52 -04:00
Jays2Kings
63c8775854 Binding for everything in library but activity 2021-03-28 21:41:22 -04:00
Jays2Kings
f28c2fcb99 Use CoordinatorLayout for manga details 2021-03-28 12:36:38 -04:00
Jays2Kings
3182e13a70 fixing reader pref dropdown text constraint 2021-03-27 21:43:00 -04:00
Jays2Kings
0247c93972 Move reader prefernce caret to the end of view
Based on tachiyomiorg@c4b975b7

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-27 21:42:01 -04:00
Jays2Kings
477db48b61 actually add ripple effect on the reader toolbar
I was pretty sure I committed this in c26c38ca3 but here we are

It was just square ripple at first, but adding a new drawable with padding
2021-03-27 20:32:42 -04:00
Jays2Kings
4fb120944c Fix snackbar in extension details 2021-03-27 18:02:07 -04:00
Jays2Kings
54a3767eb4 Removing Internal changelog
There's a lot of changes this release and I'm tired of writing them twice each time

Based on tachiyomiorg@88032e1

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-27 16:42:13 -04:00
Jays2Kings
58defbb5d2 Option to change cutout behavior in portrait
Back on my BS, but this was an uncommited change for months that I was too lazy to stash for release
2021-03-27 14:34:37 -04:00
Jays2Kings
854acb392d Adding tab ripple for all tab themes 2021-03-26 16:24:28 -04:00
Jays2Kings
b38327c58a Added "Add/Edit" Categories" button in library display sheet
People please. Just make some categories
2021-03-26 14:28:29 -04:00
Jays2Kings
9f7ec72cf9 Make extensions/migration tabs full width 2021-03-26 13:04:12 -04:00
Jays2Kings
28f5a6986f More fixes to category hopper 2021-03-26 02:20:30 -04:00
Jays2Kings
b7eebcef53 Fix shadow on category hopper 2021-03-25 22:04:12 -04:00
Jays2Kings
62158ac761 start bottom_view as hidden 2021-03-25 21:52:20 -04:00
Jays2Kings
14b04693c8 S-Pen support
Closes #678

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-03-25 01:38:28 -04:00
Jays2Kings
999247d7dd Added option to change navigation type for reader
Taken from upstream with some tweaks:
*Removed always show at start option
*"Left" and "Right" in reader overlay now say "Next" or "Previous" in LRNav
*Changing Inversion also shows navigation overlay
*Show new user the nav overlay the first time for both paged and webview (since j2k has auto webtoon)

Also unrelated, changed "page transitions" to "animate page transitions"

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-24 20:13:14 -04:00
Jays2Kings
6a5770b913 Rename custom reader spinner view 2021-03-24 17:29:52 -04:00
Jays2Kings
a2c7705d07 Refactoring Tabbed Sheets 2021-03-24 17:29:21 -04:00
Jays2Kings
fe2543b9d5 Reworking Reader Activity Menus
Reader settings sheet now in a tabbed layout
Reader settings sheet also contains filter options
Reader menu now holds the long tap options (Share, Save, Set as cover)
Reader menu also has option to go to manga details (was on toolbar tap)
Also has the option to jump straight to reader settings
Removing long tap gesture on Reader since no longer needed
2021-03-24 17:10:31 -04:00
Jays2Kings
d846033fcf More fixes for auto hide on library
Should be nearly perfect now
2021-03-24 01:57:04 -04:00
Jays2Kings
455ebb6fa4 Filters no longer show on first launch + option to always show hopper
option is on by default
+ renaming 3rd section to "Categories"
+ refactoring
2021-03-24 00:29:21 -04:00