Skip to content

Landscape layout for car tablets: navigation rail and side player - #1

Open
str0ng4le wants to merge 4 commits into
masterfrom
car-tablet-landscape
Open

str0ng4le wants to merge 4 commits into
masterfrom
car-tablet-landscape

Conversation

@str0ng4le

@str0ng4le str0ng4le commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Landscape layout for car tablets.

When the window is wider than it is tall and at least 560dp wide (measured after the app's UI scale):

  • Navigation rail: a vertical bar with labelled icons, at standard Material sizes, replaces the bottom navigation bar.
  • Full-height content: station lists and grids are no longer covered by the mini player.
  • Side player (SidePanelPlayer): a column on the right that stays visible while a station is selected, with centred artwork and text and playback controls (72dp play, 44–48dp for the others). The recent-tracks list is shown when there is enough height and hidden below 480dp, so the controls always stay fully visible. Removing a favourite asks for confirmation, as in the full player.

Portrait and narrow windows, such as split screen next to a navigation app, keep the existing layout.

The README's Dynamic UI Scaling entry now mentions landscape support.

@str0ng4le str0ng4le closed this Nov 2, 2026
@str0ng4le str0ng4le reopened this Nov 2, 2026
@str0ng4le
str0ng4le force-pushed the car-tablet-landscape branch from 76ec5a1 to 4684cbb Compare November 2, 2026 16:55
@str0ng4le str0ng4le changed the title Layout orizzontale per tablet da auto: barra laterale e player fisso Landscape layout for car tablets: navigation rail and side player Nov 2, 2026
When the window is wider than it is tall and at least 560dp wide
(measured after the app's UI scale), MainScreen switches to a wide
layout:

- a NavigationRail with labelled items replaces the bottom navigation
  bar;
- station lists and grids use the full height, without the mini-player
  overlay;
- a new SidePanelPlayer column on the right stays visible while a
  station is selected, with centred artwork and text, playback controls
  and the recent-tracks list when there is enough height (hidden below
  480dp so the controls stay fully visible).

Portrait and narrow windows keep the existing layout.
- NavigationRail items use the standard Material sizes (24dp icons, no
  extra vertical padding).
- SidePanelPlayer controls: play 96 -> 72dp, previous/next 64 -> 48dp,
  favourite 56 -> 44dp, with icons scaled accordingly.
@str0ng4le
str0ng4le force-pushed the car-tablet-landscape branch from 4684cbb to 8893edd Compare November 2, 2026 17:02
@str0ng4le
str0ng4le force-pushed the car-tablet-landscape branch from 8893edd to 20ce233 Compare November 10, 2026 21:27
Same confirmation dialog as FullPlayer (ounben#156): tapping the filled star
asks before removing the station from the favourites.
@str0ng4le
str0ng4le force-pushed the car-tablet-landscape branch from 20ce233 to 629ecbe Compare November 10, 2026 22:35
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