android - 仪表板模式 : HorizontalScrollView with pagination or ScrollView?

标签 android dashboard

我正在开始一个新的应用程序,我愿意使用 Dashboard pattern .

例如:Google IO app使用它:

alt text

我的问题是按钮的数量会超过六个。 我不确定我应该使用垂直滚动还是水平滚动。

垂直滚动可以使用 ScrollViewGridView 来完成,但我不确定哪种方式更容易实现水平滚动。

我正在考虑使用 Horizo​​ntalScrollView 但它没有分页功能。它应该与 tweetdeck 应用程序相似。

你会如何实现它?

最佳答案

My issue is that the amount of buttons will be more than six. I'm not sure if I should use vertical or horizontal scrolling.

恕我直言,两者都不做。减少按钮的数量。观看关于此设计模式的 2010 年 Google I|O 演示——仪表板背后的要点是仅显示几个项目。

关于android - 仪表板模式 : HorizontalScrollView with pagination or ScrollView?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4628402/

相关文章:

dashboard - 如何在CDE仪表板sql查询中获取正确的参数值?

wordpress - 除非管理员,否则无法访问 WordPress 仪表板

android - 使用 jpm-mobile 在 Android 上运行 Firefox 插件

javascript - 使用 AngularJS 1.4 像 Replaceable Tiles 一样开发 Windows?

android - Netty 在 android-x86 上抛出 java.nio.channels.ClosedSelectorException

java - 为什么无法将 editView 内容传递给方法?

c++ - 使用 CXX 社区插件在 Sonarqube-5.6.6(LTS) 中导入 Gcov 报告

ruby-on-rails - 应用程序仪表板 View 逻辑

android - 无需UI的Activity编写可维护的代码

android - WRAP_CONTENT 不是不包裹 android 中的 ListView 宽度