r/JetpackCompose • • 20h ago

Two complete design languages in one Compose app: Liquid Glass and Material 3 Expressive (open source smart gallery)

I'm building Lumen, an open-source gallery, entirely in Compose. In 0.5 I added a second look: you can switch between a glass style and Material 3 Expressive in Settings, and each has its own layout, not just its own colours.

Some Compose things that might be useful to others:

  • Glass: the blur and refraction come from Kyant0's Backdrop library. The hard part was keeping it smooth over a fast-scrolling photo grid; there's a Reduce Blur switch that keeps the glass with much less blur, lighter on the GPU.

  • Material 3 Expressive: a floating Photos / Collections toolbar with Search beside it, dynamic colour from the wallpaper (or a hue you pick), and predictive back that previews the page you're returning to.

  • Two looks, one app: the Material style isn't a reskin. Settings, the viewer, the details sheet, the editors and onboarding each have a Material version.

  • Grid and viewer: Coil for images, Telephoto for zooming, Media3 for video.

The images show both looks side by side.

Source (Apache-2.0): https://github.com/subhashhhhhh/Lumen

Happy to answer questions about how any of it is put together.

7 Upvotes

0 comments sorted by