在 Android 中,如何创建电子表格类型的视图
我需要创建一个 14 列宽、无限列高的视图。列表视图中的水平滚动视图将是完美的,但所有评论都说永远不要这样做。无论如何我都尝试过,但它从来没有正常工作过。
谁能告诉我一种方法来实现这一目标?
谢谢
I have a need to create a view that is 14 columns wide by unlimited columns high. A horizontal scroll view within a list view would be perfect, but all the comments say to never do this. I tried anyway and it never worked properly.
Can anyone show me a way to accomplish this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您阅读这个问题/答案:
ScrollView Inside ScrollView
它包含两个警告关于您正在承担的风险以及您决定应对这些风险的解决方案!
我通过实现自定义视图解决了这个问题(不会产生可能的问题)。
I suggest you to read this question/answer:
ScrollView Inside ScrollView
it includes both a warning about the risks that you are taking and a solution if you decide to cope with them!
I've solved this problem (without incurring in the possible problems) by implementing a custom view.