-
Notifications
You must be signed in to change notification settings - Fork 76
Description
I created a beginning for an issue I was having with Zotero on android.
See forum posts:
https://forums.zotero.org/discussion/129087/pdf-zoom-uniform-over-multiple-pages-mostly-on-android#latest https://forums.zotero.org/discussion/126456/feature-request-android-fixed-zoom/p1
What this code does is add 3 buttons to the annotation bar. Two buttons for previous and next page, and then one that locks the zoom. When the zoom is locked, scrolling and zooming is disabled. Using the buttons for prev and next will allow you to go to the next page with exactly the same zoom level and location.
I think this solves my and the other forum request.
However due to my lack of understanding (this is my first attempt to help with anything android related).
- I was unable to make a nice icon and let the icon of locking the zoom switch based on the state.
- Instead of having buttons for prev and next page, a swipe (two finger?) would maybe be a nice addition or alternative
- This fills up the annotation bar a bit, and it is not part of annotation so maybe the buttons should be somewhere else. (This can also be solved with adding the buttons to a settings field somewhere.
Please let me know if this is worth continuing. The code like this has been tested on emulator and my ereader.
I am willing to fix it further if someone helps me a little bit on how to do it.
Additionally I wanted to ask if I just wanted to use this feature for myself, will I be required to own a pspdfkit license? Now I have these big warning letters.
You can see the code below.
master...Tmarinus:zotero-android:add_prev_next_buttons
