List sections are used quite a lot in Android through out Google's own applications and in some of the framework's features as well, i.e. preferences.

This made me wonder if there is an offical section View available in Android? If so, it seems to be hidden.

Here's a picture from the Android Design site that shows what I'm talking about:

enter image description here

有帮助吗?

解决方案

This made me wonder if there is an offical section View available in Android?

No, sorry. There are plenty of libraries for this, and you can probably grab some code out of AOSP for it as well, but there is nothing in the SDK for it. Just because the design folk think it is a good idea does not mean that we actually have code in the SDK to leverage such ideas.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top