Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个一半 imageView 和一半 listView 的布局。在占据整个布局之前,我只创建了 listViews。这是否意味着我必须扩展活动或列表活动?
是的,ListActivity因为您仍在使用列表,所以这里会首选A。您仍然可以使用 a 对图片进行更改,ListActivity就像您可以正常操作一样Activity
ListActivity
Activity