Commit Graph

19 Commits

Author SHA1 Message Date
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
5bc9e1632a Remove unnecessary reader sheet backgrounds 2020-04-12 22:10:49 -04:00
arkon
fdc7981d18 Tweak webtoon margin setting 2020-04-10 11:45:30 -04:00
arkon
145a744ce0 Merge branch 'feature/webtoon-margins' of git://github.com/jleehey/tachiyomi into jleehey-feature/webtoon-margins
# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	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/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/preference/PreferenceDSL.kt
#	app/src/main/res/values/strings.xml
2020-04-10 11:14:09 -04:00
arkon
dd59748bf0 Minor cleanup 2020-04-07 22:44:37 -04:00
arkon
0a5461cbea Use pill icon instead of text for sheet pull up indicator 2020-03-28 16:32:34 -04:00
arkon
7d0ea614da Migrate to MaterialComponents themes 2020-03-11 22:59:37 -04:00
morcefaster
9936b402a6
Added config to hide transition page when not needed (#2682)
* Added config to hide transition page when not needed

* Moved always_show_chapter_transition setting to General group
2020-03-09 14:36:29 -04: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
aa05458f1d Run formatter on layout files 2020-02-21 18:43:50 -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
f7669b6797 Replace left/right layout attributes with start/end 2020-01-09 19:10:55 -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 b76a15d960)

* 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
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