Skip to content

Community themes: tap a screenshot to see it large, zoom in, and install from there - #319

Merged
SimonSchubert merged 1 commit into
SimonSchubert:mainfrom
szymonkucko:theme-preview-zoom
Nov 19, 2026
Merged

SimonSchubert merged 1 commit into
SimonSchubert:mainfrom
szymonkucko:theme-preview-zoom

Conversation

@szymonkucko

@szymonkucko szymonkucko commented Nov 18, 2026 •

Copy link
Copy Markdown

In community themes you pick a theme from a small thumbnail, which is too small to see its terminal colors or its wallpaper. Now a tap on a theme's screenshot opens it large inside the panel, so you can look before you install:

  • Pinch or double-tap to zoom in where your fingers are, then drag to look around. Double-tap again to see the whole screenshot. The picture stays inside its frame.
  • Under it, [ GitHub ] opens the theme's repo, and [ install ] asks the same "install …?" as before. Once the theme is installed the button is [ use ], and the theme in use shows ✓ in use.
  • ‹ or Back returns to the grid at the same scroll position.

A tap on a card's name or status still installs or applies the theme, as before. The full-screen image viewer that Files and the widget store use is unchanged.

The zoom is a small ZoomableImage in ui/. Its edge clamp and zoom-around-a-point math are plain functions with a JVM test (ImageZoomTest). The preview decodes the screenshot at screen size, and the cards keep their 400 px samples.

  • ./gradlew :owl:test :app:testFossDebugUnitTest :owl:owlJar :app:assembleFossDebug :app:lintFossDebug passes, and :app:lintPlayDebug too
  • Tried on a device: Galaxy Z Fold6, inner screen. Checked: the screenshot opens in the panel, pinch zooms, double-tap zooms at the tapped point inside the frame, a drag stops at the picture's edges, Back and ‹ return to the grid where it was, and [ install ] and a tap on the card's name both open the install confirmation
  • New UI text is in strings_store.xml with every values-* translation (store_theme_use, store_theme_github)
  • OWL changes: none
  • Saved data, rootfs steps or launcher-written files changed: none

#277 (Catalan) adds values-ca. If it lands first, these two strings need Catalan too. I'll add them.

image

🤖 Generated with Claude Code

…ap, to look at before installing: pinch or double-tap to zoom in where the fingers are and drag around it, with [ GitHub ] for its repo and [ install ] (or [ use ] once installed) under it; a tap on the card's name still installs or applies it, and Back returns to the grid where it was

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SimonSchubert
SimonSchubert merged commit f9a5074 into SimonSchubert:main Nov 19, 2026
@SimonSchubert

Copy link
Copy Markdown
Owner

Thank you so much, this is a lovely addition! Picking a theme from those small thumbnails was guesswork. Now you can actually look at the terminal colors and the wallpaper before installing. The pinch zoom feels right, and keeping the grid's scroll position on Back is a nice touch. Thanks for the tests for the zoom math too.

I'll build on it in a few follow-up commits: the French strings (values-fr landed after you opened this) and a color scheme row on the preview page. Thanks again!

SimonSchubert added a commit that referenced this pull request Nov 19, 2026
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.

2 participants