Android的ListView控件:鼠标悬停动作 [英] Android ListView: mouseover action
本文介绍了Android的ListView控件:鼠标悬停动作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是新来的Android应用程序的开发。
I am new to Android application Development.
我怎么能确定一个列表框的鼠标悬停动作?在鼠标移到特定的细胞的我想强调的是细胞或改变背景颜色。
How can I identify the mouseover action for a list box? On mouse over of a particular cell I want to highlight that cell or change the background color.
请帮我对此。
推荐答案
有没有鼠标悬停在Android的一个概念,至少有一个,我知道的 - 用户交互是通过硬件/虚拟键盘和触摸屏完成
There isn't a concept of MouseOver in Android, at least one that I know of - user interaction is done through hardware/virtual keyboard and touchscreen.
ListView控件自动突出显示当前选择,所以当你使用上下键DPAD,你可能会得到你想要的效果。
ListView automatically highlights the current selection, so when you use the up and down DPad keys, you may get the effect you want.
这篇关于Android的ListView控件:鼠标悬停动作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文