Skip to content

Increase protrait zoom max to fill full screen#50

Merged
Chow411 merged 4 commits into
mainfrom
feature/improve-mouse-move-ux
Jul 7, 2026
Merged

Increase protrait zoom max to fill full screen#50
Chow411 merged 4 commits into
mainfrom
feature/improve-mouse-move-ux

Conversation

@Chow411

@Chow411 Chow411 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Chow411 added 4 commits July 7, 2026 11:47
…-right corner

- Change rotation button behavior from switching orientation to locking/unlocking screen rotation
- Move rotation lock button to top-right corner in both portrait and landscape modes
- Add orange background when rotation is locked, default background when unlocked
- Add lock/unlock icon drawables (ic_lock_24, ic_lock_open_24)
- Remove old rotation button from drawer menu and portrait bottom bar
- Add string resources for lock/unlock toast messages
…or landscape keyboard

The landscape keyboard layout (system_button.xml) has a dedicated number row
and additional special keys (brackets, caps, semicolon, etc.) that were not
included in the SystemButtons array. Without being in this array, these
buttons had no touch listeners attached and could not send key events to
the target device.

Added to SystemButtons:
- Number row: ~ 1 2 3 4 5 6 7 8 9 0 - = (landscape only, null in portrait)
- Special keys: [ ] \ Caps ; ' , . RightShift AltGr CtrlGr

In portrait mode, these views return null from findViewById and are safely
skipped by the existing null check in SystemButtonListeners().
Changed MAX_DISPLAY_HEIGHT_RATIO from 0.5 to 0.95 so the video can
zoom in to fill the entire available container (minus top/bottom bars)
instead of being limited to 50% of screen height. Aspect ratio is
preserved.
@Chow411 Chow411 merged commit 4408aa8 into main Jul 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant