Commit Graph

411 Commits

Author SHA1 Message Date
arkon
c63d8e7a30 Bottom action menu in chapters list 2020-03-08 17:37:42 -04:00
arkon
d6ea69a115 Action toolbar code cleanup 2020-03-08 17:23:26 -04:00
arkon
29a2d41331 Fix chapter list item end padding 2020-03-08 15:21:16 -04:00
arkon
9f8046324d Abstract bottom action menu code to main activity 2020-03-08 13:57:50 -04:00
arkon
af05c34da3 Bottom action menu for updates 2020-03-08 12:16:17 -04:00
arkon
c275adbb91 Remove chapter item popup menu 2020-03-07 23:00:29 -05:00
arkon
4061232fe3 Remove chapter updates popup menu 2020-03-07 22:46:13 -05:00
arkon
507471e318 Label Kitsu login field as email address instead of username 2020-03-07 22:19:45 -05:00
arkon
fbaaed1516 Match status/nav bar to reader toolbar color 2020-03-07 17:08:11 -05:00
onlymash
5fb3b0e0e3
Show page number only when toolbar is hidden (#2601)
* Show pagenumber only when toolbar is hidden

* Fix fullscreen issue

* Remove unneeded dependency

* Fix menubar padding

* Revert ReaderSeekBar height

* Refine code

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-03-07 16:57:14 -05:00
arkon
b84638ac5a Fix chapter description and download badge overlap 2020-03-07 13:28:27 -05:00
arkon
79f2882aaf Remove unused layout 2020-03-07 13:28:02 -05:00
arkon
52434819c3 Add history date section headers 2020-03-06 23:14:30 -05:00
arkon
29eb87b7ef Rename recently read / recent updates classes/layouts to match new names 2020-03-06 22:55:44 -05:00
arkon
c38026886a Combine chapter date/scanlator lines 2020-03-06 22:46:21 -05:00
arkon
0ac33b64b1 Merge branch '0.8.x'
# Conflicts:
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/models/Backup.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/TrackQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/TrackManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/TrackService.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistInterceptor.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterJob.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/AndroidCookieJar.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/OkHttpExtensions.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/ProgressListener.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/ProgressResponseBody.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/Requests.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/CatalogueSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/Source.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/SourceManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/Filter.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/FilterList.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/MangasPage.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/Page.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SChapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SChapterImpl.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SMangaImpl.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSourceFetcher.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/LoginSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/NucleusController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorDelegate.java
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorLifecycleListener.java
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/filter/SortGroup.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/ChangeMangaCategoriesDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/DeleteLibraryMangasDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryNavigationView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySort.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeleteChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeletingChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DownloadChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetDisplayModeDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetSortingDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackScoreDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackStatusDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/recent_updates/RecentChaptersController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt
#	app/src/main/java/eu/kanade/tachiyomi/widget/ExtendedNavigationView.kt
#	app/src/main/res/drawable/ic_book_white_24dp.xml
#	app/src/main/res/layout/categories_controller.xml
#	app/src/main/res/layout/chapters_controller.xml
#	app/src/main/res/layout/navigation_view_checkbox.xml
#	app/src/main/res/layout/navigation_view_group.xml
#	app/src/main/res/layout/pref_item_source.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/track_item.xml
#	app/src/main/res/values/strings.xml
#	build.gradle
2020-02-29 17:52:49 -05:00
arkon
82faa91ce3 Tweak reader seekbar height for Android 5 UI bug (closes #2487)
(cherry picked from commit 81418a7712)
2020-02-29 13:12:04 -05:00
arkon
ad664dfb9f Remove clickable attributes from unclickable text in reader
(cherry picked from commit d4c25359bd)
2020-02-29 13:11:58 -05:00
arkon
9bb3195bca Remove up/down animation for FAB, add list padding (#2456) e411f542 arkon <arkon@users.noreply.github.com> Jan 8, 2020 at 21:33 2020-02-29 13:10:25 -05:00
arkon
c4dad1c20b Unix line endings 2020-02-29 13:03:29 -05:00
arkon
ac3823e10a Add ripple to menu icons
Supersedes https://github.com/inorichi/tachiyomi/pull/2612
2020-02-27 18:58:36 -05:00
arkon
bf8268adc4 Always show bottom nav labels 2020-02-27 18:30:51 -05:00
arkon
7d4f25b354 Add description for secure screen setting 2020-02-26 18:58:13 -05:00
arkon
11544fe8ef Migrate to bottom navigation 2020-02-25 22:31:54 -05:00
Unlocked
ca10356fd9
Added Webtoon with Padding viewer (#2618)
* Added Webtoon with Padding viewer

* Change webtoon padding to be a config option

* Removed obselete padded_webtoon

* Switch ambiguous padding to vertical padding
2020-02-23 12:44:50 -05:00
arkon
beb2d880ea Move color filter behind reader toolbars (fixes #2619) 2020-02-23 00:07:34 -05:00
arkon
aa05458f1d Run formatter on layout files 2020-02-21 18:43:50 -05:00
arkon
c694160c9c Minor layout tweaks for better RTL support 2020-02-21 18:41:37 -05:00
onlymash
12aa04be93
Fix fullscreen reader for notch device (#2595)
* Fix fullscreen reader for notch device

* Make cutout mode configurable

* Rename cutout option
2020-02-17 10:40:49 -05:00
arkon
678597cc96 Remove unused layout 2020-02-05 22:39:02 -05:00
arkon
417d82de58 Remove round icon asset 2020-02-04 22:24:16 -05:00
arkon
a746d4cc3a Tweak initial tracker card appearance 2020-01-24 12:18:55 -05:00
arkon
7be6ee9a68 Remove fast scroller from library
Interferes with filter sidebar too much currently.
2020-01-22 18:32:32 -05:00
arkon
5bad914411 Remove reflection to show tracking checkmark
Icon now shows up on the left, but code is less fragile.
2020-01-19 16:26:38 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
73fbc81067 Webview enhancements
- Pull to refresh
- Loading progress
- Share page
2020-01-16 21:43:10 -05:00
arkon
f3e228e8a4
Indicate obsolete extensions (#2494)
* Indicate obsolete extensions

* Make obsolete indicators red

* Move obsolete extensions up the list

* Add base button theme for holder

* Use red button color state instead of explicit text color
2020-01-12 18:27:04 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00
arkon
81418a7712 Tweak reader seekbar height for Android 5 UI bug (closes #2487) 2020-01-11 22:29:31 -05:00
arkon
885c7bbb10 Add descriptions to reader prev/next buttons for a11y 2020-01-11 22:14:02 -05:00
arkon
d4c25359bd Remove clickable attributes from unclickable text in reader 2020-01-11 22:13:46 -05:00
arkon
3892b93bca Rename tracker icon images 2020-01-11 22:01:26 -05:00
arkon
797553ce16
Convert webview into an activity (#2470)
Based on 65804ebb3a
2020-01-10 22:22:12 -05:00
arkon
f7669b6797 Replace left/right layout attributes with start/end 2020-01-09 19:10:55 -05:00
arkon
19adbeebd5 Convert nav drawer icon to webp 2020-01-09 18:49:14 -05:00
arkon
07caea8b4e Clean up splash screen code 2020-01-09 18:29:36 -05:00
arkon
e411f54236
Remove up/down animation for FAB, add list padding (#2456) 2020-01-08 21:33:10 -05:00
arkon
6025b44e5b
Add fast scroller to library (#2459) 2020-01-08 21:32:07 -05:00
arkon
600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -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
John Leehey
f14af7cf83 Bind the margin ratio as a float preference and rename variables
- Fixed the floatListPreference that was used in the SettingsReaderController
- Created new extension for binding float preferences in the ReaderSettingsSheet
- Renamed the ratio variables to include the `webtoon` naming
2019-12-02 14:19:22 -08:00
John Leehey
5b9f362925 Add support for margins in Webtoon view
On larger tablets, matching the page width to the screen width in
webtoon mode causes eye strain due to the image looking so magnified.
Adding a page margin to the image can resolve this by effectively
scaling the image down.
2019-11-30 18:37:52 -08:00
MCAxiaz
e8638cb0b3 Hide Empty Search Results in Catalogues (#2066)
* test2

* remove nothing_found view and associated resources
2019-07-01 13:06:19 +02:00
Deumiankio
021dde66eb Add color filter blend modes (#2013)
* Add color filter blend modes

* Only show modes supported by currently used API level.

* Fix arrays.xml for API level <=27.
2019-04-29 19:32:49 +02:00
inorichi
e7606e6dca Add option to open manga details in a WebView 2019-04-08 02:08:40 +02:00
Deumiankio
e47dd3d587 Add 32-bit color mode to reader settings (#1941)
* add ARGB_8888 mode to reader settings

* Only show option on Oreo or later.
Only show option in settings screen.
2019-03-30 14:21:35 +01:00
inorichi
ca3f0873f3 Extract hardcoded strings from layouts 2019-03-15 08:48:12 +01:00
inorichi
3f2d375a53 Reduce priority of jcenter repository 2019-03-14 17:32:08 +01: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
inorichi
18883f1ba3 Crop borders for webtoon now have a separate setting. Close #972 2018-04-27 16:55:12 +02:00
inorichi
6de36a88c0 Fix tracking search layout 2018-04-13 16:28:09 +02:00
inorichi
8017324033 Fix #1351 2018-04-08 18:58:28 +02:00
inorichi
499def3daa Fix downloaded text drawn outside the screen 2018-04-06 08:29:17 +02:00
inorichi
69f51b88bf Fix typo in layout 2018-04-05 22:08:23 +02:00
inorichi
e0d680201a Update constraint layout & fix broken layouts 2018-04-05 21:50:44 +02:00
inorichi
50b48ab25c Fix info layout + disable tag clicks for now 2018-03-09 22:35:10 +01:00
Josh
233e76724a Fixes and Tweaks to Info Page (#1198)
* Fixes inorichi/tachiyomi#1194 by putting the name in a auto size

* removed ellipsizing of title

* moved the genre tags inside of the scroll view for inorichi/tachiyomi#1196

* saving my layout options for the night
2018-03-09 21:42:39 +01:00
inorichi
8e50ac67bc Bugfixes and extension installation improvements 2018-03-02 18:10:10 +01:00
Carlos
fc1f290b85 removed extra blank lines (#1259)
fixed results not showing for jellybean
made edit text max line 1 to prevent it newlines being added and moving the edit text into the list view
2018-02-18 19:36:34 +01:00
Carlos
40b222f8bc Improve tracking search results (#1178)
* initial commit
changed tracking info screen
added ability to click logo to launch website

* added publishing status and type to description.
adjusted layout some

* added start date to track info

* tweaked layout

* tweaked layout

* tweaked layout

* code review changes

* code review changes part 2

* code review changes
2018-02-17 13:04:49 +01:00
Carlos
854112095b Downloading extensions from Github Repo. (#1101)
Downloading extensions from Github Repo.
2018-02-05 22:50:56 +01:00
Carlos
c3ced0d089 adjusted chapters item since Android 16 doesnt support right and left (#1221) 2018-01-31 14:38:05 +01:00
Bram van de Kerkhof
6a310bbaa9
Added custom download option (#1185)
* Added custom download option

* Implemented new design. TODO comments (like always...)

* W00t comments

* Implemented code review.

* Fixed commit breaking mistake :O

* Small design fix
2018-01-23 21:18:55 +01:00
Bram van de Kerkhof
bc8753da85
Remove teal background 2018-01-23 19:03:50 +01:00
Carlos
7f63e318f1 Catalog visuals update 1155 (#1167)
* adjusted search to be lower in navview

* close drawer on search
moved search and reset to bottom

* switched sort icon to arrow

* allow secondary drawer to swipe open and close

* fixed click to collapse for sortgroup, and group item
updated to rc4 flexibleadapter

* added header to drawer

* changed string to Search filters

* collapsed sort group

* fixed arrow size

* added divider line

* fixed vector size

* add divider id and tools text
2018-01-23 18:50:48 +01:00
Carlos
6c749319cf increase touch area for 3 dot in chapter list (#1205)
* increase touch area for 3 dot in chapter list

* moved 3 dot over and made it vertical

* adjusted location slightly
2018-01-23 18:49:26 +01:00
Josh
34d21c1de3 Information Page Improvements (click to search, copy to clipboard, etc) (#1139)
* adds long click to copy details per inorichi/tachiyomi#1127

* Added the latest update date for inorichi/tachiyomi#1098 and possible fix for inorichi/tachiyomi#1141

* cleanup some mistakes I left

* adds modifications to full name display for inorichi/tachiyomi#1141 and click to search on various information pieces for inorichi/tachiyomi#860

* This modifies how the full title shows up in the info pages and also properly ellipsizes the titles in the catalogue/library list views

* Changes full title layout in horizontal mode

* Adds the tags in using AndroidTagGroup library

* reverting the sdk version in the gradle build

* code cleanup

* added back status update
2018-01-18 19:15:33 +01:00
inorichi
a75457ad88 Add a new screen to help migrating manga from sources 2018-01-12 22:02:05 +01:00
Carlos
6027671c09 Address #1154 (#1160)
* change add to library icon add toast

* adjusted toast messages
added toast to catalog long click

* adjusted strings
2018-01-08 14:08:48 +01:00
Andy Bao
fe7001975a Fix padding in RecyclerViews (#1148) 2018-01-06 18:50:40 +01:00
Bram van de Kerkhof
bdcc6e52e6
Small new user improvements (#1143)
- Changed empty library string
- Added empty view for Categories
2018-01-01 14:57:20 +01:00
inorichi
08baf798aa Give view pager unique ids, avoiding subtle bugs 2017-12-04 22:22:35 +01:00
inorichi
297fed6aef Repackage catalogue to match the UI 2017-12-03 12:58:38 +01:00
inorichi
04638535d8 Fix library options menu shown in chapters screen. Resolves #1096 2017-11-30 15:37:20 +01:00
inorichi
28a21d0b8f Minor changes to download cache. Also keep the library view, as recreation is expensive 2017-11-28 23:58:37 +01:00
inorichi
25898d34ca Update page indicator colors and new Readmangatoday domain 2017-11-23 18:00:49 +01:00
inorichi
d4101c7bdf Page indicator now uses an outline instead of overlapping shadows 2017-11-20 13:55:56 +01:00
inorichi
88d1f29fe2 Move page indicator to bottom center, and use a shadow instead of a background. Other category in catalogue list is now placed at the end 2017-11-18 14:09:38 +01:00
Carlos
afa89ac125 added extra padding on page number to prevent cut off on rounded corner devices. (#1056) 2017-11-06 22:08:49 +01:00
inorichi
5c4139be45 Update flexible adapter. Show fast scroller in chapters screen 2017-11-02 16:58:32 +01:00
inorichi
d0567de4e6 Download badge 2017-10-21 17:08:49 +02: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
54c8b3ef29 Global Search (#849)
* Global Search

* Cards are now independent of design by use of recycler.

* Added local

* Some attribute fixes + moved onclick to controller.

* Lots of improvements to code

* Reversed some stuff. Thanks API 16

* Code fixes

* Performance improvements

* Moved adapter creation to constructor

* Small changes

* Removed sources settings from settings menu. Added OnChangeListener in catalogue. Made setting icon visible if room.

* bug fix

* Code review part uno

* Code review part uno-2

* Single recycler approach

* Add last source used

* Fix scroll state and some layout issues

* Fix wrong item binding

* Use data class for items

* Calculate item position and count while binding

* Fix background color with slices

* Reuse slices. Fix card background. Flatten constraint layout

* Fix global_search scroll issue

* Store last state with global search

* Minor changes

* Remove catalogue toolbar spinner. Persist catalogue across process restarts

* Save view state of recycler views. Set toolbar title with current query
2017-09-23 13:11:39 +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
len
e8b432485d Minor changes 2017-08-15 15:06:21 +02:00
Carlos
a12a34e3bb Add Batoto Scanlator to Chapter view (#789)
* Added scanlator for Batoto on chapter list

* adjusted item_chapter layout for scanlator
adjusted so db chapters get updated if scanlator does not match source scanlator

* adjusted item_chapter layout for scanlator
adjusted chapter holder to dynamically set title max lines depending on if scanlator exists

* fixed excess blank line

* changed scanlator to be instantiated instead lateint to prevent toast message erro when viewing chapters by catalog

* changed item_chapter.xml to constraint layout

* removed accidental changes to catalog

* cleaned up code.

* fixed issue where long title was running into 3 dot menu
fixed issue where no scanlator for manga was causing date to not be bottom lined
fixed general chapter layout to be more similar to existing

* allow scanlator to be null

* fixed merge issue

* fixed merge issue

* attempt to fix whitespace carriage return issue

* attempt to fix whitespace carriage return issue

* attempt to fix whitespace carriage return issue
2017-08-15 15:05:41 +02:00
inorichi
b79855c01d Remove circle image view dependency 2017-08-09 12:38:54 +02:00
inorichi
ca2236958a Reorganize layouts by feature 2017-05-25 12:16:58 +02:00
len
72ea256906 Downloads with conductor. Remove flexible adapter 4 dependency and unused classes. 2017-05-23 20:03:16 +02:00
len
a5a12f8b3a Add landscape layout for manga info. Fix portrait layout image paddings when the tab layout was expanded 2017-05-20 14:56:31 +02:00
len
bbe180ecd1 Improve tab layout animation. Fixes #800 and #801 2017-05-20 12:15:44 +02:00
Bram van de Kerkhof
062788f222 Fixed tracking cardview + readded AMOLED theme. (#798)
* Fixed cardview margin for sources

* Added AMOLED again

* changed padding to margin
2017-05-16 10:18:46 +02:00
len
0da2f91771 Info shows last chapter instead of chapter count. Resolves #765 2017-05-14 19:55:48 +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
inorichi
29fd5747eb Recent chapters with constraint layout 2017-05-08 13:06:40 +02:00
Carlos
fa8f5bc0d8 Add images and 'view chapters' to library updates (#785)
* added option to open manga directly from library update
added covers for manga in library update
added ability to click covers to open manga directly from library update

* Removed 3 dot option to open manga
Adjusted covers to circles and material standard for recent chapter

* fixed potential null pointer on cover click

* adjusted circle imageview size for recently read
2017-05-08 09:22:49 +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
inorichi
2eeac0bf8b UI with Conductor (#784) 2017-05-06 15:49:39 +02:00
Bram van de Kerkhof
4ebb3a894d Added round icon + added shortcuts (#732)
* Added round icon + added shortcuts

* Moved values to companion
2017-04-04 17:42:39 +02:00
len
e619870eec Fix #716 2017-03-20 20:34:26 +01:00
len
a5520c1936 Manga info with constraint layout 2017-03-12 13:00:47 +01:00
len
112cdd54e3 Update chapters adapter 2017-03-11 21:20:46 +01:00
len
4d7b188999 Fix #636. Minor improvements. Dependency updates 2017-02-23 22:30:43 +01:00
len
6de260d73f Fix #660. Update subsampling 2017-02-19 23:39:53 +01:00
len
91c58640a7 Add crop borders functionality, #219 2017-02-12 00:30:32 +01:00
len
fe413d52d6 Show loading/error for images in catalogue grid view. Update support lib 2017-02-04 19:07:06 +01:00
len
cdf5bbadea Disable elevation in recent chapters. Improve downloads discovery 2017-01-22 23:13:07 +01:00
len
c6b89a826c Update recent chapters adapter 2017-01-22 20:06:43 +01:00
len
7f8bfd759f Fix filter input text introducing a new line. Also fix filter drawer clicks propagated to the views below 2017-01-21 20:31:25 +01:00
Bram van de Kerkhof
c445ea90ba Notification Improvements (#594)
* Download notifier improvements

* Notification improvements

Added a Notification Service.

Added a Notification Activity Handler.

* Removed service. Everything is now managed by single broadcast

* Fixed some flags

* Fixed ReaderActivity call

* Code review

* Added Handler. Removed dismiss onDestroy
2017-01-20 21:18:15 +01:00
len
871e17c2f5 Rewrite catalogue adapter 2017-01-17 20:13:29 +01:00
len
f86c3c81bf Catalogue with only one recycler 2017-01-16 22:18:15 +01:00
len
71ab6d38e4 Complete group filters 2017-01-15 17:04:31 +01:00
len
90a99dde1f Filters with flexible adapter 2017-01-14 22:38:31 +01:00
Bram van de Kerkhof
72f8c4d5e2 Added add to library dialog when downloading from catalogue (#618)
* Now show snackbar when adding from catalogue

* Code cleanup + added manga favorite event to update favorite drawable when added via snack

* Update SettingsAdvancedFragment.kt

Forgot to check optimize import. I think(hope) I got them all ;).

* Now uses PublishRelay. Manga favorite is now handled in info presenter

* Update MangaInfoFragment.kt
2017-01-08 20:07:19 +01:00
Gianmarco David
2c8790c545 Added circular thumbnails to the catalogue list view, like the ones in the library list view (#616)
* Added circular thumbnails to the catalogue list view, like the ones in the library list view

* Moved setImage to CatalogueHolder parent class and adapted the code so that when the manga is initialized, the thumbnail is set both in the case of grid and list

* In catalog, when switching between grid and list, initialize mangas only if going to grid view or if over wifi
2017-01-04 12:50:31 +01:00
len
d0260acd3d Set IME action done 2017-01-03 15:44:32 +01:00
len
c25af3d5ad Change filters dialog with a drawer 2017-01-02 18:35:54 +01:00
Krishna Shukla
2c6f64c5ae Refresh option in the library updates tab (#606)
* Solves #550

* Make sure only refresh can only happen when pulling down at top of update library list

* Removed unused import
2016-12-23 15:58:53 +01:00
len
8d749df290 Score formatting. Hide API from Anilist/Kitsu services. 2016-12-21 22:39:46 +01:00
len
e542a8d8e2 Fix tab gravity 2016-12-20 16:54:56 +01:00
inorichi
94ee4e7fb5 Experimental Anilist and Kitsu support (#586)
* Tracking tab with anilist support

* Rename MangaSync to Track

* Rename variables and methods to track

* Kitsu implementation

* Variables refactoring

* Travis fix?
2016-12-18 22:56:28 +01:00
len
d180631877 Add ripple effect to filter nav view 2016-12-18 20:29:46 +01:00
len
79705df499 Apply material design guidelines to categories 2016-12-18 13:08:56 +01:00
inorichi
b067096fc7 Add drawer to filter and sort the library (#570)
* Add additional drawer to filter and sort the library

* Tint icon when there's a filter active

* Comments and minor changes
2016-12-11 12:43:44 +01:00
len
7c42ab885b Readers know how to move to each side. Fix #566 2016-12-10 14:49:56 +01:00
Bram van de Kerkhof
125f1ae34c Added option to bookmark single chapter (#496)
* Added option to bookmark single chapter

* Fixes
2016-11-06 13:33:00 +01:00
len
5b1f4f189b Reader fixes 2016-10-24 22:16:50 +02:00
len
90e0e0b72a Webtoon reader now shows download progress. Keep the progress bar until the image is decoded 2016-10-23 18:59:25 +02:00
Roman Martinez
0b3dda18d3 Implement latest updates. (#472) 2016-09-30 21:11:51 +02:00
Bram van de Kerkhof
8be67a4431 Custom color filter for reader (#434)
* [WIP] Custom color filter for reader

* Improvements

* temp image to prevent build error

* Shift all the bits

* Some improvements. Removed DiscreteSeekBar

* Improvements

* API 16 + fixes

* Reduced lag. Fixed brightness value being reset to 0

* Small fixes
2016-09-21 21:26:08 +02:00
inorichi
58a2f7a874 Hide catalogues (#466)
Hide catalogues
2016-09-18 21:12:12 +02:00
Robin Appelman
2fb3b50535 Add genre filter for catalogue (#428)
* Add genre filter for catalogue

* Implement genre filter for batoto

* hardcode filters for sources

* swtich filter id to string

* reset filters when switching sources

* Add filter support to mangafox

* Catalogue changes

* Indefinite snackbar on error, use plain subscriptions in catalogue presenter
2016-08-28 22:59:00 +02:00
len
60b3036037 Rename fragment to view 2016-08-22 12:55:31 +02:00
len
dfb2487640 Library views recycling 2016-08-22 12:54:16 +02:00
len
b6a06189fb Fix text overlapping, make icons a bit bigger 2016-07-31 01:01:25 +02:00
len
e95fcf6172 Dynamic recyclerview inflation for the library view and better swap handling 2016-07-30 23:54:32 +02:00
len
c0a0d60c87 Replace page fragments with views 2016-07-30 15:51:49 +02:00
Bram van de Kerkhof
9cf5a4cac0 Minor Improvements (#405) 2016-07-28 01:01:56 +02:00