-
Notifications
You must be signed in to change notification settings - Fork 738
Custom Configuration
Gautam Chibde edited this page Oct 14, 2017
·
4 revisions
You can pass custom configuration to FolioReader by creating a configuration builder.
FolioReader folioReader = new FolioReader();
Config config = new Config.ConfigBuilder()
.nightmode(true)
.fontSize(1)
.setShowTts(true)
.font(Font.ANDADA)
.themeColor(R.color.grey_color)
.build();
folioReader.openBook(context, "file:///android_asset/adventures.epub", config);