|
@@ -92,6 +92,7 @@ public class CPDFApplyConfigUtil {
|
|
readerView.setVerticalMode(readerViewConfig.verticalMode);
|
|
readerView.setVerticalMode(readerViewConfig.verticalMode);
|
|
readerView.setCropMode(readerViewConfig.cropMode);
|
|
readerView.setCropMode(readerViewConfig.cropMode);
|
|
readerView.setPageSameWidth(readerViewConfig.pageSameWidth);
|
|
readerView.setPageSameWidth(readerViewConfig.pageSameWidth);
|
|
|
|
+ readerView.setReaderViewHorizontalMargin(50);
|
|
switch (readerViewConfig.themes) {
|
|
switch (readerViewConfig.themes) {
|
|
case Dark:
|
|
case Dark:
|
|
readerView.setReadBackgroundColor(ContextCompat.getColor(fragment.getContext(), R.color.tools_themes_dark));
|
|
readerView.setReadBackgroundColor(ContextCompat.getColor(fragment.getContext(), R.color.tools_themes_dark));
|