Commit Graph

609 Commits

Author SHA1 Message Date
arkon
9ce8c5c160 Use background color for list view 2020-09-26 18:33:39 -04:00
arkon
3bce07e873 Minor settings search code cleanup 2020-09-22 22:33:43 -04:00
arkon
766f9e37b5
#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>
2020-09-22 22:23:38 -04:00
arkon
a9bed90d02 Move manga info summary more/less button toggle 2020-09-22 22:20:29 -04:00
arkon
01ad405dd2 Center reader transition text properly (fixes #3819) 2020-09-20 12:56:04 -04:00
mpm11011
528c1b90c2
Merge branch 'dev' into dev-settings-search 2020-09-16 14:56:34 -04:00
arkon
da5f10a2f1 Clean up global chapter settings code 2020-09-14 16:23:42 -04:00
lmj0011
64050e8266
[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>
2020-09-14 15:58:34 -04:00
arkon
791a7d5a01 Start updating manga info view header design 2020-09-14 15:56:27 -04:00
arkon
c0789cd6ba Use background color for some lists 2020-09-12 15:40:40 -04:00
mpm11011
a5098e5b5b Code review cleanup and refactoring. 2020-09-05 14:28:41 -04:00
Andreas E
5e2e177aa9
Add spacing on top of sources/extensions/migrate lists (#3751) 2020-09-04 16:28:22 -04:00
arkon
86e59977de Refactor common chapter transition views into separate view 2020-09-04 16:25:08 -04:00
arkon
8bedc8f456 Move share manga button to toolbar menu 2020-08-29 17:13:02 -04:00
lmj0011
8c82b766e3 - implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen
2020-08-19 10:28:04 -05:00
mpm11011
22518f173f Adding class stubs for settings search, UI elements. 2020-08-16 19:11:23 -04:00
arkon
b657bba96e Add 18+ warnings in extensions list 2020-08-10 11:53:23 -04:00
arkon
912687ac78 Adjust download badge color again 2020-08-02 23:03:24 -04:00
arkon
9e396e1624 Fix history item icon tint in light blue theme 2020-08-02 10:29:04 -04:00
arkon
6a5af438dd Temporarily unrevert crop borders unification (closes #3487)
Reverts 1920568057
2020-07-31 14:59:34 -04:00
arkon
e990ad25eb Fix tap region for manga summary 2020-07-31 12:58:13 -04:00
arkon
b9488645d4 Hide cutout option when appropriate in reader settings sheet (closes #2982) 2020-07-30 22:38:10 -04:00
arkon
34aaa7fb0a Remove explicit source browse button, tint pin icon when pinned 2020-07-26 16:28:58 -04:00
arkon
a52fbb012a Add pin icon to sources list (closes #2862) 2020-07-25 18:25:30 -04:00
arkon
e95a5be21d Show message when searching with no pinned sources 2020-07-25 17:14:34 -04:00
arkon
9a55cf880e More consistent library list view padding (closes #3509) 2020-07-25 10:52:23 -04:00
arkon
bf22e69250 Pad manga info tag chips properly to avoid overlapping scrollbar 2020-07-23 18:09:47 -04:00
arkon
08dc57fd02 Revert ViewPager2 library 2020-07-19 21:33:19 -04:00
arkon
2a202bd510 Migrate library to ViewPager2 2020-07-19 11:48:41 -04:00
arkon
dcd8ed08fc Rename chapters_controller to manga_controller 2020-07-19 11:32:26 -04:00
arkon
d3ebedeef2 Explicitly show "No results found" in global search instead of hiding row 2020-07-18 17:46:29 -04:00
arkon
d2e2ebbe45 Add ripple to global search source title 2020-07-18 17:39:29 -04:00
arkon
ccd0e0cdfe Manga about section layout tweaks 2020-07-18 10:57:11 -04:00
arkon
9278ca3f5e Move chapter filter/sort/display settings into a sheet 2020-07-17 17:01:16 -04:00
arkon
8ba426350f Fix checked state for manga header buttons 2020-07-17 14:20:36 -04:00
arkon
148f8e6d11 Tweak track search dialog list item paddings 2020-07-16 23:01:24 -04:00
arkon
88ee86b7ef Move edit categories to overflow 2020-07-16 22:22:06 -04:00
arkon
135c371d88 Fix manga info actions being cut off 2020-07-12 17:16:13 -04:00
arkon
beaffc3870 Remove redundant layout for reader color filter sheet 2020-07-11 19:16:49 -04:00
arkon
8536ecb611 Remove color filter preview image 2020-07-11 19:09:13 -04:00
arkon
d7a89b0f8c Remove 32-bit color setting from reader sheet 2020-07-11 18:58:04 -04:00
arkon
e33cacf6a4 Use root FAB/CoordinatorLayout in MangaController 2020-07-11 12:32:17 -04:00
arkon
23fe848a35 Move tracking to manga info actions
Currently just opens a separate view. To be iterated upon later.
2020-07-11 12:13:05 -04:00
arkon
b363b9fc1a Make page transitions setting apply to webtoon viewer as well 2020-07-10 22:24:55 -04:00
arkon
1920568057 Unify crop borders settings 2020-07-10 22:19:08 -04:00
arkon
763da19c9d Add shortcut to global search query from library (closes #2183) 2020-07-10 19:31:23 -04:00
arkon
479eb1ba71 Attach some FABs and snackbars to root CoordinatorLayout
Fixes some issues around snackbars sometimes being out of view.
2020-07-10 11:15:57 -04:00
arkon
16fc58bd16 Use custom view to handle manga info cover size (fixes #3354) 2020-07-04 16:08:01 -04:00
arkon
68df2f4ce7 Point to GitHub releases for stable changelogs 2020-07-04 14:36:56 -04:00
arkon
c6d29fc19b Move MaterialFastScroll to widget package 2020-07-04 13:45:01 -04:00
arkon
04d83e9a6a
Add option to reverse tapping (#3360)
* Add option to reverse tapping

* Fix string for preference key

* Invert tapping for Webtoon and Vertical

* Use enum instead of boolean

* Add option to reader sheet

* Hide from reader sheet if tapping disabled and remove hard coded string

* Hide option if tapping disabled
2020-06-25 18:12:12 -04:00
arkon
f2f6628693 Separate out chapters heading into separate adapter 2020-06-24 22:48:20 -04:00
Andreas E
1681437206
Hide from reader sheet if tapping disabled and remove hard coded string 2020-06-24 15:48:08 +02:00
Andreas E
2eaf083eee
Add option to reader sheet 2020-06-24 09:50:23 +02:00
arkon
eb254d9c56 Move about summary more/less expander button 2020-06-23 08:51:51 -04:00
arkon
e99a27e382 Fix filter group icon being invisible in light theme 2020-06-23 08:45:36 -04:00
arkon
3dc738f28c Restore separate artist field 2020-06-20 22:30:02 -04:00
arkon
52e846f3b6 More manga info header tweaks 2020-06-20 11:41:20 -04:00
arkon
b8947a1c50 Bleed cover backdrop into actions bar in manga info header 2020-06-19 17:32:44 -04:00
arkon
4605e14729 Merge manga info and chapters views 2020-06-19 16:11:59 -04:00
arkon
cbb8f25645 Allow extension details header to scroll 2020-06-17 22:39:45 -04:00
arkon
24ff7ff67c Use download badge color for downloaded only banner 2020-06-17 22:21:24 -04:00
arkon
381ba86e3c Adopt download/local badge colors from J2K 2020-06-17 22:00:58 -04:00
arkon
c041410f61 Clean up extension details layout a bit 2020-06-15 22:54:11 -04:00
arkon
150ea29a70 Move untrusted/obsolete/unofficial extension text 2020-06-13 17:27:03 -04:00
arkon
f9baff0e90 Show "Start" in chapters FAB if nothing is read yet 2020-06-13 17:15:22 -04:00
arkon
6ad3fcb91d Rounded library badges 2020-06-13 17:00:32 -04:00
arkon
395ca3630c Combine author and artist fields in manga info 2020-06-13 16:25:26 -04:00
arkon
e9fbdb660b Fix webview height issue
Collapsing toolbar doesn't work currently.
2020-06-13 15:56:40 -04:00
arkon
526e029ebb Update some themes 2020-06-13 15:34:55 -04:00
arkon
763c4522b7 Reduce navigation view text weight 2020-06-13 15:17:33 -04:00
arkon
ca7373c28b Make extension settings button inline 2020-06-06 14:36:04 -04:00
arkon
812fcec9f0 Move source preferences to separate controller 2020-06-05 09:50:30 -04:00
arkon
ec7297f8c2 Add arrow to source search headers 2020-06-05 09:33:42 -04:00
arkon
0b8b13d0bb Add FastScroller to downloads 2020-06-01 08:55:37 -04:00
MCAxiaz
bccb1229c8
use material password toggle (#3261)
use material for track search
2020-05-31 18:29:20 -04:00
arkon
40ab3fe0a6 Tweak extension detail header design 2020-05-31 18:28:23 -04:00
arkon
54cfb2acdf Manage sources from extension details (closes #3152) 2020-05-31 16:23:51 -04:00
arkon
744a4f8f47 Force proper LTR layout for reader pages/bottom toolbar (fixes #3258) 2020-05-31 11:19:09 -04:00
arkon
1a542bae71 Replace deprecated height/width constraint attributes 2020-05-30 23:10:39 -04:00
arkon
a23d5ab734 Add bottom padding to migrate sources list 2020-05-30 18:06:40 -04:00
arkon
0af81c7d05 Comfortable grid code cleanup 2020-05-25 14:01:17 -04:00
jobobby04
52e82b3548
Comfortable Grid (#3238)
* Comfortable Grid

* Add requested changes

* Add more requested changes
2020-05-25 13:39:14 -04:00
arkon
3bf14623ad Update some icons 2020-05-23 18:28:28 -04:00
arkon
e9d3b75e2b Tweak history card design 2020-05-23 11:33:23 -04:00
arkon
914f5e569b Update drag icon 2020-05-23 10:23:44 -04:00
arkon
067627b51a Change resume button in history to an icon 2020-05-20 22:35:25 -04:00
arkon
09816ed5b6 Refactor history_item.xml to use ConstraintLayout 2020-05-20 22:32:04 -04:00
arkon
5fd1dec347 Add bottom padding to history/sources/extensions (fixes #3192) 2020-05-20 17:43:34 -04:00
arkon
3357e878a5 Square covers in list view (closes #3121) 2020-05-16 16:35:40 -04:00
arkon
b8ffb87f01 Add fastscroller to migration lists 2020-05-16 12:15:04 -04:00
arkon
a00d11701f Warn about missing sources before restoring backup 2020-05-16 11:29:55 -04:00
arkon
1cf74a5396 Add fastscroller to updates and history 2020-05-16 10:17:09 -04:00
arkon
39bd823651 Minor show more info button margin adjustment 2020-05-14 22:33:36 -04:00
arkon
9cb45b92e1 Move extension preferences to separate controller 2020-05-14 17:20:09 -04:00
arkon
d875d5ef74 Better distinguish between obsolete and unofficial extensions 2020-05-13 22:47:44 -04:00
arkon
ce6848b3c0 Show icon when chapter is bookmarked 2020-05-07 23:03:22 -04:00
arkon
d86d861e4b MaterialFastScroll updates 2020-05-07 22:40:23 -04:00
arkon
3b45fcdb21 Use borderless buttons everywhere for consistency 2020-05-07 22:24:30 -04:00
arkon
694de99a3f Adopt MaterialFastScroll from J2K fork
de8cb8c1b0
2020-05-06 23:16:02 -04:00
arkon
4ff3f0bcba Tweak about manga heading 2020-05-06 22:59:38 -04:00
arkon
08ba805bbd Fix updates/history section headers in RTL locales 2020-05-05 22:28:12 -04:00
arkon
dabca5f09e Lighter weight method of rounding cover art 2020-05-03 22:29:09 -04:00
arkon
ac4ae8103e Force FastScrollers to be on right even in RTL (closes #3038) 2020-05-02 14:39:47 -04:00
arkon
d72c51c8dd Hide app/nav bars on scroll 2020-05-02 11:33:31 -04:00
arkon
e58896bdfb Separate out series viewer setting to its own group in reader sheet 2020-05-02 10:41:56 -04:00
arkon
37045c77cb Fix manga info being cut off (closes #3006) 2020-05-01 21:09:05 -04:00
arkon
fc7a040509 Move queue start/pause to FAB 2020-05-01 19:39:30 -04:00
arkon
cf2967cf34 Fix some sheet color issues (closes #3000) 2020-05-01 08:49:45 -04:00
arkon
8c0cafc793 Reword action button in source filter sheet (closes #2994) 2020-04-30 20:22:52 -04:00
arkon
dff1f4dd52 Add banner at top of library when downloaded only mode is enabled 2020-04-30 18:35:17 -04:00
arkon
7b149425fa Adjust size of more header (closes #2988) 2020-04-29 17:37:49 -04:00
arkon
970f1466b5 Fix download queue cutting off if too short 2020-04-29 09:49:54 -04:00
arkon
e422b1d6c1 Fix snackbar/FAB overlap in edit categories view 2020-04-29 09:49:43 -04:00
arkon
0eb61f34f6 Ensure ActionToolbars don't overlap snackbars or FABs 2020-04-29 08:58:52 -04:00
arkon
e24ddb9106 Use same header layout for sources/extensions/migration 2020-04-28 23:03:30 -04:00
arkon
67d284fc35 Fix top padding in sources tab 2020-04-28 22:44:23 -04:00
arkon
3374481912 Refactor tabbed bottom sheet 2020-04-28 19:57:49 -04:00
arkon
74af40a352 Revert hiding cutout setting from reader sheet 2020-04-28 17:47:34 -04:00
arkon
90ce89193d Add logo header in more section 2020-04-27 22:48:25 -04:00
arkon
3ba8cff60f Edge fade for compact genre chips when scrolling 2020-04-27 19:50:35 -04:00
arkon
0601bedb0b Revert removal of last chapter/updated from manga info 2020-04-27 19:37:09 -04:00
arkon
d593362ba8 Merge sources and extensions into one view 2020-04-27 19:16:46 -04:00
arkon
6064eda68f Remove unnecessary dialog padding dimens 2020-04-26 20:07:03 -04:00
arkon
fe803a4588 Add bottom padding to library for ActionToolbar 2020-04-26 20:04:05 -04:00
arkon
2787116171 Fix ActionToolbar background color 2020-04-26 18:00:56 -04:00
arkon
17fc8deb19 Migrate column preference to FlowPreference 2020-04-26 16:35:54 -04:00
arkon
d243ee4b4c Remove TextDrawable 2020-04-26 11:59:15 -04:00
arkon
4da760d614 Simplify outlined button style name 2020-04-25 12:02:14 -04:00
arkon
902700e1f4 Minor edits 2020-04-25 11:05:29 -04:00
arkon
bbf456a4aa Tweak ActionToolbar styling 2020-04-25 11:01:08 -04:00
arkon
9f974c9401 Refactor library sheet into tabs 2020-04-24 18:15:37 -04:00
arkon
fba3ed2244 Show scrollable single line of genres when compacted 2020-04-24 16:05:43 -04:00
arkon
292655cbdc Adjust sources section heading padding 2020-04-24 11:00:07 -04:00
arkon
87ffd6eef2 Reduce size of history card titles 2020-04-24 10:22:05 -04:00
arkon
77cca1ce84 Change favorite icon to heart 2020-04-23 23:08:25 -04:00
arkon
c0bbbdb7ee Separate categories picker from long pressing manga favorite button 2020-04-23 23:03:20 -04:00
Hawk of the Death
aae6820fdc
Replace Track Reading Dates date picker with MaterialDialog's one (#2935)
* Replaced datepicker with MaterialDialog's one

* Removed max date due to library bug (afollestad/material-dialogs#1973)

* Removed old date picker view.
2020-04-23 18:28:41 -04:00
arkon
ab97de2763 Set default textInputStyle (fixes #2926) 2020-04-22 21:24:43 -04:00
Hawk of the Death
f7c139030f
Add Start/Finish date support for MAL (#2672)
* Started working on MAL support

* Added date picker UI

* Replaced Date with Calendar

* Added MAL remote update functionality

* Join url methods listEntryUrl and editUrl

* Removed unused methods

* Renamed mangaEditPayload to mangaEditPostBody

* Moved code to separate method

* Uniformed code to project conventions

* Removed wildcard import

* Moved MyAnimeListTrack to private class

* Improved MyAnimeListTrack name

* Removed redundant code

* Add start/finish date in local database

* Fixed format and improved codestyle

* Fixed typo and fixed TrackHolder's format

* Improved code style

* Ran linter

* Add database updating methods

* Change date format to fit new layout

* Review Commits

* Improve SetTrackReadingDatesDialog readability

* Move private methods after public ones

* Fixed SQL error

* Fixed remove date button

* Updated MaterialDesign methods to latest version

* Replaced dismissDialog() with dialog.Dismiss()

* Fixed wrong string resource usage.
2020-04-22 21:23:23 -04:00
arkon
02207f6cfd Make entire history item card clickable 2020-04-22 09:14:30 -04:00
arkon
2485ef8547 Remove migrating progress dialog 2020-04-21 19:01:01 -04:00
arkon
b17762f8d9 Remove source name from history cards, slightly compacter 2020-04-21 18:41:05 -04:00
arkon
a5d9fb518a Minor edits 2020-04-19 15:12:46 -04:00
arkon
01dd46c5ed Remove unused widget styles and animations 2020-04-19 12:23:37 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
arkon
29e453c201 Minor style tweaks 2020-04-18 19:05:19 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon
df69559b39 Collapsable manga summary/genre section 2020-04-18 12:40:47 -04:00
arkon
e388f0d563 Round manga info cover 2020-04-18 11:59:22 -04:00