Android 小部件的资源或名称是什么:TextView +圆圈
以下 Android 小部件的资源 (android.R....
) 或名称是什么?
它既不是 RadioButton
也不是 ExpandableList
。
What is the ressource (android.R.…
) or name of the following Android widget?
It is neither a RadioButton
nor an ExpandableList
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://www.kaloer.com/android-preferences 阅读此内容。如果您谈论的是“振动”设置屏幕,那么它就是 Android 设置菜单中的“首选项屏幕”。它允许您创建具有不同类型首选项的设置列表,例如 CheckBoxPreference、ListPreference、EditTextPreference 等。
使用的课程:
干杯
http://www.kaloer.com/android-preferences read this. If you are talking about the Vibration settings screen it is the PreferenceScreen in the android settings menu. It lets you to create a list of settings with different kinds of preferences such as CheckBoxPreference,ListPreference,EditTextPreference and so on.
Classes used :
Cheers
它应该是一个 ExpandableList,为什么这个定义是这样的:
http://developer.android.com/reference/android/widget/ExpandableListView.html 。
具体来说,这个视图在 android.R 中找不到,因为它不需要在那里。它只是一个应用于 ListView 的特殊项目,告诉用户该项目有要显示的子项目。
文档中的片段:
it should be an ExpandableList, why this very definition it is that:
http://developer.android.com/reference/android/widget/ExpandableListView.html.
Specifically this view is NOT found in the android.R because it doesn't need to be there. Its simply a Special Item that is applied to a ListView that tells the user that this item has children to display.
A snippet from the documentation: