无法使用TV(EPG-GUIDE)在电视中向下滚动 [英] Unable to scroll down in TV(EPG-GUIDE)Using TV Remote Down Button

查看:184
本文介绍了无法使用TV(EPG-GUIDE)在电视中向下滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1.我正在为该机顶盒开发一个电子程序指南(EPG)的android应用程序,随后是该项目 https://github.com/codessentials/android-tv-epg ."

1.I am Developing an android application as Electronic Program Guide(EPG) for set-top-box followed by this project https://github.com/codessentials/android-tv-epg."

2.我可以左右导航,从右向左导航(水平滚动)&还能看到焦点(左和右远程键导航),

2.I can able to navigate left to right,rigtht to left(Horizontal scroll) & able to see the focus also(Left & right Remote key navigation),

3.我无法从顶部导航到底部&从下到上,无法滚动&无法看到焦点,该视图已完全打开,因此焦点下降了,但我看不到.

3.I can't navigate Top to Bottom & Bottom to Top,unable to scroll it & can't see the focus,that view fully opened, so focus went to down but i can't see that.

4.如何从顶部滚动到按钮(向上和向下远程键导航)

4.How to scroll as Top to buttom(Up & Down Remote key navigation)

推荐答案

您可以检查列表用于Android用户界面小部件.要使用这些显式导航属性之一,请将其值设置为布局中另一个小部件的ID(android:id值).您应该将导航顺序设置为循环,以便最后一个控件将焦点引导回第一个.

You may check this documentation. The Android framework automatically applies a directional navigation scheme based on the relative position of focusable elements in your layouts. You should test the generated navigation scheme in your app using a D-pad controller. After testing, if you decide you want users to move through your layouts in a specific way, you can set up explicit directional navigation for your controls. Check the lists of all of the available navigation attributes for Android user interface widgets. To use one of these explicit navigation attributes, set the value to the ID (android:id value) of another widget in the layout. You should set up the navigation order as a loop, so that the last control directs focus back to the first one.

这篇关于无法使用TV(EPG-GUIDE)在电视中向下滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆