Commit Graph

15 Commits

Author SHA1 Message Date
Luke Hubmayer-Werner f24522d728 Basic savedInstanceState bundle usage.
Restores hidden pages, zoom level, approximate scroll, autocrop, after Activity is soft-reset by things like Splitscreen toggling.
2024-08-26 22:19:58 +09:30
Luke Hubmayer-Werner cefa7ad82d Dynamic zoom chips 2024-08-26 21:45:46 +09:30
Luke Hubmayer-Werner 04a64bd621 Add PdfBox library for future parsing
Change buttons to chips
2024-08-24 18:10:26 +09:30
Luke Hubmayer-Werner df3b9ac93b Only layout visible pages on presentation on Android 13 and under
Android 14 seems to not have offscreen culling problems, but my Android 13 tablet gets very laggy with a medium-sized pdf having everything laid out at once.
2024-08-24 12:45:58 +09:30
Luke Hubmayer-Werner 96404488f1 Dynamically create Presentations when displays are added/removed 2024-08-19 17:36:58 +09:30
Luke Hubmayer-Werner f9b7db0e44 Use DisplayManager to show all display metrics 2024-08-19 16:19:58 +09:30
Luke Hubmayer-Werner 23e7d8693a Put disabled page thumbnails in an upper red-background row 2024-08-18 00:35:14 +09:30
Luke Hubmayer-Werner 7cf7731541 Accept intents to load a single PDF
Also refactor Presentation
2024-08-18 00:05:02 +09:30
Luke Hubmayer-Werner 75be87a8fe Show/hide presented pages by tapping thumbnails 2024-08-14 23:51:38 +09:30
Luke Hubmayer-Werner f10c9a9ae7 Add buttons to toggle zoom and change number of pages on-screen 2024-08-14 23:16:42 +09:30
Luke Hubmayer-Werner 3c40669bad Clean up binds 2024-08-14 22:40:53 +09:30
Luke Hubmayer-Werner a74ccdcfcb Rudimentary thumbnail pixels-based autocrop detection.
A better solution would be using element bounds, but that requires a higher API level so I need a working fallback.
2024-08-14 22:18:06 +09:30
Luke Hubmayer-Werner 9a2b5ce297 Update dependencies 2024-08-14 22:17:47 +09:30
Luke Hubmayer-Werner 86e12449f7 Add README.md with basic goals outline 2024-08-14 18:42:59 +09:30
Luke Hubmayer-Werner 7093f05419 First commit
A basic thumbnail horizontal scroll on the tablet, with one-way-linked fullscreen horizontal scroll on the presentation display.
Uses unversioned (copyright) app/src/main/res/raw/testpdf.pdf which must be supplied separately for now.
2024-08-14 15:42:34 +09:30