add ability to adjust side padding in main reader settings

This commit is contained in:
CarlosEsco 2020-04-22 11:45:49 -04:00
parent f331b24386
commit a47704071b

View File

@ -115,6 +115,18 @@ class SettingsReaderController : SettingsController() {
titleRes = R.string.crop_borders
defaultValue = false
}
intListPreference(activity) {
key = Keys.webtoonSidePadding
titleRes = R.string.pref_webtoon_side_padding
entriesRes = arrayOf(
R.string.webtoon_side_padding_0,
R.string.webtoon_side_padding_10, R.string.webtoon_side_padding_15,
R.string.webtoon_side_padding_20, R.string.webtoon_side_padding_25
)
entryValues = listOf(0, 10, 15, 20, 25)
defaultValue = "0"
}
}
preferenceCategory {
titleRes = R.string.navigation