Repository navigation
The now playing bar is now a pane of glass tinted by the artwork. This release moves to compose-popupbar 0.2.0 and turns its new backgrounds into Config.kt switches.
What changed
- Artwork-tinted glass: the bar and the expanded player are one translucent pane over the station list, tinted with the dominant colour of the current station's artwork, and the list shows through as blurred colour. The colour comes from AndroidX Palette, read once per artwork out of Coil's cache at thumbnail size. The previous colour stays while the next one loads, so a station change never flashes the glass back to plain.
- Background as a switch:
Config.popupBackgroundpicksOpaque(the 1.2.0 card),Translucent(untinted glass),TranslucentAppTint(the theme's primary colour),TranslucentCoverTint(the artwork colour, the default) orArtwork(the artwork itself, blurred, behind the bar and the player). - Bar style and progress strip as switches:
Config.popupBarStyle(Floating,FloatingCompact,Prominent,Compact) andConfig.popupProgressStyle(None,Top,Bottom) replace the values that lived inMainActivity.kt. - Black band at the bottom fixed: the About screen kept a strip of plain background above the navigation bar while the station list ran edge to edge. The page now scrolls under the gesture area like the list, and only its end clears the inset.
- README: the screenshots show the glass, in a device frame.
For forks
Pull the tag and rebuild. Config.kt gains three switches, so a customised Config.kt needs a three-line merge. NowPlayingScreen takes a paintsBackground flag: it stays transparent when the host paints the glass and paints its own background only under Opaque. ArtworkTint.kt is new, and palette-ktx joins the version catalog. Your stations.json and theme are untouched.