ui: scroll the library tab strip and explain offline mode

The tab bar measured the selected tab's full label before the trailing
controls, so a long translation or a large font scale squeezed the
settings gear and eventually removed it, and an indicator in the bar
made that happen sooner. Put the tabs in a weighted, horizontally
scrollable strip and keep the gear outside it, then scroll the selected
tab into view when the pager settles, in either layout direction.

Move the offline indicator out of the bar into a strip above the tabs
that names the mode and offers to go online. Offline mode limits every
list, and Home already swaps to downloaded content without saying why;
an icon in the bar could not explain that and competed for the same
width.
This commit is contained in:
austinried
2026-10-21 10:14:10 +00:00
parent aca2bd4be2
commit 47787182d0
3 changed files with 314 additions and 60 deletions
+2 -1
View File
@@ -175,7 +175,8 @@
<string name="filters">Filters</string>
<string name="filter_downloaded">Downloaded</string>
<string name="close_search">Close search</string>
<string name="offline_mode_status">Offline mode; tap to go online</string>
<string name="offline_mode_banner">Offline mode — downloads only</string>
<string name="offline_go_online">Go online</string>
<string name="shuffle_artist">Shuffle artist</string>
<string name="status_playing">Playing</string>