EARHORNMUSIC UPnP · Android TV · Phones · Android Auto · GNU/Linux
Release 0.5.0

Layout.kt

16 lines · 653 bytes

Changed in: 0.5.0

1package dev.stave.ui.theme
2
3import androidx.compose.ui.unit.dp
4
5/**
6 * Standard screen-edge padding. Android TV's overscan guideline is 5% of width
7 * minimum, ~48dp on a 1920dp viewport. 32dp is below that — the user accepted
8 * the trade because they want the real estate back on their 65" TV and this
9 * isn't guaranteed to be publicly released. If that changes later, bump back
10 * to 48dp here and every screen gets the wider safe zone in one edit.
11 */
12val ScreenPaddingHorizontal = 32.dp
13
14/** Vertical companion — same rationale, keeping the ratio roughly similar to
15 * the prior 40/80 relationship (50%). */
16val ScreenPaddingVertical = 24.dp