AmazonAppDev / react-native-multi-tv-app-sample

πŸ“ΊπŸš€ React Native TV app sample for Android TV, Fire TV, tvOS, and web. Features customizable drawer navigation πŸ—‚οΈ, content grid πŸ–ΌοΈ, hero header πŸ¦Έβ€β™‚οΈ, and video player πŸŽ₯. Built with Expo. Perfect starter for cross-platform TV app development! 🌟
MIT No Attribution
88 stars 14 forks source link

Position all the Screens in the Safe Zone #21

Open giolaq opened 1 week ago

giolaq commented 1 week ago

Is your feature request related to a problem? Please describe.

Some TVs are subjected to Overscan, which can cause UI elements positioned near the edges of the screen to be partially or fully cut off.

Describe the solution you'd like Position all UI screens in a Safe area

Test the implementation using the Safe Zone feature of Fire TV (https://developer.amazon.com/docs/fire-tv/developer-tools.html#safezone).

chris-trag commented 1 week ago

@giolaq what's the ideal format you want (mockup, code updates) Overall comp updates then I edit the props for positioning etc? I'm assuming since we're not using a standard template there's not an overall option to bump in safesones to a screen element

giolaq commented 1 week ago

Mockup is a good start. You can attach them here for reference. Wrapping all the UI around a 5% padding the screen seems reasonable. Still have to be tested across at least 3 platforms, Android TV/Fire TV, tvOS, web. Closing this issue when we have the PR implementing this