我想问一下,使用TabLayout进行电视应用是否是一种推荐的导航方式? 我使用tablayout的原因是,在我的应用程序中,我从服务器接收频道,并且频道属于不同的类别
I would like to ask if using TabLayout for TV apps is a recommended way for navigation or not ? The reason why I am using tablayout is that in my app i receive channels from a server and the channels belong to different categories
最满意答案
使用TabLayout进行电视不是一个好主意。 即使它在Android TV上支持,用户体验外观也不是那么好。 它适合更大的屏幕,而不是提供Cinematic体验。
对于电视体验,Google创建了一个Leanback支持库,其中包含支持在电视设备上构建用户界面的API。 要显示按类别分组的不同频道,您应该使用BrowserFragment。 它由RowFragment和HeaderFragment组成。
有关电视设计指南行的更多详细信息:
适用于Android TV的Google设计指南系列 适用于Android电视设计信息的YouTube APPUsing TabLayout for TV is not an good idea. Even though It supports on Android TV the user experience look was not so good. It is out fit for bigger screens and not give the Cinematic experience.
For TV experience, Google has created a Leanback Support Library which contains APIs to support building user interfaces on TV devices. To Show different channels grouped up in to categories - you should use BrowserFragment. It is composed with RowFragment and HeaderFragment.
For More Details for TV Design Guide lines:
Google Design Guide Line for Android TV YouTube APP for Android TV Design Information更多推荐
tablayout,TabLayout,using,电脑培训,计算机培训,IT培训"/> <meta name="des
发布评论