Android : 下拉一个没有微调器的项目列表
Android : drop down a list of items without a spinner
我是 Android 的新手,在组织用于检索数据的布局时我感到很困惑。
我希望能够在单击时在常规项目下方下拉其他项目的列表,并能够同时切换每个项目。我想通过从 string-array
:
中检索项目列表来正确地做到这一点
<string-array name="general1">
<item>ITEM 1</item>
<item>ITEM 2</item>
</string-array>
我不想使用微调器。
我很难看出如何解决这个问题。
请问有什么想法吗?
I want to be able to drop down below a general item a list of other
items when clicking on it and be able at the same time to switch each
one of them
我是 Android 的新手,在组织用于检索数据的布局时我感到很困惑。
我希望能够在单击时在常规项目下方下拉其他项目的列表,并能够同时切换每个项目。我想通过从 string-array
:
<string-array name="general1">
<item>ITEM 1</item>
<item>ITEM 2</item>
</string-array>
我不想使用微调器。
我很难看出如何解决这个问题。 请问有什么想法吗?
I want to be able to drop down below a general item a list of other items when clicking on it and be able at the same time to switch each one of them