首页
表示下拉列表的组件是()。
精华吧
→
答案
→
慕课
→
未分类
表示下拉列表的组件是()。
A.Gallery
B.Spinner
C.GridView
D.ListView
正确答案:ListView
Tag:
Android开发
组件
列表
时间:2022-01-14 14:37:00
上一篇:
下列关于ListView使用的描述中,错误的是()。
下一篇:
Spinner相关属性中“android:dropDownWidth;”时设置什么的()。
相关答案
1.
下面实现ListView条目点击事件的方法是()。
2.
列表的显示需要3个元素:ListView、适配器和()。
3.
关于ListView的说法错误的是哪一项()。
4.
关于ListView下列说法正确的是()。
5.
Intent(意图)主要是解决Android应用的各项组件之间的通讯。
6.
在数据传递时,如果需要获取返回的数据,需要使用onActivityResult()方法。
7.
Activity默认的启动模式是singleTop模式
8.
Intent可以用来开启Activity,同样它也可以用来在Activity之间传递数据。
9.
Activity是Android应用程序的四大组件之一。
10.
Activity在AndroidManifest.xml文件中进行注册后就不能进行修改了。
热门答案
1.
Activity不是Context的子类。
2.
通常一个应用程序对应一个任务栈,默认情况下每启动一个Activity都会入栈,并处于栈顶位置。
3.
Android中Intent传递类对象提供了两种方式一种是通过实现Serializable接口传递对象,一种是通过实现Parcelable接口传递对象。
4.
当Activity处于运行状态时,Android会尽可能地保持它的运行,即使出现内存不足的情况,Android也会先杀死栈底部的Activity,来确保可见的Activity正常运行。
5.
使用Intent不能传递Parcelable类型的对象。
6.
Activity在运行状态时处于屏幕最前端,它是可见、有焦点的,可以与用户进行交互。
7.
当用startActivityForResult启动activityB时,可以在onActivityResult方法接收activityB回传的数据。
8.
使用AndroidStudio创建Activity时,会在AndroidManifest.xml文件中自动进行注册。
9.
standard是Activity默认的启动模式,在不指定Activity启动模式的情况下,所有Activity使用的都是standard这种模式。
10.
在目标Activity中,通常使用setResult方法设置返回数据。