Wholphin/app/src
Justin Visser 8ff97daf44 Display size page polish: tick-slider control, typography lock, richer preview
Settings panel layout flipped: preview now occupies the left two-thirds
of the page (nav rail at the natural app-left position), settings panel
sits on the right at 300dp wide. Mirrors the real home-screen layout
so the preview reads as a true reflection of what the user will see.

Replaces the popup ChoicePreference selector with an inline tick-slider
per control. Each slider is a chunky 24dp rounded track using
surfaceVariant for the inactive background and primary for the thumb;
the thumb is a rounded pill that snaps to one of four slot centers and
fills 88% of the track height. D-pad LEFT/RIGHT cycles slots within the
focused control; UP/DOWN moves between controls. Selection commits on
focus change so the preview updates without an extra Enter press.

Wraps the settings panel in a nested MaterialTheme using the unscaled
AppTypography (both tv.material3 and compose.material3 flavors) so the
panel's own labels stay at base size regardless of the Text size level
the user picks. Without this nesting the panel chrome reflowed under
the user's fingers as they cycled levels.

Preview now uses SlimItemFields when fetching, so the Overview text
populates on the hero. Episodes row is rendered first (matching the
real home-screen ordering) so the hero defaults to an episode item,
which exercises the full hero surface (title + episode name + overview
+ quick details). TimeDisplay is drawn over the preview area when the
user's showClock preference is enabled.

Text-size jumps are tuned wider: ExtraSmall 84% (was 88), Small 92%
(was 94), Large 116% (was 108). Default stays at 100%. The hand-mapped
sp lookup is regenerated for these percentages.

scaledSp falls back to integer-rounded formula math instead of throwing
on unmapped base sp values, so the helper is safe to call from any
fontSize site without first extending the table.
2026-05-28 13:41:54 +02:00
..
androidTest/java/com/github/damontecres/wholphin/test Fix issues when the system kills the app during playback (#1116) 2026-03-18 18:09:13 -04:00
appstore Dev: use build product flavors for app store release (#1205) 2026-04-06 15:24:20 -04:00
debug/res/values Dev: use build product flavors for app store release (#1205) 2026-04-06 15:24:20 -04:00
main Display size page polish: tick-slider control, typography lock, richer preview 2026-05-28 13:41:54 +02:00
test Scale hardcoded fontSize sites by Text size level 2026-05-28 12:49:55 +02:00