Commit graph

1067 commits

Author SHA1 Message Date
arkon
eac2301e76 Fix manga info expand button background
(cherry picked from commit 917a283bd1562a7410cef1df281cbd1f56e59fa5)
2021-09-12 14:42:57 -04:00
Ivan Iskandar
4a93a93839 Reuse reader's image view in MangaFullCoverDialog (#5824)
* MangaFullCoverDialog: Support animated drawable

* Scaled zoom duration

* Wrap reader's image view to be reused in MangaFullCoverDialog

* Cleanups

* Forgot animated stuff for webtoon view

* Cleanups

* Oopsie

* Cleanups

* Consistent max scale for SubsamplingScaleImageView

The max scale will be obtained from the default scale times 3 for
consistent 3x zoom scale.

(cherry picked from commit 746d35b52be76b1ba75be62cdc1192a769fb9661)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
2021-09-12 14:42:13 -04:00
Jobobby04
fcf6776fe4 Fix expander color 2021-09-12 12:09:11 -04:00
Andreas
cf742c65aa Remove the remaining MotionLayout (#5854)
* Remove the remaining MotionLayout

* Use ImageButton instead of Blank View to handle taps in dead area

And some tweaks

(cherry picked from commit abdb67a123d714401ede9760dfae797f37bb8c56)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/xml/manga_summary_section_scene.xml
2021-09-06 16:40:35 -04:00
arkon
336727e01a Adjust padding of themes preference
(cherry picked from commit 6b1f13075093f4c296ca08a470b49c57cffde54b)
2021-09-06 16:39:02 -04:00
arkon
6f36675113 Avoid multiline library badges
Related to #5725

(cherry picked from commit bde4c0a648d06b1b0c5d2e32da8f852a2ddf0277)
2021-09-06 16:39:02 -04:00
Soitora
88f9fb2b88 Remove autoSizeText (#5850)
Apparently it produces unexpected results in combination with 'wrap_content'.

(cherry picked from commit 7ed8de2ef4910553fe1ce4896dd5e63d64ba7b34)
2021-09-06 16:38:52 -04:00
Soitora
d294bc0b2a Add status icons to manga info (#5832)
* Add icons to manga status

* Slightly better formatting

Mixed in with a dose of syntactic sugar

* Remove unnecessary lines

I think they are, at least

* Change according to review comments

- Fix forgotten Tablet code removal
- Change 'android:background' to 'app:srcCompat'

* Adjust size of icon

Smaller and more fitting to the environment

(cherry picked from commit d935e22f0df88d59e6e527cbc3db5dd7d908df35)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-09-03 15:28:00 -04:00
Jobobby04
ce39d6ec25 Fix metadata view 2021-09-01 18:41:13 -04:00
arkon
aa144603e2 Use ShapeableImageView for rounded thumbnails instead of Coil transformations
(cherry picked from commit 0e26abf7a63e7d9a9e719ae9e25483c5a6d9b21f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
2021-09-01 18:41:11 -04:00
Soitora
7e0082b6f9 Improve placement of manga title section (#5796)
Also makes content expand logically through the help of constraint barriers.

(cherry picked from commit 59aef13200c8839a92be7eb40cd6b4401f4b6353)
2021-09-01 18:41:10 -04:00
arkon
b530216f21 Clean up reader action sheet layout
(cherry picked from commit 333c035fede73d0baca6550d8ce020ffb28f877c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt
#	app/src/main/res/layout/reader_page_sheet.xml
2021-09-01 18:41:04 -04:00
arkon
091049cda9 Update save icon
(cherry picked from commit 70e5361146655873b5be1587cfd53304cc4f1a24)
2021-09-01 18:41:04 -04:00
Andreas
74437e6809 Replace MotionLayout with full screen dialog (#5806)
* Remove MotionLayout and add full screen dialog for enlarged cover

* Address some of the review comments

(cherry picked from commit e7d6dfff530db08a8380e68425b9f9d11da497cb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/res/xml/manga_info_header_scene.xml
#	app/src/main/res/xml/manga_info_header_scene_sw720dp.xml
2021-09-01 18:41:03 -04:00
arkon
b045ee1ba6 Tweak theme preference item UI
(cherry picked from commit 77c0a93ac6dfdfece022928d48464630ee5e46b2)
2021-09-01 18:41:02 -04:00
Ivan Iskandar
8875c3f9bb Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text input when incognito is enabled (#5801)
* Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text input when incognito is enabled

Tested with Gboard only.

* Revert "Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text input when incognito is enabled"

This reverts commit 068399db

* Add IME_FLAG_NO_PERSONALIZED_LEARNING flag to text inputs when incognito is enabled

Source preference is not affected.

* Source preference stuff

(cherry picked from commit 3ea84cf0ce23d37a1787663834ab9922f10577f8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesController.kt
2021-09-01 18:41:01 -04:00
arkon
8d757ff37a Clean up track button changes
(cherry picked from commit 925f71af15b777d436cb1f8f7f00f3eae817ec76)
2021-09-01 18:41:00 -04:00
OncePunchedMan
6deab45e80 Tracking: replace tick with button (#5768)
* make check only visible after selecting an item

* replace tick with button and send to bottom

* fixed button visibility

* grey btn out

* resolving some bits

* removing the tick from appbar

* remove useless lines, appl insetter

(cherry picked from commit c666dd623d2efdac2ec5a853cd5761a97ef6fd3a)
2021-09-01 18:40:59 -04:00
arkon
f2a8ee3c20 Tweak theme preference item UI (closes #5805)
(cherry picked from commit edcfa28b0b01dae7718b656b9ad4aa30b26227d9)
2021-09-01 18:40:57 -04:00
Soitora
5b18769f70 New manga info expander (#5771)
* Replace "More" with Arrows

We used to have arrows but it was set away from the description which took a lot of space.

It was changed to "More" text, but with the recent design changes I think it'd look better to get a mix between them both.

* Properly align icons

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

* Expand support to Tablets

Get it... expand... hehe 😎

* Fix expanded width

Also fixes so that the constraint for the toggleLess is dependant on the right thing

* Give info toggles its own space

Uses its own margin now to push info rather than just being attached as a info margin.

* Remove weird duplicates I did not add

I did not add these but I don't see a reason to keep dupes

* Add bottom scrim

* Change to centered arrow under info

Anyone wanna experiment/build on top off then feel free to tweak

* Add background glow to icon for contrast

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
Co-authored-by: Andreas <andreas.everos@gmail.com>
(cherry picked from commit 57aefcd9176450c6413d8e34482fb6c57d120498)

# Conflicts:
#	app/src/main/res/drawable/manga_info_more_gradient.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/xml/manga_summary_section_scene.xml
2021-08-27 12:51:02 -04:00
arkon
ae392192f2 Update app theme preference UI
Heavily influenced by TachiyomiJ2K.

(cherry picked from commit 6240fe1dfc9615b0be4bee6e54070e9d21a68b87)
2021-08-27 12:51:00 -04:00
arkon
a9a8e44ef6 Make nav overlay non-clickable (maybe fixes #5727)
(cherry picked from commit beb7f909089fb43cce519ea8e2b17926030c1555)
2021-08-27 12:50:59 -04:00
arkon
3fdd433d89 Update tracker services logo layout (closes #5625)
(cherry picked from commit 7094fef37f32c3c598c1808161a59085d27b26d3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt
#	app/src/main/java/eu/kanade/tachiyomi/widget/preference/LoginPreference.kt
#	app/src/main/res/layout/pref_widget_imageview.xml
2021-08-27 12:50:58 -04:00
Soitora
6d0f620629 Bold author and artist fields (#5770)
(cherry picked from commit 11926014daf1aed1b7125951c0464aedf63a64e3)
2021-08-27 12:50:56 -04:00
Andreas
6d8ab85ef5 Tweak MangaInfoHeader (#5766)
Make margin between transparent toolbar and cover more match 1.x
Fixes from when view was redone with MotionLayout

(cherry picked from commit 72002c13d6e37d073a33d0061045d0fafb323296)

# Conflicts:
#	app/src/main/res/xml/manga_info_header_scene.xml
2021-08-27 12:50:56 -04:00
arkon
015327829d Minor cleanup
(cherry picked from commit b8ea57e097f26403171ac70e90fd67cfb8f7aec0)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt
2021-08-27 12:50:51 -04:00
Ivan Iskandar
acbc4c48fa Edge-to-edge manga details view (#5613)
* Prepare for edge-to-edge MangaController

* Fix derpy liftToScroll with our own implementation

* Edge-to-edge MangaController

Except when legacy blue theme is used.

* Save app bar lift state for controller backstack

* Fix expanded cover position after the view recycled

* Handle overlap changes when incognito mode disabled

* Tablet fixes

* Revert "Handle overlap changes when incognito mode disabled"

This reverts commit 1f492449

Breaks on rotation changes.

* Fix MangaController's swipe refresh position

* All controllers are now doing lift app bar on scroll by default

They are already doing that before so this pretty much just a cleanups.

* TachiyomiCoordinatorLayout: Support ViewPager for app bar lift state check

I'm willing to revert this if this minute detail solution is deemed too hacky xD

* Fix app bar not lifted when scrolled without fling

* Save app bar lift state across configuration changes

* Fix MangaController's swipe refresh position after configuration change

* TachiyomiCoordinatorLayout: Update ViewPager reference when controller is changed

(cherry picked from commit da16110e1c571526baea34275db41937f68c7e8c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/ConductorExtensions.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
2021-08-27 12:50:47 -04:00
Ivan Iskandar
32fa99377d ReaderTransitionView: Use context theme color for texts (#5738)
* Put themed reader context in adapter

This avoids creating themed context everytime the page holder is created, this
also allows the transition view to use the same themed context.

* Check against app night mode to create themed reader context

* ReaderTransitionView: Use context theme color for texts

The whole reader will need to be recreated when changing reader background while
webtoon mode is used, because recreating just the RecyclerView without messing
up the scroll position is impossible (I hope I just missed something).

(cherry picked from commit 914b686c8eaf3954e291355975532eb28662c38c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
2021-08-27 12:50:47 -04:00
Jobobby04
14be5c75ee Fuck motion layout 2021-08-27 12:50:45 -04:00
Hunter Nickel
dc56b47e16 Add toggle to invert page color in reader color filter settings (#5713)
(cherry picked from commit 4c8dfd0c0cad40c1412d211cd40355f86152559b)
2021-08-27 12:50:40 -04:00
arkon
6857f35910 Don't allow focus on ReaderNavigationOverlayView (maybe fixes #5555)
(cherry picked from commit 2256030a2ad0f59bdb335bb1fe7cb18b041337fc)
2021-08-27 12:50:38 -04:00
Zakhar Timoshenko
655298f44c Fix selector in search card item (#5711)
(cherry picked from commit feca30d7ed352c609a1563f09fa5fe8804451118)
2021-08-27 12:50:35 -04:00
Ivan Iskandar
374ecde463 Use correct color for reader loading indicator (#5685)
* Revert "Revert "Use correct color for reader loading indicator (#5645)" (fixes #5669)"

This reverts commit a4eba50c

* Fix crash on older APIs

(cherry picked from commit 5e77ae208da1c21eb58f1eb092ac1e9f3151c14a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
2021-08-27 12:50:33 -04:00
arkon
98dfec8fdf Replace AboutLibraries activity with custom controller
(cherry picked from commit 1d10d29fa94f3c22a6e59861c4e1951cdd11dd18)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
2021-08-27 12:50:31 -04:00
arkon
b01e48752d Remove explicit CardView dependency
(cherry picked from commit cd73c30d6f9f96ecd4ac9ebfc475d99f336ab3c8)
2021-08-27 12:50:31 -04:00
Jobobby04
f5645a8382 Revert "Use correct color for reader loading indicator (#5685)"
This reverts commit de698fc2334030faeddc787ac3b224f4bc32d316.
2021-08-27 12:50:28 -04:00
Ivan Iskandar
a90f99c445 Use correct color for reader loading indicator (#5685)
* Revert "Revert "Use correct color for reader loading indicator (#5645)" (fixes #5669)"

This reverts commit a4eba50c

* Fix crash on older APIs

(cherry picked from commit 5e77ae208da1c21eb58f1eb092ac1e9f3151c14a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
2021-08-27 12:50:26 -04:00
Jobobby04
478d7f989d Improve Hitomi tag list 2021-08-27 12:50:03 -04:00
Riztard Lanthorn
c613784fc4
fix toolbar btn color (#395)
* fix prev btn color in vert seekbar

* fix migration button color

use colorOnToolbar instead of colorOnPrimary
2021-08-16 23:01:41 -04:00
Ivan Iskandar
c177b4516e Fix list scrolling on quad-state dialog (#5602)
(cherry picked from commit 00ac632d8f8a612f3b7479faabdea2c388faeb99)
2021-07-25 14:22:29 -04:00
Ivan Iskandar
641ad196f9 Reader loading progress indicator changes (#5587)
* Use CircularProgressIndicator on PageHolder

Manually rotate the CircularProgressIndicator inside a wrapper view instead of
drawing our own custom indicator.

* Use CircularProgressIndicator on TransitionHolder

(cherry picked from commit 6ba779fb7ae014d1f6e23d46cabf8c633d279d8e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-07-22 15:47:45 -04:00
Soitora
6e45ed3c1d Make incognito bar use primary colors (#5558)
Looks better than the odd forced gray used for all themes

(cherry picked from commit 4ce4ee3c007a500cfb3833b5dda87af812bfd814)
2021-07-18 20:20:33 -04:00
Soitora
a17747e2b4 Added "Tako" theme (#5546)
* Added "Ninomae" theme

Based on the lovely Ninomae Ina'nis, for Arkon and Flat

* Use updated colors from Ghostbear

Adapted after feedback

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

* Tweak the Ninomae theme further

* Sort themes alphabetically

- Sorts themes alphabetically.
- Use the same capital word system in colors.xml for themes.xml as well.
- Rename AMOLED theme to AMOLED mode in theme.xml and color.xml references.

* More tweaks

* Style incognito bar

Uses a dark purple which looks super clean instead of a washed out gray

This sets the groundwork for other themes too

* Tweak final onPrimary color

* Rename Ninomae to Tako

RIP

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
(cherry picked from commit 0d62aedfbb183fbe7c1a4886ed7505c5ce6c8518)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
2021-07-18 20:20:26 -04:00
Ivan Iskandar
d4993d1b71 Replace material-dialogs usage with Material Components' (#5423)
* Use Material Components' dialogs

For all dialogs that has direct replacement.

* Convert text input dialogs

* Convert quad-state multi choices dialogs

* Convert date picker dialogs

This also changes the flow to remove selected start/finish tracking date and
the track item itself

* Remove material-dialogs dependencies

(cherry picked from commit ae97bb04458c6a754c6e0ca05a2a3b96ce16894f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/WhatsNewDialogController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsDownloadController.kt
2021-07-18 20:15:30 -04:00
Jobobby04
b49c64d4ff Cleanup 2021-07-07 20:37:14 -04:00
Jobobby04
aaad902d6a Fix filter theme 2021-07-07 16:00:34 -04:00
Jobobby04
bfb018d1b4 Fix migration menu icons 2021-07-06 17:08:50 -04:00
Jobobby04
211e0912a3 Fix intercept activity toolbar 2021-07-06 17:01:52 -04:00
Jobobby04
2173a83196 Fix E-Hentai browse images being compressed 2021-07-04 14:53:52 -04:00
Jobobby04
74c94b9879 Small reader fixes 2021-07-04 14:49:41 -04:00
Jobobby04
c9438d55e0 Fix words dissapearing 2021-07-03 22:49:12 -04:00
Jobobby04
33c48412be Multiple bugfixes for the reader, includes double page and chapter buttons 2021-07-03 22:37:25 -04:00
arkon
3ee68f5127 Fix some views being click-through-able
(cherry picked from commit fe3b36caebda84ab61753f32d5f112f1c7c12654)
2021-07-03 18:59:20 -04:00
Ivan Iskandar
30f478ea80 Track search dialog adjustments (#5479)
* Add clear text button to track search dialog text input

* Track search item adjustments

(cherry picked from commit 64b1c9636b5d3f463754a5d0bf84366cee1cd078)
2021-07-03 18:59:03 -04:00
Ivan Iskandar
ad2bbd0e3c Merge light and dark themes (#5470)
* Merge AMOLED and regular dark themes

This allows all variants of dark themes to use black backgrounds as a
separate preference.

* Merge light and dark themes

* Fix ReaderSeekBar color on Dark Blue theme

* Color fixes

* Fix Dark Blue bars ripple

* Simplify night mode check

(cherry picked from commit 0eadc028b6f9daf38cae083cfdc2ff44a1836623)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
2021-07-03 18:55:12 -04:00
simakover
c123df4637
Add Migrate button marginTop and implement Hide not found manga for mass migration (#372)
* Add Migrate button marginTop and implement Hide not found manga in mass migration

* if else change

* move variable to adapter

* horizontal scroll view for checkboxes in migration_bottom_sheet.xml
2021-06-29 00:06:55 -04:00
Ivan Iskandar
b7b1175207 Tracking sheet and search adjustments (#5427)
* Tracking sheet and search visual adjustments

* Remove track item divider

* Add start margin to "add tracking" button

* Fix track search dialog crash when no item chosen

* Show "remove" action only when track item is previously set

* Remove placeholder for total chapters

* Cleanups

* Add track search error/empty result message

* Make track search dialog fullscreen

* Use AutofitRecyclerView for track search dialog

* Fix text input overlapping

* Run track search from IME action instead

* Remove deprecated method

* Reformat

* Set track search error message on the placeholder

* Use payload to notify track search item change

* Fix track search action icon tint color

(cherry picked from commit cb71d44024816780ba7e0110099a766bdc47f74a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt
#	app/src/main/res/values/styles.xml
2021-06-28 14:38:36 -04:00
Ivan Iskandar
da0b4bb94a Reader fixes after #5450 (#5465)
* Fix ReaderActivity system bars behavior

* Fix ReaderActivity transition view text color

* Don't change reader navbar color when windowLightNavigationBar is not available

(cherry picked from commit e2cf15785766f5a386c536154d055e18970adfac)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-06-28 14:23:47 -04:00
Jobobby04
417c345946 Fix manga info 2021-06-28 00:16:22 -04:00
Andreas
6f6e6ad326 Sort per category (#5408)
* Add flags for sorting per category

* Add logic to LibrarySettingsSheet

* Add  logic to LibraryPresenter

* Minor tweaks

* Use enum instead of variables

Also deprecates LibrarySort in favour of the new enum classes

* Remove debug log and suppress deprecation

* Convert DisplayMode setting to enum

Also fix bug were adapter would get de-synced with the current per category setting

* Fix migration crashing app due to values being access before migration

(cherry picked from commit 60890147c3c24ac30a75bfb8c4fab7b8cccd60be)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/data/database/models/Category.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-06-26 22:41:34 -04:00
Ivan Iskandar
32e7750b7d Match ReaderActivity theme with the rest of the app (#5450)
* Match ReaderActivity theme with the rest of the app

* Fix viewer inset when fullscreen reader is off

* Fix incorrect toolbar color after recreate

* Remove animated inset

* Move isDarkMode to PreferencesHelper

(cherry picked from commit 64c95305b9831762cc0be72f7ab47b006da07fa8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/res/layout/reader_activity.xml
2021-06-26 22:38:56 -04:00
Soitora
2975acd8db Add favorited badge to browse and search (#5440)
(cherry picked from commit 88fd799a3069ac28dd667e84383662a103c0c12a)
2021-06-26 22:38:55 -04:00
Ivan Iskandar
a59168f8b6 Fix issues on older API versions and tablets (#5433)
* Fix tablet's navigation rail and toolbar color

* Fix tracking sheet crash on older APIs

* Fix settings crash on older APIs

(cherry picked from commit c3fb5af3fcbeee4f3579435b832907d8165cb42e)
2021-06-26 22:38:54 -04:00
Ivan Iskandar
f61bbfa77a More themes cleanup (#5410), remove AMOLED Blue
* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
(cherry picked from commit 932c92412c29fe4a8d1410d29a6e77557ad48707)

# Conflicts:
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/menu/library_selection.xml
#	app/src/main/res/menu/reader.xml
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/dimens.xml
2021-06-26 22:38:53 -04:00
Jobobby04
2b4cdfaee4 Support autofill for tracker logins 2021-06-13 20:00:53 -04:00
Jobobby04
447ddfd8d5 Support autofill in source login dialog 2021-06-13 16:15:04 -04:00
Soitora
60704ad3a7 Improvements to the new library item selectors (#5379)
* Increase card selector radius

* Add themed overlay to library selector

(cherry picked from commit 4dfb3cc972de12f3c6eacee0ddd7716a5d28794e)
2021-06-13 14:35:29 -04:00
Ivan Iskandar
963b85f756 Add background to draggable items (#5353)
(cherry picked from commit 73e5e9ecd9f39af88183eaadc2832e8d8b87063e)
2021-06-10 16:44:58 -04:00
Soitora
341543da24 Add ripple to history items (#5341)
- Replaces margin with padding.
- Adds the drawable ripple background.
- Changes height to match the padding so it doesn't look odd.

(cherry picked from commit 3d58b780628733d78f4867055fe77eb7f7530f50)
2021-06-10 16:40:38 -04:00
Andreas
89249c9895 Added category-wise display setting (#5232)
* Added category-wise display setting

Co-authored-by: Rogavactive <30288842+Rogavactive@users.noreply.github.com>

* Use flag instead of preference

* Remove database call in LibraryItem

* Remove unnecessary code

Co-authored-by: Rogavactive <30288842+Rogavactive@users.noreply.github.com>
(cherry picked from commit a906e9b302f4aa4ce0d5c30b2a52d266b44eaaf5)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/models/Category.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySettingsSheet.kt
2021-06-05 16:07:57 -04:00
arkon
88102b9705 Add share and save cover actions (closes #3011)
(cherry picked from commit 281a3911f69b96050bae4b232af94ca3671b92ae)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
2021-06-03 13:59:08 -04:00
Jobobby04
503ecb8076 Rename the reader chapter sheet to a dialog 2021-06-02 17:39:25 -04:00
Soitora
4fdb19d002 Add better library item selectors (#5240)
* Add better library item selectors

Inspired by the J2K method of library item selection.

* Tweak theme selection colors

It was missing for Hot Pink and Midnight Dusk.

The selector color is 75% alpha of the color accent, this looked fitting for all themes.

(cherry picked from commit 88d9ffe92e41ab8a4d24655a32aa87a20ee8bd01)
2021-06-01 21:09:18 -04:00
Jobobby04
ef02bd112c Fix some string references 2021-05-31 23:44:15 -04:00
Ivan Iskandar
7d659f559e Adjust chapter download button visual (#5213)
* Removed the blinking icon and added back the indeterminate indicator for
queued items
* Make the downloading indicator a solid circle

(cherry picked from commit 9de07c11a624072a8ce7e13721103a06078dee67)
2021-05-29 18:18:10 -04:00
Jobobby04
3a20e24ad0 Fix some drawable references 2021-05-29 18:17:54 -04:00
Soitora
84076c2582 Add animations for Bottom Navigation items (#5181)
* Animated icon for the Library tab

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

* Animated icon for the More tab

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

* Rename more_vert to overflow

Should maybe help any confusion together with the other more_horiz changes.

* Animated icon for the History tab

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

* Clarify names and clean files

* Animated icon for the Updates tab

* Animated icon for the Browse tab

* Recreate the animated icon for the History tab

History icons look better when the internal clock is not moving.

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
(cherry picked from commit aed6e12119b1b71710a4dd4139e776ca63b4636c)
2021-05-29 17:57:44 -04:00
Jobobby04
9fa278f708 Fix SY themes a bit more 2021-05-28 14:36:53 -04:00
Soitora
a93129c4f2 Allow themes to style more objects (#5197)
* Add Tertiary color and use it for Badges

* Define ripple color for Material Dialog

Although it doesn't do anything, but it should

* Add tertiary colors for Green Apple theme

* Use the correct theme accent in AlertDialog

* Declare a global colorControlHighlight

Fixes some of the ripples listed on #5154.

* Change md_ripple_color to primary ripple color

(cherry picked from commit 11a232a2dfd42094ebabba1a1c02997931fcdd10)
2021-05-28 14:36:51 -04:00
arkon
d8b40c2dc4 Add link to official subreddit
(cherry picked from commit 8af8c57bb414beafb4eed2bfb448b072f2fe60e4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutLinksPreference.kt
2021-05-28 14:36:50 -04:00
Gauthier
fba4bd163b Hide the score display on the tracksheet if not supported (#5169)
* hide the score display on the tracksheet if not supported

* Convert track item to use LinearLayout

Co-authored-by: Andreas E <andreas.everos@gmail.com>
(cherry picked from commit 9a801cfdfba407634532a5ceac0170a9f4716447)
2021-05-28 14:36:48 -04:00
Ivan Iskandar
f09c977661 TabbedBottomSheetDialog: Fix scrollable pages (#5173)
(cherry picked from commit 69869115f6531f62013e6c4c3bdfb750bc26c57f)
2021-05-28 14:36:43 -04:00
Jobobby04
481f600056 Double page spread share/save options 2021-05-23 18:23:45 -04:00
Soitora
e5131e1985 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

(cherry picked from commit fed6f44995b7931816d86f599734e81e3c764a80)

# Conflicts:
#	app/src/main/res/values/styles.xml
#	app/src/main/res/values/themes.xml
2021-05-23 15:35:59 -04:00
arkon
dd914047f8 Tablet manga view
(cherry picked from commit 7875f363a8a18659d4cb59774f6ce0e3d0a428ab)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-05-23 15:34:13 -04:00
arkon
14de1973a3 Fix some RecyclerView heights (fixes #5146)
(cherry picked from commit 98461f9bcab66c5a78cabf35d758a4166a7b282e)
2021-05-23 14:49:46 -04:00
Jobobby04
3053bf9d5d Double page spread
(cherry picked from commit 7832d1abe1fdcdb962f388e5a86dd3fcecad6712)
2021-05-23 14:49:09 -04:00
Soitora
9b4aac7ce5 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

(cherry picked from commit 33dcdc159949e76933f07130fd43d0537c7ea46f)

# Conflicts:
#	app/src/main/res/values/themes.xml
2021-05-22 18:28:04 -04:00
arkon
de6c428d72 Enforce same height for about links
Discord is kind of scuffed because the icon isn't vertically centered properly.

(cherry picked from commit 1c10ba7925787d9f1708e43e7b3549c917546f1e)
2021-05-22 18:08:20 -04:00
Soitora
a34133f526 Change tab ripple color (#5142)
Does what Google apps does, uses the colored ripple for Tabs as well and not just bottom nav.

(cherry picked from commit 2b8df691fff9db0754bce23a2eb0788200f836aa)
2021-05-22 18:08:13 -04:00
arkon
1518c2aa25 Run formatter on drawables and layouts
(cherry picked from commit dbe8931cf0a3839b10ec3deed9c0a262a493d891)

# Conflicts:
#	app/src/main/res/drawable/ic_launcher_foreground.xml
#	app/src/main/res/layout/main_activity.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/reader_general_settings.xml
2021-05-22 17:47:08 -04:00
arkon
623b64aa79 Fix top padding in up Updates/History
(cherry picked from commit d2eb5d7f45a960125e6317886c8309de8d76dbad)
2021-05-22 17:41:05 -04:00
Soitora
2f9069765e 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>
(cherry picked from commit 562dce60ee144be75434957d64ec7ab916dcce6a)

# Conflicts:
#	app/src/main/res/layout/main_activity.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/values/styles.xml
2021-05-22 17:40:53 -04:00
Ivan Iskandar
b3ddc1dfa3 Remove material-design-dimens (#5133)
(cherry picked from commit afd59eabbb5071b358f8dc04752788d73e4cc553)
2021-05-22 17:29:16 -04:00
arkon
d55802a2f2 Adjust tablet layout (closes #5113)
(cherry picked from commit cf99446a12f894d6b4a513aaf668520f52b40170)
2021-05-22 17:17:54 -04:00
arkon
3e5e983b9e Collapse about links into a single row
(cherry picked from commit a410184e0aeeef067915090a3530f79f8f8348e9)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt
2021-05-22 17:13:53 -04:00
Soitora
2a32c9cb5d Increase padding to progress bar (#5110)
(cherry picked from commit 0dbb79359bf01aa93305efedf4ef80c1e0c0ecb8)
2021-05-22 16:53:42 -04:00
arkon
7a9c2afe87 Fix grid columns on tablets, split out common main_activity layout sections
(cherry picked from commit ef53d4ec070ace3a863f7ba22749b3b511a1b4a6)
2021-05-22 16:47:40 -04:00
arkon
35879921dd Initial tablet NavigationRailView implementation
TODO:
- Make the side nav go beside the toolbar too
- Extract out common main_activity stuff to remove duplicated code

(cherry picked from commit de35a4c62a7636650b1ff88c33de0cc0695f6411)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/res/layout/main_activity.xml
2021-05-22 16:47:17 -04:00
Jobobby04
fd65db51c1 Fix some text colors 2021-05-18 13:05:40 -04:00
Jobobby04
e500d0bebf Exh login menu supports custom igneous cookies. Supports translation now as well 2021-05-12 18:19:43 -04:00
OncePunchedMan
27f2e8ecbc
[IDEA] Changing to labels not always visible (#296)
* disable always visible labels

* make it a setting

* remove redundant line

* Fix preference keys

* Update keys again

* Fix import

* Remove extra line

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2021-05-10 22:02:55 -04:00
Jobobby04
aa6013b7ca Convert the Chapter sheet into a dialog 2021-05-07 14:27:07 -04:00
Jobobby04
a4933388aa Add reader bottom button menu customization 2021-05-06 15:33:28 -04:00
arkon
6dad90e19c Reader grayscale filter (closes #2822)
(cherry picked from commit 908c9bc6247462c4a18d605bbabc3ebb6520774d)
2021-05-04 14:49:43 -04:00
Andreas
5c352cb3c0 Add manga-wised rotation mode settings (#4841)
* Add manga-wised rotation mode settings

Based on #3522

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>

* Fix small mistakes

* Complete TODOs

* Rename functions

rotation -> orientation

* Fix orientation icon not changing

Bug from video

* Fix bug with force portrait not being force if a default value

Bug from video

* Backup viewer_flag as a seperate field in so legacy/forks doesn't crash

* Make viewer_flags nullable so old backups viewer gets restored

* Add migration for old rotation and viewer to new defaults ones

* Rename variable in enums

* Fix migration after OrientationType was changed

* Remove untrue comment

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
(cherry picked from commit 0fef546a0d4b2a78089b0880564e80708afbe1da)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/models/BackupManga.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/models/Manga.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
2021-05-04 14:48:06 -04:00
Ivan Iskandar
73c9df9c43 Use Coil (#4870)
* Use Coil

* Remove coil-transformations lib

* Add MangaCoverFetcher

* Remove Glide

* MangaCoverFetcher: Allow skipping custom cover usage

* Adjust coil caching policy for some non-library items

* Allow coil to use RGB565 only on low ram devices

* Fix image loading progress view not showing

a

* Increase coil crossfade duration

Same as default glide duration

* Add back request clearing

(cherry picked from commit 93e61367958e280689423b7692cd98cda59805e9)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/glide/FileFetcher.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/glide/TachiGlideModule.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceComfortableGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryComfortableGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCompactGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-05-04 14:13:17 -04:00
Jobobby04
765eac843d Round migration card corners 2021-05-04 14:13:13 -04:00
curche
28fab7a918
fixes to Migration menu layouts (#295)
* fix Migration process item option button color

fixed by comparing with other layouts and adding app:tint to migration
process item layout

fixes https://github.com/jobobby04/TachiyomiSY/issues/287

* fix migration manga card layout for white theme

compared with other layouts like source compact card item and realised
that textColor was missing.

Also added font so that it looks cooler :d
2021-05-03 12:16:38 -04:00
Ivan Iskandar
134be3893e Fix download error icon color tint (#4959)
* Fix download error color tint

* Use progress indicator as download icon border

* Resolve feedback

* Use extension function to set tinted drawable

(cherry picked from commit bf80dd622c9ebbdd27500f210858231a74ac3f4f)
2021-04-26 18:01:55 -04:00
Ivan Iskandar
6e570d7fad Make the download progress status smoother (#4958)
* Make the download progress status smoother

* Download status icon cleanup

(cherry picked from commit 4e7b8c98f9b5fd532683eed54dd55f764bbee01d)
2021-04-26 18:01:11 -04:00
arkon
b46500c837 Add checkmark beside selected popup menu item
Based on what's in J2K. Also renamed to MaterialSpinnerView to match what's there.

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
(cherry picked from commit 3287ca9cf264fb0d28bdd7e43404cef595d953de)
2021-04-19 14:00:55 -04:00
arkon
bc28e2d617 Adjust ActionToolbar positioning
(cherry picked from commit 1f8c5b0120177ecd160110026ab2e018e20dd0c1)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
2021-04-19 14:00:10 -04:00
arkon
936997b52e Remove toolbar snapping
(cherry picked from commit d981245723dfb5b4feab5f6b8e2d656726ffe48b)
2021-04-19 13:58:43 -04:00
Ivan Iskandar
885c251fb4 Add navigation bar scrim (#4845)
* Revert "Add navigation bar scrim (closes #4836)"

This reverts commit 2a69d1b0

* Add navigation bar scrim

(cherry picked from commit 1f729f1cb33e4d9df6471016417eac0fd1782735)
2021-04-19 13:58:32 -04:00
arkon
01ad3dc92b Handle reader toolbar subtitle getting cut off when text is too big (closes #4843)
(cherry picked from commit 544adb9940bce8f42f9241c53785cb85192d533f)

# Conflicts:
#	app/src/main/res/layout/reader_activity.xml
2021-04-14 18:38:09 -04:00
arkon
fbe10151f4 Add navigation bar scrim (closes #4836)
(cherry picked from commit 2a69d1b0510107efd38de10853efabb90757635d)
2021-04-13 18:51:57 -04:00
arkon
b322ecd34a Fully expand source filter sheet on show (closes #4455)
(cherry picked from commit 99b46096a46ce4a56f4461d7ad7c7a24b0cf510b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceFilterSheet.kt
2021-04-13 18:49:23 -04:00
arkon
540e234562 Use same non-sticky heading style as Browse for Updates/History (closes #4822)
(cherry picked from commit 12e90ae35e37dd9d155a65d03a071f9d56e8f716)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SelectionHeader.kt
2021-04-13 18:31:18 -04:00
Jobobby04
5df0eb7ed1 Convert EHentai Login controller to a activity 2021-04-11 20:43:21 -04:00
arkon
1ba07466ef Minor cleanup
(cherry picked from commit ef49fc91d8c40a45efab6661f9dfe78e147bc732)
2021-04-11 18:40:23 -04:00
arkon
bcc120056c Make reader spinner colors a bit more consistent
(cherry picked from commit 7504621a24597340f47edb140fee939ac79fb5ec)

# Conflicts:
#	app/src/main/res/layout/reader_general_settings.xml
2021-04-11 18:38:58 -04:00
arkon
0e8aec7929 Align filter spinners (closes #2995)
(cherry picked from commit 88e49a9b8bebdc226fb9e37a21bc0b42115e802e)
2021-04-11 18:37:13 -04:00
arkon
b5a109440f Allow excluding categories from library update
Closes #3467, #4661, #1839

Supersedes #4474

(cherry picked from commit 4f1275ac019c60f60eb503ba17ec3014d36a974b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2021-04-04 19:10:42 -04:00
arkon
30ed1f11ee Fix label overflow for reader spinner preferences
(cherry picked from commit 3257cbe21f45ace1554f82bf9e75d014c8e3b534)
2021-04-04 19:09:07 -04:00
Andreas
38a46825e2 Remove weird cropping from icon when showing missing chapter warning (#4769)
(cherry picked from commit fba428257b1046b9b7c84fa50e6b31acbf4cb68d)
2021-04-04 18:56:56 -04:00
Jobobby04
d294db3e4e Continues -> Continuous 2021-03-30 20:00:55 -04:00
arkon
de9ce8f949 Use regular crop icon
(cherry picked from commit 71aa5921112717c4347a0a4ea1263c7e81dd5cf0)
2021-03-28 19:10:27 -04:00
arkon
3c3f5cf35d Add crop borders shortcut
(cherry picked from commit d501c02f8bdc666e5701518da2e0845d7b494e9e)

# Conflicts:
#	app/src/main/res/layout/reader_activity.xml
2021-03-28 19:10:15 -04:00
arkon
404a6a621a Prevent manga title from jumping (fixes #4709)
(cherry picked from commit c58e4f4deef79e0a03fd149adbf54b77a6e04369)
2021-03-28 19:04:38 -04:00
arkon
8b37c27a73 Cleanup reader spinner layouts
(cherry picked from commit c4b975b77734c8cea843796bae87ee6e236180f4)

# Conflicts:
#	app/src/main/res/layout/reader_general_settings.xml
#	app/src/main/res/layout/reader_webtoon_settings.xml
2021-03-28 19:01:08 -04:00
arkon
2988524fd8 Clean up reader sheet spinner preferences
Based on fe2543b9d5

Co-Authored-By: Jays2Kings
(cherry picked from commit 14c114756dbcc9d952790918c0a47b2bdc2dbade)

# Conflicts:
#	app/src/main/res/layout/reader_general_settings.xml
#	app/src/main/res/layout/reader_pager_settings.xml
#	app/src/main/res/layout/reader_webtoon_settings.xml
2021-03-28 18:01:39 -04:00
arkon
5b9d2175e2 Reorganize reader sheet contents a bit
(cherry picked from commit c255f57d956a6f81d4a1ea6c22e1ca29d81d28ba)

# Conflicts:
#	app/src/main/res/layout/reader_general_settings.xml
2021-03-28 17:49:40 -04:00
arkon
75f0ab2f40 Split general and reading mode sheet settings
(cherry picked from commit 64c47bbaedeeca6d2bff81cf37baee01e2067306)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderGeneralSettings.kt
#	app/src/main/res/layout/reader_general_settings.xml
#	app/src/main/res/layout/reader_pager_settings.xml
#	app/src/main/res/layout/reader_webtoon_settings.xml
2021-03-28 17:47:31 -04:00
arkon
709f76d53d Merge reader settings and color filter sheets
Heavily influenced by fe2543b9d5 (diff-8f47d7b7b53769ac18c28fe9978140c6bef44709879567acab2c6ef3270cd3a8)

(cherry picked from commit e0b7698d40678ccebfe6b546af9101c11c3a06c5)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderSettingsSheet.kt
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/reader_settings_sheet.xml
2021-03-28 17:19:57 -04:00
Andreas
03912407d5 Add navigation layout overlay (#4683)
* Add navigation layout overlay

* Minor clean up

Destroy animator when done not on start
Move and change pref title
Add summary

(cherry picked from commit 5a7f2684b354943758475b9fe329f233b4295a84)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsReaderController.kt
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/values/colors.xml
2021-03-21 00:06:46 -04:00
CrepeTF
d9b3b7b266 Add option to force disable vertical seekbar
(cherry picked from commit b5df33bf14d4eea8421d2e1e6b488b79e6daa9f5)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/exh/log/Logging.kt
2021-03-20 14:56:51 -04:00
arkon
23e4b661bc Tweak dialog corner radius
(cherry picked from commit 18b1326f3aad5174d3f3efd65826f553e7231b8c)
2021-03-18 15:11:02 -04:00
arkon
3122f783a9 Move reader setting related classes
(cherry picked from commit 938919bd9be821e1e24bdd583aaeb1ab430868a0)
2021-03-18 14:55:52 -04:00
arkon
300e04e8f6 Allow scrolling within reader color filter sheet (fixes #4612)
(cherry picked from commit 0657db7dcb8cc523920478b2f0f9ee7e22e2324d)
2021-03-18 14:53:30 -04:00
Jobobby04
84abe044a3 Remove Hentai Cafe Delegation 2021-03-11 19:10:33 -05:00
Jobobby04
984956ce95 Fix vertical reader scrollbar buttons cutoff 2021-03-11 19:10:31 -05:00
Riztard Lanthorn
6cad8411fe
swap webview and filter (#235) 2021-03-08 22:44:31 -05:00
Jobobby04
e6f288e2c9 Fix some cherry pick issues 2021-03-07 22:33:38 -05:00
CrepeTF
2e1cf49d99
Reader PR (with vertical sidebar) (#216)
* Reader PR

* Dealt with conflicts + updates

* Adeed missing import
2021-03-04 19:08:40 -05:00
scb261
a4c10394b6
Split transition animation setting for webtoon and pager (#230)
* Split transition animation setting for webtoon and pager

* Move variables

* Rename config variables back
2021-02-26 14:51:51 -05:00
Andreas
cfd2d43f1c Let users invert dual page split (#4470)
* Let users invert dual page split

* Use Activity lifecycleScope and cleanup invert logic

(cherry picked from commit 776610d0e64d0c4ad02c094336efa18a144632d2)
2021-02-24 17:15:44 -05:00
arkon
7a115d8080 Adjust reader seekbar design
- Revert back to old prev/next chapter icons
- Make views taller for easier actions
- Use more consistent spacing
- Add ripples to prev/next chapter buttons

(cherry picked from commit 829a65e51509162cad8be4f7b0ba463ca80fa3c1)
2021-02-24 17:02:12 -05:00
arkon
9be7c5e6e1 Initial adoption of bottom reader menus from TachiyomiSY
Co-authored-by: Jobobby04 <jobobby04@users.noreply.github.com>
Co-authored-by: CrepeTF <CrepeTF@users.noreply.github.com>
(cherry picked from commit 89837e4cedca4fa0c7518c32cd13142ec85b5f97)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/menu/reader.xml
2021-02-24 17:02:03 -05:00
Jobobby04
0185d5f7d6 Fixes for browse + latest page 2021-02-24 16:18:13 -05:00
Jobobby04
5a67d8169d Edit manga status + edit local manga fixes 2021-02-24 16:15:19 -05:00
Jobobby04
50a5ec45b3 Do a bit of optimization and cleanup, remove old EH startup code 2021-02-14 21:24:26 -05:00
arkon
04da26195e Fix invisible overflow icon in chapter filter sheet in light blue theme
(cherry picked from commit 7b66ece8959959a11a8ca4ece4d6411add15a788)
2021-02-11 19:26:46 -05:00
vance
37ce2140f3 Added dual page split setting (#4252)
* Add DualPageSplit option

* remove extra line

* Split double-page into two pages

* Remove !isAnimated check and add (ALPHA) to the label

* Fix missing insert pages

* Pager cleanup

* Add dual split to Webtoon and fix Vertical

* Fix L2R/R2L

* Add comments and refactor code in ImageUtil

* Use a simpler split solution in webtoon mode

Co-authored-by: weng <>
Co-authored-by: Andreas E <andreas.everos@gmail.com>
(cherry picked from commit b5017eebbf0740189f254d5db25df3c54a282e1f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/system/ImageUtil.kt
2021-02-11 19:25:58 -05:00
arkon
a616193cdf Fix selected tab in sheets not being the accent color
(cherry picked from commit 3aeac7e7b598825a9914db9f2d112d1ac7394646)
2021-02-11 18:10:58 -05:00
arkon
72b0fcca9d Don't restrict filter sheet height anymore
(cherry picked from commit 1557f713f42739f76fd9808d18d4b914132becff)
2021-02-11 18:10:49 -05:00
arkon
aadfa2aa8c Show help action when source fails to load
(cherry picked from commit d84b5e8b461bb8c9c0e6c684dc717e27ba40f6c5)
2021-02-06 19:16:11 -05:00
arkon
e80a4bea18 Avoid crash when changing spinner indeterminate state
(cherry picked from commit 7191552126b514fee5a882072b4ad445136b4584)
2021-02-06 19:08:20 -05:00
arkon
9a3faad499 Fix unreadable sheet tab text in light blue theme
(cherry picked from commit 9f2fe33ce0080f24f642a823119b0d842e63307a)
2021-02-04 17:13:11 -05:00
arkon
b235521dd1 Rounded bottom sheets
(cherry picked from commit 6662e2002f63b303079a515e24ce9e092f07d24e)
2021-02-04 17:07:39 -05:00
arkon
6168dadba3 Pad trackers list a bit
(cherry picked from commit 62dffb8226bb42a6d64e8a275111621d8cfbb0b2)
2021-01-31 19:38:45 -05:00
arkon
08bf113dcb Minor cleanup
(cherry picked from commit d5cfbef42bde2a785b9c3033dc2a769ac1a7c37f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2021-01-31 19:38:27 -05:00
Andreas
369e075ed9 Move tracking to a bottom sheet (#4364)
* Move tracking to a bottom sheet

* Give methods better names and remove unnecessary annotation

(cherry picked from commit 535abcbb8b2197faef77a6b0ba56aa4309067d4c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackPresenter.kt
2021-01-31 19:36:22 -05:00
Taco
f8763c71ff Regenerate drawables (#4352)
(cherry picked from commit 9bf452856cb40c7d1475eb2c7471c17d7861bac3)
2021-01-31 18:32:13 -05:00
Jobobby04
0ccfca51e7 Fix weirdly aligned merge button 2021-01-30 01:47:32 -05:00
Andreas
9cb600e9d6 Unify history and update item (#4361)
* Unify history and update item

* Use card_radius

(cherry picked from commit 0a10f6605324684afcf4d6bc13a765709dec2d94)
2021-01-28 13:41:01 -05:00
Riztard Lanthorn
355170b8ff add source name in download queue (#4338)
(cherry picked from commit 628bd5d6b42cedc463f17e4208b1cdaf4ba7869d)
2021-01-26 13:42:21 -05:00
Andreas
3927c62a32 Match color for download, header, and pin buttons (#4331)
* Match download button color to pin color

* Match manga header buttons color to pin color

(cherry picked from commit 441fc6e45b3632dcfcf98854282038f8898f395d)
2021-01-26 13:38:13 -05:00
jobobby04
2a211c68a9
Merge pull request #186 from CrepeTF/Reader_PR
Reader PR + stuff
2021-01-26 13:30:25 -05:00
CrepeTF
653ae10caf Reader PR 2021-01-26 13:11:42 -05:00
arkon
7a893e3009 Revert removal of tracker start/end date
(cherry picked from commit 0cd551d4fd94703aa49ede6db811fd07c712b2bc)
2021-01-16 19:50:20 -05:00
arkon
70d5907cc8 Handle download cancelation from icon properly (fixes #4241)
(cherry picked from commit f85194ec467ef661628861d33502db336b60da05)
2021-01-16 19:50:12 -05:00
arkon
d5a912bda2 Fix display mode not updating in source view
(cherry picked from commit 271489bdfd46f1053fb9f36e3d1377340489c1cf)
2021-01-16 19:50:00 -05:00
arkon
fd050b8178 Allow typing in tracker score similar to chapters (closes #2498)
(cherry picked from commit bebb52b4e87e0acf3c74078218085e94fb0e115a)
2021-01-07 01:12:34 -05:00
CrepeTF
4b91013750 Change merge manga icon 2021-01-06 03:11:06 -05:00
arkon
a1102d790f Fix content focusiblity issues when using remote/controllers (closes #3766)
(cherry picked from commit d8a3692d9275ded1620751eb851aafb0d3e08602)
2021-01-04 14:24:47 -05:00
arkon
5ba087f2ee Adjust download icon alignment more
(cherry picked from commit b1167146c59bdf463d3f6225eeb56d0163a65fb2)
2021-01-04 02:01:18 -05:00
arkon
ae3a36cc5a Tint downloaded icons with primary color
Makes them more easily distinguishable from other states.

(cherry picked from commit d0deceabbd0fc05f7c2f50cf6d090e4516cec848)
2021-01-04 01:17:30 -05:00
arkon
ee0625e9a6 Adjust padding of text before download icons
(cherry picked from commit 9cc6491c2a2030c7dafa750525a8011eca364e5d)
2021-01-04 01:16:16 -05:00
arkon
74dc7a645d Add more padding to download buttons
(cherry picked from commit 0af505828e1587569e0b308a849fa3f1a575635d)
2021-01-04 01:14:56 -05:00
arkon
a0981c4944 Minor cleanup
(cherry picked from commit 135cf9960fbbb479cdabae02602a3c55b2d211c3)
2021-01-04 01:14:45 -05:00
Andreas E
aab3ba5b48 Navigation settings and split invert tapping for webtoon and pager (#4233)
(cherry picked from commit 3bf7c74f9343542be74495d4cb48d1fe615839cb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
#	app/src/main/res/layout/reader_settings_sheet.xml
2021-01-04 01:08:35 -05:00
Andreas E
651f4659a5 Viewer navigation (#3869)
* Viewer navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>

* Match current reader behavior and add ability to invert it

* A bit of clean up

* Clean up inversion

* Only create navigator when changed

and change tap zone when invertTapping is changed

* Clean up PagerConfig

* Change how Viewer navigation works

* Add Edge Navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>
(cherry picked from commit d69e9034ab5b1b23250b2f529d957f60b9084865)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
#	app/src/main/res/layout/reader_settings_sheet.xml
2021-01-01 23:49:25 -05:00
arkon
8dd435b5b5 Implement click events for chapter download icons
(cherry picked from commit 63398fe491bd8e76a1cf09454ab8eda4b1964480)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt
2020-12-31 19:45:26 -05:00
arkon
d5af2ed80c Adjust chapters filter icon to line up with download icons
(cherry picked from commit 8f605dc0f62b4798ea06d8623f48aa74e32b5a67)
2020-12-31 19:32:33 -05:00
arkon
8ee8cae1f7 Fix download progress bar sizing to match icons
(cherry picked from commit 47e770948bc1aefa8f4895a8c75ecad2128e08ba)
2020-12-31 19:32:26 -05:00
arkon
73092a2832 Adjust download icon sizing
(cherry picked from commit 8135136c8604ddd267fdeb4854235567c066d11f)
2020-12-31 17:32:14 -05:00
arkon
d2e594be0c Tweak manga info header backdrop
(cherry picked from commit cef1c4b8a15246959e4e8a6708bec3c5d9bcaea8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2020-12-31 17:32:09 -05:00
arkon
157f7802b2 Hide chapter download icons for local manga
(cherry picked from commit 23bf7faf9faeee15c708cae4c54fc09e5b4797af)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt
2020-12-31 17:14:53 -05:00
arkon
406f77c645 Add error state to chapter download icons
(cherry picked from commit 01ff3af63fd3bc3b572906eeb9ba9da87f0d4ebe)
2020-12-31 17:14:03 -05:00
arkon
df1daa6b7f Refactor download states into enum
(cherry picked from commit 84ae61f72c86a8d578b78b000765a31f38e1d6ab)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2020-12-31 17:12:02 -05:00
arkon
56a4ef33f5 Initial chapter download icon implementation
(cherry picked from commit 6dd280205b5bf4040e690b5aaeb961e3443bd19c)
2020-12-31 17:07:32 -05:00
Jobobby04
08e52cca97 Remove manga tags scrollbar 2020-12-29 20:01:51 -05:00
Jobobby04
a907c93147 Fix Index adapter crash 2020-12-26 19:23:46 -05:00
Jobobby04
294bb286e9 Deal with the SY ProgressBars 2020-12-26 17:02:07 -05:00
arkon
54736ea410 Replace circular ProgressBars with Material component
(cherry picked from commit eaccfdde599e025c0481497902b89a616c24d587)
2020-12-26 16:42:07 -05:00
arkon
897f5f1732 Replace ProgressBars with Material component
(cherry picked from commit a8e536478cbc452b5d70797a3057d897383be358)
2020-12-26 16:41:58 -05:00
Andreas E
45ef778e6d Reader snackbar dismissible (#4190)
* Make Reading Mode Snackbar dismissible

* Change reader FrameLayout to CoordinatorLayout

(cherry picked from commit b92b6520cb949b6038fb5939472a00e86358cf17)
2020-12-26 16:41:29 -05:00
arkon
de03174131 Strip out no longer used tracker start/end date code
Unfortunately MAL was the only one that supported it in the app, but the official API doesn't support it, so now no trackers have it.

(cherry picked from commit 6e7fefb8b22da062eb2eaf4cb20746e258ef4d65)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/models/BackupTracking.kt
2020-12-26 00:32:26 -05:00
Jobobby04
330908c49d Add continues vertical crop borders to the reading settings 2020-12-21 14:39:54 -05:00
arkon
17731f3904 Remove bundled fallback file picker
(cherry picked from commit e8627800fef6525bc4ed3324c03178d7ac8850cd)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt
#	app/src/main/res/layout/common_listitem_dir.xml
#	app/src/main/res/values/styles.xml
2020-12-21 14:21:34 -05:00
Jobobby04
e23b048d53 Fixes to reader ui from @CrepTF 2020-11-29 18:52:01 -05:00
arkon
0f6745d4a3 Add global search progress bar (closes #3727)
(cherry picked from commit 38bc8ec6b4c6f40dd98355e2fbe2021a16885e60)
2020-11-25 15:05:10 -05:00
arkon
72e95ea6fc Draw under navbar in Android 9+
(cherry picked from commit 122b2b1a8eb0bbc198439b78061ed44c53043cc9)
2020-11-21 16:28:03 -05:00
arkon
2b9c25cf71 Tweak manga info header
(cherry picked from commit 6991c224b2501d303c3277afc894354d9c50c8ad)

# Conflicts:
#	app/src/main/res/layout/manga_info_header.xml
2020-11-21 16:26:48 -05:00
Jobobby04
319c41905e Update latest tab with the new global search update 2020-11-05 00:31:00 -05:00
Andreas E
98dade1b4d Change list view font size back to 16sp (#3978)
Make list view font size bigger again

(cherry picked from commit b1ce3693edfd9b353364928b296036bef8581fe3)
2020-11-04 20:58:51 -05:00
Andreas E
c12fb337f5 Replace language code in Global Search with secondary text (#3972)
Replace language code in Global Search with secondary text

(cherry picked from commit 9493577de27c40ce8b2b6122cc447d025e34c477)
2020-11-04 20:56:45 -05:00
Jobobby04
95c331b8b4 Convert all SY specific things to use ViewBindings instead of synthetics 2020-10-29 23:43:24 -04:00
Jobobby04
079405c17e More tweaks to delegated manga views 2020-10-26 19:23:59 -04:00
Jobobby04
05269c557d Make TF happy, cleanup the more info menu 2020-10-26 14:28:56 -04:00
Jobobby04
32232c80aa Extra info updates 2020-10-25 20:19:02 -04:00
Jobobby04
a2cda24e01 Fix broken menu after clicking source, move latest to the top 2020-10-24 17:17:00 -04:00
arkon
86fc50d62b Janky workaround for collapsed global search covers
(cherry picked from commit 837ce62844ad287468deb15b5f33e73d0190d020)
2020-10-24 14:15:19 -04:00
Andreas E
b9bddd264b Update Global search layout to match Library and Browse (#3892)
* Update Global Search card item to be comfortable with rounded corners

* Remove card background

(cherry picked from commit a2b1acd70f5d41ad34fa8320ececb7cb9869bf6b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/globalsearch/GlobalSearchCardHolder.kt
#	app/src/main/res/layout/global_search_controller_card.xml
#	app/src/main/res/layout/global_search_controller_comfortable_card_item.xml
2020-10-24 14:08:28 -04:00
arkon
295fe37a9d Use default height for extended FAB (closes #3949)
(cherry picked from commit 538c1686416959390b33913eb2140119b41cf116)
2020-10-24 13:41:04 -04:00
arkon
8322f7b95f Show locale in sources list items
(cherry picked from commit ed41604f5667cc63778282c69d90d71d070422fb)
2020-10-24 13:40:40 -04:00
Jobobby04
e32f4eb317 Replace migrate button with merge 2020-10-14 14:06:05 -04:00
arkon
6d235e23ff Update dependencies
(cherry picked from commit 6c792d2821336894f37a758b80134186bd40580b)
2020-10-11 15:34:34 -04:00
arkon
8404b1c0c2 Set activated states for manga info favorite/tracker buttons
(cherry picked from commit 0904692f15179e420ea9140e2e31e556faa5164f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout/manga_info_header.xml
2020-10-03 13:01:25 -04:00
arkon
2772e4960e Add banner for Incognito Mode
(cherry picked from commit cf39ae0000a39542ba867f894c095f96c71141ef)
2020-10-03 12:57:20 -04:00
arkon
085722e077 Show downloaded only banner in all views
(cherry picked from commit 7194f6520327d5419cfbe1fd226e094bf227f13b)
2020-10-03 12:57:10 -04:00
Unlocked
e1fc94e6d3 Fix visual issue with bottom padding in filters sheet (#3881)
(cherry picked from commit 25d1c40cda4ece4321137a366c7f4de8418091b7)
2020-10-02 12:14:49 -04:00
Jobobby04
32748fa056 Allow migrating extra info like viewer, chapter filters, and other stuff 2020-10-01 22:12:37 -04:00
Jobobby04
c501c9ecc3 Modify the looks of the extra info for a few sources 2020-09-30 19:29:44 -04:00
Andreas E
c6db5a01dd Fix color filter sheet content alignment (#3862)
Fix color filter sheet content alignment

(cherry picked from commit bddeb8622303d4832f58d488e1a4d61624c0725e)
2020-09-29 12:41:56 -04:00
arkon
3a07ee3deb Fix chapter filter icon tinting
(cherry picked from commit b5986b509eb7c2f201a5658e2df891352249d3ee)
2020-09-29 12:41:28 -04:00
arkon
7494033b90 Fix scrolled content being visible behind navigation view group
(cherry picked from commit 2eab43a66994b148472ee3ab9c411b3c214f4354)
2020-09-29 12:26:30 -04:00
arkon
59020deb6f Tweak navigation view group header style
(cherry picked from commit 7c69b1b64928cf678f9dece4301d72ad857d931e)
2020-09-29 12:25:33 -04:00
scb261
2130a2a67e Add option to hide bottom bar when scrolling (#3758)
* [wip] hardcoded flag for hide on scroll

* add corresponding option in settings

* clean up a little

Co-authored-by: arkon <arkon@users.noreply.github.com>
(cherry picked from commit 3784d1a8f2886e1ebc598cd83afa2622f9c44b43)
2020-09-29 12:25:25 -04:00
arkon
c59ca51944 Color selected bottom nav item with accent color when theme isn't blue
(cherry picked from commit 371b0b2132312130edcffd68f82d03d352155526)
2020-09-29 12:25:05 -04:00
arkon
ad03dfee97 Use same padding as source icons for extensions
(cherry picked from commit 5d1ca64768077a1200070576a9d8fbbf6a932422)
2020-09-29 12:24:55 -04:00
arkon
815ac9d55b Remove card backgrounds from browse lists
(cherry picked from commit a3c598a3e1758c00d00ad3a804d8dbb7e24ab2ac)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/manga/MigrationMangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceHolder.kt
2020-09-29 12:24:33 -04:00
arkon
7b76823b60 Use background color for list view
(cherry picked from commit 9ce8c5c1607062e00c16c86681425e572a3d8cf9)
2020-09-29 12:17:18 -04:00
arkon
ea3f90f107 Minor settings search code cleanup
(cherry picked from commit 3bce07e8734b4104f70788232eade97986c11161)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt
2020-09-24 09:13:48 -04:00
arkon
26557b3257 #3520 Searchable Settings (#3683)
* Adding class stubs for settings search, UI elements.

* -  implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen

* Remove unneeded SettingsControllerFactory.

* Set query hint, clean up code smell.

* Add search button to MoreController, stop infinite recursion.

* - initialize SearchResultCollection once in Activity.onCreate

* - implement prefernce highlighting after settings search

* - Ensure all Preferences have a key set or else the highlighting effect will have no effect on it.
- remove ExtensionFilterController and SourceFilterController from settingControllersList in SettingsSearchHelper, since those are related to Extensions and not Settings

* Limiting search to settings menu only, localized breadcrumb string, and code cleanup after code review.

* - moved call to SettingsSearchHelper.initPreferenceSearchResultCollection() into SettingsSearchController

* Code review cleanup and refactoring.

* Inlined non-reused key strings.

* Adding more UI polish, add comments for future enhancements.

* - retain search query when navigating *away* from SettingsSearchController
- keep `searchItem` in `expandActionView` state until user goes back (fixes the empty view in `SettingsSearchSearchController` issue)

Co-authored-by: mpm11011 <markuscicero5@gmail.com>
Co-authored-by: lmj0011 <9396189+lmj0011@users.noreply.github.com>
(cherry picked from commit 766f9e37b52873080c58d73dfaff42c5add24dc0)

# Conflicts:
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceFilterController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt
2020-09-24 09:09:45 -04:00
arkon
89eea4ab91 Move manga info summary more/less button toggle
(cherry picked from commit a9bed90d028bc93bfae49edd10e7ede71decd6a7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout/manga_info_header.xml
2020-09-24 08:41:48 -04:00
arkon
616fbe4afe Center reader transition text properly (fixes #3819)
(cherry picked from commit 01ad405dd2f0dea00ef076926d2487ab915ada29)
2020-09-24 08:24:16 -04:00
arkon
8df978a91c Clean up global chapter settings code
(cherry picked from commit da5f10a2f1ac4f65c740c9838558456c43855678)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2020-09-15 14:52:31 -04:00
lmj0011
763335bd85 [feature] add ability to set global filter/sort/display for Manga chapters (#3622)
* - [feature] add ability to set global filter/sort/display for Manga chapters

* - move default chapter settings functionality to overflow menu
- code clean up

* - show confirmation dialog when user selects "Set as Default" option in Chapter Settings

* - hide overflow menu in LibrarySettingsSheet

* - apply default chapter settings if manga is added to Library from a Source's browsing screen

Co-authored-by: arkon <arkon@users.noreply.github.com>
(cherry picked from commit 64050e8266603320ec6dafa4a70849aa4a28004b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2020-09-15 14:27:42 -04:00
arkon
4e8c30b7fe Start updating manga info view header design (SY edition)
(cherry picked from commit 791a7d5a01e25b13634291fc1af5970ea35f7692)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout/manga_info_header.xml
2020-09-15 14:08:14 -04:00
Jobobby04
a48508a98e reader light theme chapters bottom sheet fixes 2020-09-13 22:52:11 -04:00
arkon
4e3288b2af Use background color for some lists
(cherry picked from commit c0789cd6bafc6d5017ee032e6a8f4d2c94744f9c)
2020-09-13 22:51:46 -04:00
Jobobby04
02e6eaae12 Cleanup and fix a few compiler warnings 2020-09-13 22:24:03 -04:00
Jobobby04
dcca19e6b8 Undo Reds manga title changes 2020-09-12 19:21:54 -04:00
Jobobby04
b93298c411 Add MangaDex only implementation of Mangadex Follows list
Add login dialog that pops up whenever you are not logged in when trying to browse MangaDex
Remove attempts at porting over chapter read history from older galleries to new ones
Disable latest for ExHentai, it was browse without buttons anyway
2020-09-11 23:12:13 -04:00
AbdullahM0hamed
c8a4ec37e0
Add Black-Red theme (#95)
* Appveyor

* stuff

* resolve conflict

* Let's try this again

* try again

* More fixing

* remove appveyor

* revert build.gradle

* Revert "revert build.gradle"

This reverts commit feaaa78157ffe8d6d6af7d6d63a74bc14b92f584.

* Undo line change

* Update build.gradle

* Update MainActivity.kt

Co-authored-by: AbdullahM0hamed<AbdullahM0hamed@users.noreply.github.com>
2020-09-10 17:06:49 -04:00
Jobobby04
f62d277894 Opps, forgot to push these changes 2020-09-08 12:04:53 -04:00
Andreas E
20021dbf54 Add spacing on top of sources/extensions/migrate lists (#3751)
(cherry picked from commit 5e2e177aa9eb41ccf3a46a97bb81014e1ca0fa6f)
2020-09-05 19:20:42 -04:00
arkon
281fb9c67b Refactor common chapter transition views into separate view
(cherry picked from commit 86e59977dec252b180fa63a2a82c6fc8bcbcfe69)
2020-09-05 19:19:49 -04:00