How Shell is Optimized for TV
the beauty of xamarin.forms is that it provides a consistent api for creating cross-platform applications. when it comes to tizen, this advantage includes creating a cross-device application. tizen supports multi-device form factors such as tv, mobile, and family hub. each of these device profiles has a different screen size, resolution and even a different ux. a xamarin.forms application running on tizen looks suitable on each of these target profiles. this post describes how we have made shell suitable for tizen tv. shell is one of the main features of xamarin.forms that helps developers reduce the complexity of their application development. we would like to bring this giant shell experience into the tv application development. following picture shows how the sample app xaminals is running on tizen tv. shell is designed for mobile devices which means it is operated by the user's touch and gesture. however, on a tv, users have to use the remote controller to navigate the application, which uses limited movements like up, down, left, and right. therefore, the user cannot directly press the desired ui control, such as a button. sometimes it may feel difficult navigating the focus if the application is not designed intuitively. in addition, unlike the vertical display on mobile devices, a tv is horizontal. this causes other issues, such as the title bar on the top of the tv screen taking up too much space. for this reason, an optimized ux is required for tv so the user can easily navigate to all controls using the remote controller. in a similar case, we have a precedent of optimising shell for a watch profile (see shell on galaxy watch). shell on samsung tv this picture shows how the shell ui looks on a samsung tv. the most noticeable difference is that the title bar on top has been removed from the screen. flyout is always visible on the left side of the screen to reduce using unnecessary space and imply to the user that they should move the focus to the left to open flyout. flyout flyout always shows on the far left of the screen instead of having a specific button to show flyout. flyout is minimized while the user is browsing the shellcontent area. the user can open flyout by moving the focus to the left using the remote controller or changing the ispresented property to true in the code . tabs bottom tabs : unlike mobile, there is no bottom tabs on a tv. therefore, tab items will not be displayed on flyout, if flyoutdisplayoptions value is set to assingleitem. note: if the developer wants to show all tab items on flyout, the option value should be set to asmultipleitems. top tabs : if a flyoutitem or tab item contains one or more shellcontent items, another navigation drawer is shown on the left side of the shellcontent area. unlike flyout, the second navigation drawer is not minimized while the user is browsing the content, because it is included within the shellcontent. these two drawers provide an easy and consistent navigation ux. the user can use the left and right buttons to move between navigation drawers and content area, and use the up and down buttons for browsing items in the drawers. you can try this optimized shell for tv with xamarin.forms 5.0.1.2023-nightly or later nightly builds. (see xamarin.forms nightly builds). and it will be included in the next release of xamarin.forms soon. we would love to hear your feedback. our e-mail(tizen.net@samsung.com) is always open. you can also ask questions in the samsung developers forum or the tizen.org forums.