gpt4 book ai didi

android - 水平滚动网格列表?

转载 作者:太空宇宙 更新时间:2023-11-03 10:25:49 25 4
gpt4 key购买 nike

这里有很多关于水平滚动 GridView 的问题。一些答案导致一些自定义类设法做到这一点,但谷歌明确指出有一种标准方法可以做到这一点。他们有 an entire page about it in their Design section: Grid Lists .此页面说明了水平滚动的网格,并强烈暗示这是正常的、受支持的行为(应该如此)。他们详细介绍了何时使用它。不幸的是,他们忽略了如何去做。我整天都在搜索以找到一个示例,说明如何使用 GridView 或任何其他标准 Android UI 类来完成此操作,无论 SDK 版本如何。他们的文件有错吗?这个页面指的是什么?

最佳答案

yet Google clearly indicates there a standard way to do this

不,他们没有。

They have an entire page about it in their Design section: Grid Lists.

他们在设计部分提供了 Android SDK 中没有开箱即用的实现的 Material 。其他示例包括 drawer , 一些 gestures , 和 section headings in lists .

Is their documentation wrong?

它是设计文档。就此而言,要求水平滚动 GridView 的设计并不是“错误”的。 Android SDK 不提供一个这一事实——至少在撰写本文时——并不排除有人创建一个。

What is this page referring to?

网格。

关于android - 水平滚动网格列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12807964/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com