I've added the PDF viewer to my app by copying code from ReaderActivity into my activity. The PDF is displaying, but it always displays with two pages side by side, and scrolls to additional pages horizontally. I want it to show one page at a time and scroll vertically.
I tried setting Global.def_view = 0 in my activity, after Global.Init(), and I also tried editing the Global class to change def_view directly there, but neither change has any effect on the display. I think I want view mode 0, which is the default anyway, but the viewer seems to be using view mode 1 or 6. What am I missing?
I'm able to change dark_mode in both places, so I don't know why I can't change def_view.