Skip to content

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);

Clone this wiki locally