机器人:什么是重点,启用,pressed,并入选国家之间的区别是什么? [英] android: what is the difference between focused, enabled, pressed, and selected states?
问题描述
我看了看<一href="http://developer.android.com/reference/android/view/View.html">http://developer.android.com/reference/android/view/View.html找出差异,但无法理解了。我只是部分地理解了选择状态。
I looked at http://developer.android.com/reference/android/view/View.html to figure out the differences but could not understand much. I only partly understood the "selected" state.
有人可以解释一些固体的例子有什么不同?我希望我的问题不是很含糊。如果是这样,这将是巨大的,如果有人可以帮助我提高,因为我不知道该怎么问它更清楚。
Can somebody explain the differences with some solid examples? I hope my question is not very vague. If it is, it would be great if somebody helps me to improve it because I don't know how to ask it more clearly.
感谢你在前进。
推荐答案
已启用 - >用户交互成为可能。
Enabled -> User Interaction possible.
禁用 - >用户交互不可能
Disabled -> User interaction not possible.
- 如果您通过小部件悬停鼠标,它的聚焦
- 如果你犯了一个preSS-下降(半点击)上的小部件,它的 pressed
- 如果您preSS-下来,preSS-了,而鼠标是在同一位置,它的选择
- if you hover the mouse over a widget, it is focussed
- If you make a press-down (half click) on that widget, it is pressed
- If you press-down and press-up while the mouse is at the same position, it is selected
这篇关于机器人:什么是重点,启用,pressed,并入选国家之间的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!