Touch Mode备忘录
Do:
1).Remain consistent with the core applications
1). 与核心应用保持一致
2).Use the appropriate feature if you need persistent selection (radio button, check box, the ListView choice mode, etc.)
2). 若你需要连续的选择,则使用适当的特性(如单选,复选,列表选择等)
3).Use focusable in touch mode if you write a game
3). 若你在编写游戏应用则应在Touch Mode中使用focusable特性
Don't:
1).Do not try to keep the focus or selection in touch mode
1).不要在Touch Mode中尝试保持选中状态
Do:
1).Remain consistent with the core applications
1). 与核心应用保持一致
2).Use the appropriate feature if you need persistent selection (radio button, check box, the ListView choice mode, etc.)
2). 若你需要连续的选择,则使用适当的特性(如单选,复选,列表选择等)
3).Use focusable in touch mode if you write a game
3). 若你在编写游戏应用则应在Touch Mode中使用focusable特性
Don't:
1).Do not try to keep the focus or selection in touch mode
1).不要在Touch Mode中尝试保持选中状态
详细解释请见:http://developer.android.com/resources/articles/touch-mode.html
TouchMode编程指南:如何保持应用一致性与高效选择
本文提供了在TouchMode下保持应用一致性与高效选择的实用技巧,包括如何使用适当的特性进行连续选择、编写游戏应用时的focusable使用注意事项,以及避免在TouchMode中保持选中状态的方法。详情请参阅开发者文档。
594

被折叠的 条评论
为什么被折叠?



