悬停监听器是不是在android系统发射了 [英] On Hover Listener is not firing up in android
问题描述
我想在android系统上悬停听众打电话。我有一个相对布局图像按钮
,我做了一个布局的Android智能电视
的问题是:
当我用我的蓝牙鼠标进行导航,在 OnHoverListener
工作正常,但是当我使用智能电视的遥控器,没有任何反应。然后我检查了 onClickListener
,它好工作与两个遥控器,以及蓝牙鼠标。
我的问题是:
我怎样才能让 onHoverListener
通过电视机遥控器的工作呢?
OnFocusChangeListener()
为我工作
I am trying to call on hover listener in android. i have image buttons in a relative layout
and i am making a layout for Android Smart TV
The Issue IS:
When i use my Bluetooth mouse for navigation, the OnHoverListener
works fine, but when i use smart tv's remote control, nothing happens. i then checked the onClickListener
, it worked fine with both Remote control, as well as Bluetooth mouse.
My Question is:
How can i make the onHoverListener
work with the Tv remote control as well?
OnFocusChangeListener()
worked for me
这篇关于悬停监听器是不是在android系统发射了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!