mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
fix(tv): adjust hero height fraction for better layout on TV screens
This commit is contained in:
@@ -33,7 +33,7 @@ internal const val TvHomeHeroProgressLabelTag = "tv-home-hero-progress-label"
|
|||||||
private const val TvHomeHeroAnimationMillis = 180
|
private const val TvHomeHeroAnimationMillis = 180
|
||||||
// Half the screen for the billboard, half for the content rows. Tuned so both
|
// Half the screen for the billboard, half for the content rows. Tuned so both
|
||||||
// the hero block and the first focused row fit on a 540dp-tall (1080p xhdpi) TV.
|
// the hero block and the first focused row fit on a 540dp-tall (1080p xhdpi) TV.
|
||||||
internal const val TvHomeHeroHeightFraction = 0.5f
|
internal const val TvHomeHeroHeightFraction = 0.45f
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
internal fun TvFocusedItemHero(
|
internal fun TvFocusedItemHero(
|
||||||
|
|||||||
Reference in New Issue
Block a user