Skip to content

Car tablet landscape - #157

Merged
ounben merged 4 commits into
ounben:masterfrom
str0ng4le:car-tablet-landscape
Nov 11, 2026
Merged

ounben merged 4 commits into
ounben:masterfrom
str0ng4le:car-tablet-landscape

Conversation

@str0ng4le

Copy link
Copy Markdown
Contributor

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.

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.
Same confirmation dialog as FullPlayer (ounben#156): tapping the filled star
asks before removing the station from the favourites.
@ounben ounben self-assigned this Nov 11, 2026
@ounben ounben added the enhancement New feature or request label Nov 11, 2026
@ounben ounben added this to the November Release milestone Nov 11, 2026
@ounben

ounben commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Thanks for your Pull Request.

I read through the code and will test it when I am at home. I am in the final steps for the recording function and will make a Release 1.48 before I probably merge this in Version 1.49.
Landscape mode was not my priority and I am glad that you made the effort to solve it.

Ben

@ounben
ounben self-requested a review November 11, 2026 15:22
@ounben ounben added the Android Auto Android Auto label Nov 11, 2026
@ounben
ounben merged commit 025b3f9 into ounben:master Nov 11, 2026
@ounben

ounben commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Missed the new record button -> d2a6bdd

Font Size and color for artist and track ( white instead grey) will be different when I fix this issue:
Full screen player: make track and artist info more visible? #155

Tablet
Screenshot_20261111_170636

Smartphone
Screenshot_20261111_182641

@ounben ounben left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing record button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Android Auto Android Auto enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants